Jimmy Cai
9a4ee4fc33
fix: update Go module path to include /v4.
2026-01-26 22:54:42 +01:00
Jimmy and GitHub
0f33b3efb7
feat: add collapsible table of contents for smaller screens ( #1245 )
...
* refactor: create partial/article/components/toc
* feat: add collapsible table of contents for smaller screens
2026-01-26 22:28:27 +01:00
Jimmy and GitHub
3a03d69502
refactor: move default parameter values from template logic to params.toml ( #1244 )
2026-01-26 15:50:18 +01:00
Jimmy Cai
3b753c9cc0
release: prepare for v4.0.0
2026-01-26 14:20:10 +01:00
Jimmy and GitHub
f646097afe
doc: update demo links in README
...
Removed bullet points from demo links in README.
2026-01-26 14:15:46 +01:00
Jimmy and GitHub
258a71e21a
fix: mobile menu glitch on collapsing ( #1243 )
2026-01-26 14:13:16 +01:00
Jimmy and GitHub
a069e975aa
style: remove extra margin in article description ( #1242 )
2026-01-26 13:52:10 +01:00
Jimmy and GitHub
211bf65153
feat: better demo site ( #1241 )
...
* demo: add image-gallery post
* demo: change language weight
* demo: add multilanguage about page
* demo: change title and url
* demo: add shortcode documentation with multi-language support
* demo: improve markdown guide post
* demo: improve Math Typesetting post
* demo: rename Markdown Syntax Guide post
* demo: remove emoji support post
* demo: remove placeholder text post
* demo: remove rich-content post
* demo: rename image gallery page bundle
* demo: add multilingual `Documentation` category
* demo: Increase pagination pager size from 3 to 5.
* demo: add multilingual links, search, and archives pages
* demo: remove `ar` from demosite
2026-01-26 13:49:47 +01:00
Jimmy
0542fed42e
fix: avoid site name appearing twice in the title ( #1240 )
2026-01-26 11:19:05 +01:00
Jimmy Cai
b1c5986b2f
style: fix <select> padding in iOS Safari
2026-01-26 00:13:36 +01:00
Jimmy and GitHub
fe7a0566df
style: remove vendor style of <select> in i18n switch ( #1238 )
...
This removes the annoying left padding
2026-01-26 00:03:27 +01:00
Jimmy and GitHub
35cba14cde
feat: if current page has i18n version, language switcher will redirect to there instead of homepage ( #1237 )
...
feat: if current page has i18n version, language switcher will redirect to there
2026-01-25 23:55:50 +01:00
Jimmy Cai
d002c0d0d9
refactor: also remove image resize logic in search.json
2026-01-25 23:44:47 +01:00
Jimmy and GitHub
ae0de75992
refactor: remove Vibrant.js ( #1236 )
...
* refactor: migrate image color extraction from client-side JavaScript to server-side Hugo.
* fix: check if image exists before accessing .Resource
2026-01-25 23:42:28 +01:00
Jimmy and GitHub
067bcdb370
refactor: image handling logic + support for external images ( #1235 )
...
* refactor: simplify image partial logic, remove generation of different image sizes
* Remove `defaultImage.opengraph` configuration from `params.toml`.
2026-01-25 23:29:41 +01:00
Jimmy and GitHub
b1ddad1d22
feat: upgrade to PhotoSwipe v5 ( #1233 )
...
* refactor: migrate external resource definitions from YAML to TOML format
* feat: upgrade to PhotoSwipe v5
2026-01-25 23:13:34 +01:00
Jimmy and GitHub
9d9ecc4d00
fix: error when no page is found ( #1234 )
2026-01-25 23:12:28 +01:00
Jimmy and GitHub
5f1ab2bc76
refactor: migrate to new template system introduced in Hugo v0.146.0 ( #1232 )
...
See: https://gohugo.io/templates/new-templatesystem-overview/
2026-01-25 22:42:00 +01:00
Jimmy and GitHub
633c8c6b9f
refactor: Use RelPermalink for internal links ( #1231 )
2026-01-25 22:31:58 +01:00
Jimmy and GitHub
c872a77edb
refactor: migrate i18n files from YAML to TOML format and simplify structure ( #1230 )
...
* refactor: migrate i18n files from YAML to TOML format and simplify structure
* refactor: make translation file adjust to gohugoio/locales language code so date translation can work properly
* refactor: use hyphens instead of underscores for i18n, because that's how Hugo pick the translation file
* docs: update comments for i18n language availability and CJK language detection in hugo.toml.
2026-01-25 21:01:32 +01:00
Jimmy and GitHub
406fcef7cd
refactor: use TOML for configuration file ( #1228 )
...
* refactor: remove jsconfig.json
* chore: remove devcontainer config
* refactor: migrate Hugo configuration from `hugo.yaml` to dedicated `module.toml` and `params.toml` files, and update minimum Hugo version.
* refactor: migrate demo site configuration from `hugo.yaml` to `config/_default/*.toml`
* feat: enable local sidebar avatar for demo site and relocate its image to demo assets.
* feat: migrate demo site to Hugo Modules for theme management.
* fix: wrong config folder name
2026-01-25 19:51:10 +01:00
Jimmy Cai
ffab83a637
release: 3.34.0
2026-01-25 17:55:45 +01:00
Jimmy and GitHub
9add062300
refactor: centralize pagination logic ( #1227 )
...
* refactor: centralize pagination logic into a new helper partial used for page titles and index display
* fix: list.html does not exclude hidden pages
* refactor: Simplify title generation logic
2026-01-25 17:54:13 +01:00
Jimmy and GitHub
12daa8c9fc
feat: dynamically generate background color for category links ( #1225 )
...
* chore: add +x to run.sh
* feat: dynamically generate background color for category links using hash
* feat: allow category styles to be overridden by term parameters
* refactor: remove default tag background and color variables
2026-01-25 17:35:40 +01:00
Jimmy and GitHub
f804db2c80
fix: load mermaid partial without cache ( #1226 )
2026-01-25 16:50:33 +01:00
Jimmy Cai
090378e4da
ci: move to cloudflare worker
2026-01-25 12:09:53 +01:00
Jimmy
d6ced60f51
release: 3.33.0
2025-12-22 16:17:42 +00:00
Jimmy and GitHub
dc36aa60a9
fix: remove hidden posts using where keyword ( #1212 )
2025-12-22 17:12:34 +01:00
Jimmy and GitHub
475d01b046
fix: adjust padding and width for article list tiles in subsection list ( #1211 )
2025-12-22 16:51:39 +01:00
Jimmy and GitHub
2612ca87dc
feat: allow specify alt for link's image ( #1198 )
2025-11-01 22:14:52 +01:00
Jimmy and GitHub
512a9ab625
feat: upgrade Hugo version in Netlify and DevContainer file ( #1197 )
...
* feat: upgrade Netlify Hugo version to 0.152.2
* feat: update to newer Hugo DevContainer file
2025-11-01 21:45:48 +01:00
Jimmy and GitHub
2f47d14a8a
fix: add missing object-fit: cover to section-image ( #1196 )
2025-11-01 20:43:19 +01:00
Jimmy and GitHub
8cb1646198
style: remove unused count class in tag cloud ( #1195 )
2025-10-31 23:48:40 +01:00