diff options
| author | Eltrac <hi@guhub.cn> | 2025-04-29 11:47:17 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-04-29 11:47:17 +0800 |
| commit | 48e180c515da5d0372526cefe68ede78ba379a4e (patch) | |
| tree | 1f6afeaf1a719d15f6f5cb799dd421412ea45bad /layouts/_default/term.html | |
| parent | 5f25a26c7e77335e90c2b954784fa98aed3ec864 (diff) | |
refactor: adopt latest template lookup rules
Diffstat (limited to 'layouts/_default/term.html')
| -rw-r--r-- | layouts/_default/term.html | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/layouts/_default/term.html b/layouts/_default/term.html deleted file mode 100644 index 4d6fe390..00000000 --- a/layouts/_default/term.html +++ /dev/null @@ -1,42 +0,0 @@ -{{ define "main" }} - <article class="posts termlist-page"> - {{ partial "components/post-page-header.html" . }} - {{ partial "components/breadcrumbs.html" . }} - - {{ with .Params.description }} - <div class="taxonomy-description markdown-body"> - {{ . | markdownify }} - <hr /> - </div> - {{ end }} - - <div class="term-list"> - <ul class="term-list-posts"> - {{ range where .Pages "Section" "ne" "cards" }} - <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 class="term-list-cards cards-section"> - {{ range where .Pages "Section" "eq" "cards" }} - <div class="card"> - <h3> - <a href="{{ .RelPermalink }}" data-umami-event="Click Card Link from Category Page"> - {{ .Title }} - </a> - </h3> - <p>{{ .Summary }}</p> - </div> - {{ end }} - </div> - </div> - </article> - {{ partial "footer.html" . }} -{{ end }} |
