summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/danix-xyz-hacker/layouts/_default/single.html')
-rw-r--r--themes/danix-xyz-hacker/layouts/_default/single.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/themes/danix-xyz-hacker/layouts/_default/single.html b/themes/danix-xyz-hacker/layouts/_default/single.html
index 0d3c6fa..62e4a64 100644
--- a/themes/danix-xyz-hacker/layouts/_default/single.html
+++ b/themes/danix-xyz-hacker/layouts/_default/single.html
@@ -3,6 +3,11 @@
<div class="grid md:grid-cols-3 gap-8 max-w-7xl mx-auto content-grid">
<!-- Article section -->
<div class="md:col-span-2">
+ <!-- Top article navigation (articles only) -->
+ {{ if eq .Section "articles" }}
+ {{ partial "article-nav.html" (dict "page" . "variant" "top") }}
+ {{ end }}
+
<!-- Breadcrumb -->
{{ partial "breadcrumb.html" . }}
@@ -35,6 +40,11 @@
</div>
</div>
{{ end }}
+
+ <!-- Bottom article navigation (articles only) -->
+ {{ if eq .Section "articles" }}
+ {{ partial "article-nav.html" (dict "page" . "variant" "bottom") }}
+ {{ end }}
</div>
<!-- Sidebar -->