summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker/layouts/taxonomy/term.html
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-21 12:09:53 +0200
committerDanilo M. <danix@danix.xyz>2026-04-21 12:09:53 +0200
commita14e39f1e7ca28fd27380efef855617c070ce256 (patch)
tree2971ed0e487c75081b4974328704fd8f02c4f37a /themes/danix-xyz-hacker/layouts/taxonomy/term.html
parent60628e3f8e0fca9f19123fcc2148111cc4d8edc1 (diff)
downloaddanixxyz-a14e39f1e7ca28fd27380efef855617c070ce256.tar.gz
danixxyz-a14e39f1e7ca28fd27380efef855617c070ce256.zip
fix: use dedicated article-card partial for taxonomy pages
The timeline partial (article-list-item.html) always emits <li> with timeline connector and node markup — calling it with . still produces the same timeline HTML. Created article-card.html with the original <article class="card"> markup and wired taxonomy templates to use it. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'themes/danix-xyz-hacker/layouts/taxonomy/term.html')
-rw-r--r--themes/danix-xyz-hacker/layouts/taxonomy/term.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/danix-xyz-hacker/layouts/taxonomy/term.html b/themes/danix-xyz-hacker/layouts/taxonomy/term.html
index 5858f64..1b953bc 100644
--- a/themes/danix-xyz-hacker/layouts/taxonomy/term.html
+++ b/themes/danix-xyz-hacker/layouts/taxonomy/term.html
@@ -27,12 +27,12 @@
<!-- Pinned posts first -->
{{ range (sort $pinned "Date" "desc") }}
- {{ partial "article-list-item.html" . }}
+ {{ partial "article-card.html" . }}
{{ end }}
<!-- Regular posts -->
{{ range (sort $unpinned "Date" "desc") }}
- {{ partial "article-list-item.html" . }}
+ {{ partial "article-card.html" . }}
{{ end }}
<!-- Empty state -->