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/list.html | 21 +++++++++++++++++ themes/hugo-classic/layouts/_default/single.html | 30 ++++++++++++++++++++++++ themes/hugo-classic/layouts/_default/terms.html | 13 ++++++++++ 3 files changed, 64 insertions(+) create mode 100644 themes/hugo-classic/layouts/_default/list.html create mode 100644 themes/hugo-classic/layouts/_default/single.html create mode 100644 themes/hugo-classic/layouts/_default/terms.html (limited to 'themes/hugo-classic/layouts/_default') diff --git a/themes/hugo-classic/layouts/_default/list.html b/themes/hugo-classic/layouts/_default/list.html new file mode 100644 index 0000000..0ee6442 --- /dev/null +++ b/themes/hugo-classic/layouts/_default/list.html @@ -0,0 +1,21 @@ +{{ partial "header.html" . }} + +
+{{if not .IsHome }} +

{{ .Title | markdownify }}

+ {{ end }} + + {{ .Content }} + + +
+{{ partial "footer.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" . }} diff --git a/themes/hugo-classic/layouts/_default/terms.html b/themes/hugo-classic/layouts/_default/terms.html new file mode 100644 index 0000000..1b515a5 --- /dev/null +++ b/themes/hugo-classic/layouts/_default/terms.html @@ -0,0 +1,13 @@ +{{ partial "header.html" . }} + +

{{ .Title }}

+ + + +{{ partial "footer.html" . }} -- cgit v1.2.3