Jimmy and GitHub
bc54cecf0a
refactor: centralize page filtering logic, and allow sort by lastmod ( #1250 )
...
* refactor: migrate page visibility control from `Params.hidden` to the new `build.list` parameter.
* refactor: centralize page filtering logic into a new `helper/pages.html` partial
* feat: introduce `SortBy` parameter to enable sorting pages by last modified date
* refactor: extract page sorting logic into a new `pages-sort.html` partial
2026-01-27 12:34:15 +01:00
Jimmy and GitHub
deceb17144
refactor: migrate page visibility control from Params.hidden to the new build.list parameter. ( #1249 )
...
* refactor: migrate page visibility control from `Params.hidden` to the new `build.list` parameter.
* Rename rss.xml to home.rss.xml
2026-01-27 12:00:40 +01:00
Jimmy Cai
dc0d105e7c
fix: correct global site context access for the home page link in the sidebar
2026-01-27 00:05:05 +01:00
Jimmy and GitHub
33b7de9457
refactor: use .Site.Home.RelPermalink for home page links in the sidebar ( #1248 )
...
refactor: use `.Site.Home.RelPermalink` for home page links in the sidebar.
2026-01-26 23:59:40 +01:00
Jimmy and GitHub
7d4bfa9fc0
refactor: simplify sidebar avatar configuration and don't resize ( #1247 )
2026-01-26 23:58:18 +01:00
Jimmy and GitHub
ab17b22c77
refactor: get favicon from assets folder ( #1246 )
2026-01-26 23:49:27 +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
0542fed42e
fix: avoid site name appearing twice in the title ( #1240 )
2026-01-26 11:19:05 +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 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