Commit Graph

509 Commits

Author SHA1 Message Date
957577479f Rewrite figure shortcode calls
See BBaoVanC/bobatheme#87
2025-07-27 03:58:10 -05:00
66145f7b2c Rename _build frontmatter key to build due to deprecation
The error:

WARN  deprecated: The "_build" front matter key was deprecated in Hugo 0.145.0 and will be removed in a future release. Use "build" instead. See https://gohugo.io/content-management/build-options.
2025-07-27 00:41:37 -05:00
ef8e1e248e edit: Put entire instructions inside deprecated warning box
Fixes #32
2025-07-27 00:14:08 -05:00
a538eb33af edit: Rewrite it to be clearer that you shouldn't follow the instructions 2025-07-06 20:12:36 -05:00
62eabcfbb2 Update twitter tags to show site and page authors 2025-07-05 02:15:42 -05:00
9c85a67e22 Prevent accidentally wiping the entire demo or staging environment [skip ci] 2025-07-05 01:33:04 -05:00
28b6261475 Remove pull request preview workflows
Not really a secure way to do this currently.

See #31 to fix this.
2025-07-05 00:58:55 -05:00
3c6683bf49 Add version.txt
Could be used in the future for #30
2025-07-05 00:57:32 -05:00
0542cdfea4 bobatheme: Change <title> on author's page
Makes /authors/github-copilot title not be the same as the tag
2025-07-04 15:54:31 -05:00
4ea1fa4650 bobatheme: Revert adding height and width to <img>
BBaoVanC/bobatheme@cc7cec07df
2025-07-03 20:23:18 -05:00
865a71043c bobatheme: Set height and width on img tags
Prevents layout shifts on page load
2025-07-03 18:57:52 -05:00
be5229b963 post: Change subtitle to be more concise 2025-07-02 21:10:03 -05:00
8625e8ddce Hide extra zstd output messages from compress.sh 2025-07-02 19:35:59 -05:00
a3b5ce6ebd Add pagefind executable download to deploy workflow
Forgot to include it
2025-07-02 02:33:30 -05:00
e91a62ee18 Add search page using Pagefind
Updates #79. Still a bit rough but it works.
2025-07-02 02:14:42 -05:00
d450249171 Use separate dirs for building in demo.sh and staging.sh [skip ci]
Otherwise if you happen to be using `hugo serve` at the same time, it
overwrites stuff and messes up your live preview until you rebuild
(restart the hugo serve server)
2025-07-02 02:13:44 -05:00
86a03a676a Reform build scripts and actions workflows to reduce duplication
- Create audit.sh to hold all the audit related code
- Call compress.sh directly in build.sh
  - remove need for calling compress.sh in GitHub workflows
- Time each stage of compress.sh (each format) separately
- Run audit before staging or demo uploads
2025-07-01 18:49:34 -05:00
beba67ffbd WIP: add comments counter
Will finish it later, maybe depends on #82 because I don't see a good
speech bubble icon.
2025-07-01 03:20:37 -05:00
a7b1002e19 Use build.sh to share build code across all workflows and scripts
Instead of repeating the big long hugo commands every time
2025-07-01 03:18:12 -05:00
7851b864e2 Remove share-event.js placeholder inside bobatheme
If I remember correctly, it was there because I couldn't get global
resources to work right inside the bbaovanc.com repo so I just called it
inside the theme instead.
2025-07-01 00:53:25 -05:00
4d1542a242 Rename layouts/partials to layouts/_partials (Hugo 0.146) 2025-07-01 00:50:53 -05:00
88b5648a15 Fix __hugo_ctx error appearing from include shortcode
https://discourse.gohugo.io/t/weird-hugo-ctx-pid-34-inside-rendershortcodes/55176
2025-06-29 16:20:30 -05:00
8a8a35f6e5 Switch to improved snippet include shortcode
See BBaoVanC/bobatheme@67ac36e9e2
2025-06-29 03:54:22 -05:00
612d3b6c4f Pin Hugo to specific release on actions workflows 2025-06-28 03:23:32 -05:00
457b1c34cf Revert "test change"
This reverts commit 2016c34155f04f508d7a113892583c7dc71a75ae.

