diff options
| author | Eltrac <hi@guhub.cn> | 2025-04-18 20:28:29 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-04-18 20:28:29 +0800 |
| commit | e2644c00ac4e059c3db7d03f2aa54af1ca60c952 (patch) | |
| tree | f4ae01d6901fe287bc8ec2055d7eb7bf52566b5c /layouts/_default/term.html | |
| parent | d667721bc5bc840401bdde5099ef24dbda9ceb78 (diff) | |
| parent | 0eed452c61d6ce9d9cc524e4efec9fd10ec9a6de (diff) | |
Merge branch 'master' of https://github.com/BigCoke233/geek-death-project
Diffstat (limited to 'layouts/_default/term.html')
| -rw-r--r-- | layouts/_default/term.html | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/layouts/_default/term.html b/layouts/_default/term.html index 7aac0646..43e86953 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -1,29 +1,29 @@ {{ define "main" }} <article class="posts termlist-page"> - {{ partial "components/post-page-header.html" . }} - {{ partial "components/breadcrumbs.html" . }} + {{ partial "components/post-page-header.html" . }} + {{ partial "components/breadcrumbs.html" . }} - {{ with .Params.description }} - <div class="taxonomy-description markdown-body"> - {{ . | markdownify }} - <hr /> - </div> - {{ end }} + {{ with .Params.description }} + <div class="taxonomy-description markdown-body"> + {{ . | markdownify }} + <hr /> + </div> + {{ end }} - <div class="term-list"> - <ul> - {{ range .Pages }} - <li> - <a href="{{ .RelPermalink }}" data-umami-event="Click Post Link from Category Page"> - {{ .Title }}{{ with .Params.subtitle }}:<span class="posts-subtitle">{{. }}</span> - {{ end }} - </a> - <time> - {{ .Date.Format "2006-1-2" }} - </time> - </li> - {{ end }} - </ul> - </div> + <div class="term-list"> + <ul> + {{ range .Pages }} + <li> + <a href="{{ .RelPermalink }}" data-umami-event="Click Post Link from Category Page"> + {{ .Title }}{{ with .Params.subtitle }}:<span class="posts-subtitle">{{. }}</span> + {{ end }} + </a> + <time> + {{ .Date.Format "2006-1-2" }} + </time> + </li> + {{ end }} + </ul> + </div> </article> {{ end }} |
