diff options
| author | Eltrac <hi@guhub.cn> | 2025-06-06 16:08:37 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-06-06 16:08:37 +0800 |
| commit | e954f0d0560f36948fb123539629085f128f64e8 (patch) | |
| tree | 48518c0fae5ccd98e6fda6a5b6806420938b3f6a /layouts/posts/single.html | |
| parent | fa48f611d0de8cbe389268ae3f356f307b6a4970 (diff) | |
refactor: reuse tag list
Former-commit-id: 17cc7da7218f24775bcdcbd1631c1d9380492d1d
Diffstat (limited to 'layouts/posts/single.html')
| -rw-r--r-- | layouts/posts/single.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 86d595d6..7a7051f0 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -19,9 +19,7 @@ {{ partial "components/date" . }} {{ if or .Params.categories .Params.tags }}<span>ยท</span>{{ end }} {{ partial "components/category-pill" . }} - {{ range .Params.tags }} - <a class="post-tag" href="{{ site.LanguagePrefix }}/tags/{{ lower . | urlize }}/">#{{ . }}</a> - {{ end }} + {{ partial "components/tags" . }} </div> </header> |