Accidentally merged it.
2025-06-28 03:04:47 -05:00
d23016b564 Add workflow to compare changes in rendered website
Mostly copied from the old Lighthouse auditing workflow code, but
updated upload-artifact from v3 to v4.
2025-06-28 03:02:00 -05:00
85f77c26de Rename Tinkering category to Experiments 2025-04-20 05:05:08 -05:00
3f3a60c3fc Update descriptions on taxonomy pages 2025-04-20 04:59:57 -05:00
61b31bfa63 Reorder projects list; update plausible link away from start page 2025-04-20 04:52:38 -05:00
6a7a253ea5 Update bobatheme (fixes for Hugo 0.146.0)
Also diffed the latest public deployment on my server and the only
change is the version, and the <time> tags use timezone names instead of
UTC offset numbers now.
2025-04-20 04:35:38 -05:00
6149d38e61 Re-enable discord sex hack page from being listed, and in sitemap
Turns out this option also prevents it from displaying in sitemap.xml.
2025-01-25 02:59:33 -06:00
159bd4b61d Update copyright year to 2025 2025-01-13 20:49:58 -06:00
2a5452858b Add audit grep for YUZSIQGHE (main block fallback in baseof.html) 2025-01-13 20:49:58 -06:00
e80970da7f Add zstd compression 2024-12-13 23:06:44 -06:00
e8368fd7cb Replace table shortcode with markdown attributes 2024-11-15 17:26:07 -06:00
7523df569c Add markdown output (BBaoVanC/bobatheme#56)
Allows viewing raw markdown code via a button on page, which is linked
to `[slug].md`.
2024-10-01 13:31:12 -05:00
20e69d482b Replace paginate with pagination.pagerSize in hugo.yaml 2024-09-24 21:18:41 -05:00
e1b6026aea Replace .Site.BaseURL with hugo.IsServer for enabling analytics
Seems like .Site.BaseURL had its logic changed somewhere along the road,
so it doesn't match anymore without trailing slash. Instead use a less
flimsy detection method which says if Hugo is running as development
server or not.
2024-09-24 21:18:16 -05:00
615547c525 Upgrade bobatheme 2024-09-24 21:18:16 -05:00
9e7be7afa3 Replace relative ref link
Not sure why this randomly stopped working, maybe some
non-backwards-compatible change in Hugo that I am not aware of.
2024-06-28 16:40:34 -05:00
55623221f1 Clarify a few details about how math challenge works 2024-06-28 16:37:15 -05:00
36eaa2b145 Remove a few extraneous tags 2024-01-22 21:13:59 -06:00
9e0c03b0db Change Software category to Reviews & update bobatheme 2024-01-22 20:53:13 -06:00
744a131b61 Update copyright year 2024-01-03 19:54:36 -06:00
19cb929ae9 Update bobatheme - update syntax CSS 2023-12-01 20:08:41 -06:00
b811714ca5 Update bobatheme - fix selecting code line numbers in Safari 2023-12-01 19:58:53 -06:00
508b0f6837 Fix heading levels in CONTRIBUTING.md [skip ci] 2023-11-15 11:39:41 -06:00
eac66611df Revert "Move comments CSS to <head>"
This reverts commit 7a1bf6c19c.

Turns out this doesn't work for some reason.
2023-11-11 20:49:02 -06:00
7a1bf6c19c Move comments CSS to <head> 2023-11-11 20:43:34 -06:00
0f4db51ba7 Clarify licensing
Website code is MIT; only the content is CC. Also change license from
CC BY to CC BY-SA.
2023-11-11 20:39:34 -06:00