From 8e7996214af853803c4dd04534b1f5646b0ac1c5 Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 16 Oct 2025 20:02:39 -0300 Subject: first --- themes/hugo-classic/layouts/_default/single.html | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 themes/hugo-classic/layouts/_default/single.html (limited to 'themes/hugo-classic/layouts/_default/single.html') diff --git a/themes/hugo-classic/layouts/_default/single.html b/themes/hugo-classic/layouts/_default/single.html new file mode 100644 index 0000000..04688e0 --- /dev/null +++ b/themes/hugo-classic/layouts/_default/single.html @@ -0,0 +1,30 @@ +{{ partial "header.html" . }} +
+

{{ .Title | markdownify }}

+{{ with .Params.author }}

{{ . }}

{{ end }} +{{ if .Params.date }}

{{ .Date.Format "2006/01/02" }}

{{ end }} +

+ {{ range $i := (slice "categories" "tags") }} + {{ with ($.Param $i) }} + {{ $i | title }}: {{ range $k := . }}{{$k}} {{ end }} + {{ end }} + {{ end }} +

+
+ +{{ if .Params.toc }} + {{ with .TableOfContents }} +
+

Table of Contents

+ {{ . | safeHTML }} +
+ {{ end }} +{{ end }} + +
+
+ {{ .Content }} + >> Home +
+
+{{ partial "footer.html" . }} -- cgit v1.2.3