From 631547a75142326a7c71bdf123e1475217a5ad73 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 22 Apr 2026 12:42:56 +0200 Subject: chore: replace with extracted danix.xyz-hacker theme (danix2-hugo-theme) --- layouts/_default/single.html | 54 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 layouts/_default/single.html (limited to 'layouts/_default/single.html') diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..7a1a069 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,54 @@ +{{ define "main" }} +
+
+ +
+ + {{ if eq .Section "articles" }} + {{ partial "article-nav.html" (dict "page" . "variant" "top") }} + {{ end }} + + + {{ partial "breadcrumb.html" . }} + + + {{ partial "article-header.html" . }} + + +
+ {{ .Content }} +
+ + + {{ if .Params.tags }} +
+

{{ i18n "tags" }}

+
+ {{ $lang := .Lang }} + {{ range .Params.tags }} + {{ $tagUrl := printf "/tags/%s/" (. | urlize) }} + {{ if eq $lang "it" }} + {{ $tagUrl = printf "/it/tags/%s/" (. | urlize) }} + {{ end }} + + {{ . }} + + {{ end }} +
+
+ {{ end }} + + + {{ if eq .Section "articles" }} + {{ partial "article-nav.html" (dict "page" . "variant" "bottom") }} + {{ end }} +
+ + + {{ partial "sidebar.html" . }} +
+
+{{ end }} -- cgit v1.2.3