From 6196f23e02068294976665701c6677a5de8e716b Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 15 Apr 2026 15:48:58 +0200 Subject: feat: create single article template with sidebar --- .../danix-xyz-hacker/layouts/_default/single.html | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 themes/danix-xyz-hacker/layouts/_default/single.html 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 }} -- cgit v1.2.3