summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker/layouts/taxonomy/list.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/list.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/list.html')
-rw-r--r--themes/danix-xyz-hacker/layouts/taxonomy/list.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/danix-xyz-hacker/layouts/taxonomy/list.html b/themes/danix-xyz-hacker/layouts/taxonomy/list.html
index cd4945a..c3a4317 100644
--- a/themes/danix-xyz-hacker/layouts/taxonomy/list.html
+++ b/themes/danix-xyz-hacker/layouts/taxonomy/list.html
@@ -21,7 +21,7 @@
<!-- Pinned posts first -->
{{ range (sort $pinned "Date" "desc") }}
<div class="relative">
- {{ partial "article-list-item.html" . }}
+ {{ partial "article-card.html" . }}
<span class="absolute top-4 right-4 px-2 py-0.5 rounded text-xs font-mono bg-surface text-text-dim border border-border/30">
{{ i18n "postCount" .Pages.Len }}
</span>
@@ -31,7 +31,7 @@
<!-- Regular posts -->
{{ range (sort $unpinned "Date" "desc") }}
<div class="relative">
- {{ partial "article-list-item.html" . }}
+ {{ partial "article-card.html" . }}
<span class="absolute top-4 right-4 px-2 py-0.5 rounded text-xs font-mono bg-surface text-text-dim border border-border/30">
{{ i18n "postCount" .Pages.Len }}
</span>