diff options
| author | BigCoke233 <hi@guhub.cn> | 2026-01-08 11:24:55 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2026-01-08 11:24:55 +0800 |
| commit | b069b3ea3dc6aefdf14ffd9e103550764cb94302 (patch) | |
| tree | bf8a5964555020e53b72aeb50484f426fbc09366 /layouts | |
| parent | 39acaa890de9be48047977bd2e828f6fa2f6280c (diff) | |
refactor: use tag instead of custom param for featured pages
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/featured.html | 2 |
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> |
