Jimmy and GitHub
f5adf4a273
fix: do not display the date of term pages ( #1296 )
2026-03-05 18:25:04 +01:00
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
Jimmy and GitHub
11aa9e349a
refactor: rename article-footer to article-meta ( #1293 )
...
* refactor: rename `article-footer` to `article-meta`, and remove unnecesary structures
* fix: Update default article license URL to point to Creative Commons.
2026-03-05 17:10:35 +01:00
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
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