a0bd0073bb34427ae6e90b3a708e881bfde11d6d
article/components/details partial (#1278)
Fix reading time not displaying due to .Site context in dict partial The details.html partial receives a dict context via: partial "article/components/details" (dict "Page" $Page "IsList" $IsList) When the dot context is a dict, .Site resolves to nil, so .Site.Params.article.readingTime always returns empty/false, causing the reading time to never display. Lines 40 and 67 of the same file already correctly use $Page.Site.Params — this fixes line 31 to be consistent. Co-authored-by: delize <4028612+delize@users.noreply.github.com>
refactor: migrate page visibility control from
Params.hidden to the new build.list parameter. (#1249)
Hugo Theme Stack
Card-style Hugo theme designed for bloggers.
Quickstart
Use this template: CaiJimmy/hugo-theme-stack-starter
Demo
Check demo.stack.cai.im
Documentation
Copyright
Licensed under the GNU General Public License v3.0
Please do not remove the "Theme Stack designed by Jimmy" text and link.
If you want to port this theme to another blogging platform, please let me know🙏.
Languages
HTML
39.5%
SCSS
34%
TypeScript
25.4%
Shell
1.1%
