From 5b476f8905f411768e23cb01d577a60e5a5fd725 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 22 Apr 2026 12:43:22 +0200 Subject: chore: extract theme into git submodule (danix2-hugo-theme) --- themes/danix-xyz-hacker/layouts/taxonomy/term.html | 46 ---------------------- 1 file changed, 46 deletions(-) delete mode 100644 themes/danix-xyz-hacker/layouts/taxonomy/term.html (limited to 'themes/danix-xyz-hacker/layouts/taxonomy/term.html') diff --git a/themes/danix-xyz-hacker/layouts/taxonomy/term.html b/themes/danix-xyz-hacker/layouts/taxonomy/term.html deleted file mode 100644 index 1b953bc..0000000 --- a/themes/danix-xyz-hacker/layouts/taxonomy/term.html +++ /dev/null @@ -1,46 +0,0 @@ -{{ define "main" }} -
- -

- {{ i18n .Data.Singular }} -

- - -

- - {{ .Title }} - -

- - -
- {{ $pinned := where .Pages "Params.pinned" true }} - {{ $unpinned := where .Pages "Params.pinned" false }} - - - {{ if eq (len $unpinned) 0 }} - {{ $unpinned = where .Pages "Params.pinned" nil }} - {{ if eq (len $unpinned) 0 }} - {{ $unpinned = where .Pages "Params.pinned" "" }} - {{ end }} - {{ end }} - - - {{ range (sort $pinned "Date" "desc") }} - {{ partial "article-card.html" . }} - {{ end }} - - - {{ range (sort $unpinned "Date" "desc") }} - {{ partial "article-card.html" . }} - {{ end }} - - - {{ if eq (len .Pages) 0 }} -
- {{ i18n "noRelated" }} -
- {{ end }} -
-
-{{ end }} -- cgit v1.2.3