From: Danilo M. Date: Wed, 15 Apr 2026 13:48:58 +0000 (+0200) Subject: feat: create single article template with sidebar X-Git-Tag: release_22042026-1342~271 X-Git-Url: https://git.danix.xyz/?a=commitdiff_plain;h=6196f23e02068294976665701c6677a5de8e716b;p=danix.xyz-2.git feat: create single article template with sidebar --- diff --git a/themes/danix-xyz-hacker/layouts/_default/single.html b/themes/danix-xyz-hacker/layouts/_default/single.html new file mode 100644 index 0000000..9da9eaa --- /dev/null +++ b/themes/danix-xyz-hacker/layouts/_default/single.html @@ -0,0 +1,36 @@ +{{ define "main" }} +
+
+ +
+ + {{ partial "article-header.html" . }} + + +
+ {{ .Content }} +
+ + + {{ if .Params.tags }} +
+

{{ i18n "tags" }}

+
+ {{ range .Params.tags }} + + {{ . }} + + {{ end }} +
+
+ {{ end }} +
+ + + {{ partial "sidebar.html" . }} +
+
+{{ end }}