summaryrefslogtreecommitdiff
path: root/layouts/_default/term.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-04-18 20:28:29 +0800
committerEltrac <hi@guhub.cn>2025-04-18 20:28:29 +0800
commite2644c00ac4e059c3db7d03f2aa54af1ca60c952 (patch)
treef4ae01d6901fe287bc8ec2055d7eb7bf52566b5c /layouts/_default/term.html
parentd667721bc5bc840401bdde5099ef24dbda9ceb78 (diff)
parent0eed452c61d6ce9d9cc524e4efec9fd10ec9a6de (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.html46
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 }}