Jimmy and GitHub
628bb9a501
feat: use images.AutoOrient in helper/image ( #1294 )
...
* feat: use images.AutoOrient in `helper/image`
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/1292
* fix: check if IsImageResourceProcessable before using filter
* remove local field
* feat: add configurable image auto-orientation via a new `autoOrient` parameter in site configuration
2026-03-05 17:58:40 +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
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
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