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/404.html | 5 +++ themes/hugo-classic/layouts/_default/list.html | 21 ++++++++++ themes/hugo-classic/layouts/_default/single.html | 30 ++++++++++++++ themes/hugo-classic/layouts/_default/terms.html | 13 ++++++ .../hugo-classic/layouts/partials/foot_custom.html | 0 themes/hugo-classic/layouts/partials/footer.html | 35 ++++++++++++++++ .../hugo-classic/layouts/partials/head_custom.html | 0 themes/hugo-classic/layouts/partials/header.html | 48 ++++++++++++++++++++++ themes/hugo-classic/layouts/robots.txt | 4 ++ 9 files changed, 156 insertions(+) create mode 100644 themes/hugo-classic/layouts/404.html 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 create mode 100644 themes/hugo-classic/layouts/partials/foot_custom.html create mode 100644 themes/hugo-classic/layouts/partials/footer.html create mode 100644 themes/hugo-classic/layouts/partials/head_custom.html create mode 100644 themes/hugo-classic/layouts/partials/header.html create mode 100644 themes/hugo-classic/layouts/robots.txt (limited to 'themes/hugo-classic/layouts') diff --git a/themes/hugo-classic/layouts/404.html b/themes/hugo-classic/layouts/404.html new file mode 100644 index 0000000..bd93017 --- /dev/null +++ b/themes/hugo-classic/layouts/404.html @@ -0,0 +1,5 @@ +{{ partial "header.html" . }} + +404 - You once were found. But now you're lost. + +{{ partial "footer.html" . }} 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" . }} diff --git a/themes/hugo-classic/layouts/partials/foot_custom.html b/themes/hugo-classic/layouts/partials/foot_custom.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/hugo-classic/layouts/partials/footer.html b/themes/hugo-classic/layouts/partials/footer.html new file mode 100644 index 0000000..494ce73 --- /dev/null +++ b/themes/hugo-classic/layouts/partials/footer.html @@ -0,0 +1,35 @@ + + + diff --git a/themes/hugo-classic/layouts/partials/head_custom.html b/themes/hugo-classic/layouts/partials/head_custom.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/hugo-classic/layouts/partials/header.html b/themes/hugo-classic/layouts/partials/header.html new file mode 100644 index 0000000..855f593 --- /dev/null +++ b/themes/hugo-classic/layouts/partials/header.html @@ -0,0 +1,48 @@ + + + + + + + + + + + + + {{ .Title }} | {{ .Site.Title }} + + + {{ range .Site.Params.custom_css -}} + + {{- end }} + {{ partial "head_custom.html" . }} + + + +
+ +
+ diff --git a/themes/hugo-classic/layouts/robots.txt b/themes/hugo-classic/layouts/robots.txt new file mode 100644 index 0000000..2a87967 --- /dev/null +++ b/themes/hugo-classic/layouts/robots.txt @@ -0,0 +1,4 @@ +# robots.txt +User-agent: * +Disallow: +Disallow: /cgi-bin/ \ No newline at end of file -- cgit v1.2.3