Jimmy and GitHub
12f05571cf
refactor: make article-list/compact better for term pages ( #1289 )
...
* refactor: rename article-time class to article-footer for consistency
* feat: show the number of subpages in `article-compact` when the page is a term
2026-03-05 13:43:55 +01:00
22edce91ab
feat: add responsive image support ( #1283 )
...
* feat: create responsive-image helper
* feat: new responsive-image helper
* feat: Implement responsive image rendering in page content using a new partial and configure image processing widths.
* feat: add `sizes` attribute for enhanced image responsiveness
* feat: add responsive image to page header too
* Check for `.Enabled` before processing image
* style: remove wrong article-list--tile width and height
* feat: add `helper/thumbnail-image` for responsive thumbnails
* feat: enable content image processing and update responsive image `sizes` attributes for improved display.
* fix: get src from the attributes so external image can work correctly
* fix: add missing data-title-escaped
* Update layouts/_partials/article/components/header.html
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* feat: remove default `true` for thumbnail resize parameter.
* Update layouts/_markup/render-image.html
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update layouts/_partials/helper/thumbnail-image.html
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* add original width and height to thumbnail pictures, for case that resize is not enabled
* Update layouts/_partials/helper/thumbnail-image.html
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-04 23:32:33 +01:00
Jimmy and GitHub
78800c7379
fix: keep external image url, and use reflect.IsImageResourceProcessable to check for svg and other non-processable image formats ( #1282 )
...
* fix: keep external image url, and use reflect.IsImageResourceProcessable to check for svg
* build: update Hugo version to 0.157.0 in the build script.
* docs: remove `Local` return value and simplify `Resource` description in image helper
* Check for reflect.IsImageResourceProcessable before getting color from image
* chore: update minimum Hugo version to 0.157.0
2026-03-04 13:05:17 +01:00
Jimmy and GitHub
2be5b48324
feat(list): ability to show article tags on homepage ( #1270 )
...
* feat(list): ability to show article tags on homepage
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/880
* Disable showTags by default
2026-02-19 17:45:09 +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
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