summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2026-01-08 11:24:55 +0800
committerBigCoke233 <hi@guhub.cn>2026-01-08 11:24:55 +0800
commitb069b3ea3dc6aefdf14ffd9e103550764cb94302 (patch)
treebf8a5964555020e53b72aeb50484f426fbc09366 /layouts
parent39acaa890de9be48047977bd2e828f6fa2f6280c (diff)
refactor: use tag instead of custom param for featured pages
Diffstat (limited to 'layouts')
-rw-r--r--layouts/featured.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/featured.html b/layouts/featured.html
index 28426907..75fba67e 100644
--- a/layouts/featured.html
+++ b/layouts/featured.html
@@ -8,7 +8,7 @@
<section id="featured-posts">
<div class="posts-list">
- {{ range where site.RegularPages "Params.featured" true }}
+ {{ range .Site.Taxonomies.tags.精选 }}
{{ partial "items/post" (dict "ctx" . ) }}
{{ end }}
</div>