From e7a91af6b5fffe7c9d845123c6c2fcfd73d9b02f Mon Sep 17 00:00:00 2001 From: jaseg Date: Thu, 25 Nov 2021 11:54:39 +0100 Subject: Update theme to show post list on top level again --- themes/hugo-classic/layouts/404.html | 5 ---- themes/hugo-classic/layouts/_default/list.html | 18 ------------ themes/hugo-classic/layouts/_default/single.html | 23 --------------- themes/hugo-classic/layouts/_default/terms.html | 16 ----------- .../hugo-classic/layouts/partials/foot_custom.html | 25 ---------------- themes/hugo-classic/layouts/partials/footer.html | 16 ----------- .../hugo-classic/layouts/partials/head_custom.html | 33 ---------------------- themes/hugo-classic/layouts/partials/header.html | 16 ----------- 8 files changed, 152 deletions(-) delete mode 100644 themes/hugo-classic/layouts/404.html delete mode 100644 themes/hugo-classic/layouts/_default/list.html delete mode 100644 themes/hugo-classic/layouts/_default/single.html delete mode 100644 themes/hugo-classic/layouts/_default/terms.html delete mode 100644 themes/hugo-classic/layouts/partials/foot_custom.html delete mode 100644 themes/hugo-classic/layouts/partials/footer.html delete mode 100644 themes/hugo-classic/layouts/partials/head_custom.html delete mode 100644 themes/hugo-classic/layouts/partials/header.html (limited to 'themes/hugo-classic/layouts') diff --git a/themes/hugo-classic/layouts/404.html b/themes/hugo-classic/layouts/404.html deleted file mode 100644 index c2e4e40..0000000 --- a/themes/hugo-classic/layouts/404.html +++ /dev/null @@ -1,5 +0,0 @@ -{{ partial "header.html" . }} - -404 NOT FOUND - -{{ partial "footer.html" . }} diff --git a/themes/hugo-classic/layouts/_default/list.html b/themes/hugo-classic/layouts/_default/list.html deleted file mode 100644 index 41d9d89..0000000 --- a/themes/hugo-classic/layouts/_default/list.html +++ /dev/null @@ -1,18 +0,0 @@ -{{ partial "header.html" . }} - -{{if not .IsHome }} -

{{ .Title }}

-{{ end }} - -{{ .Content }} - - - -{{ partial "footer.html" . }} diff --git a/themes/hugo-classic/layouts/_default/single.html b/themes/hugo-classic/layouts/_default/single.html deleted file mode 100644 index b3b5570..0000000 --- a/themes/hugo-classic/layouts/_default/single.html +++ /dev/null @@ -1,23 +0,0 @@ -{{ partial "header.html" . }} -
-

{{ .Title }}

-{{ 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 }} -{{ .TableOfContents }} -{{ end }} - -
-{{ .Content }} -
- -{{ partial "footer.html" . }} diff --git a/themes/hugo-classic/layouts/_default/terms.html b/themes/hugo-classic/layouts/_default/terms.html deleted file mode 100644 index 4f6f544..0000000 --- a/themes/hugo-classic/layouts/_default/terms.html +++ /dev/null @@ -1,16 +0,0 @@ -{{ 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 deleted file mode 100644 index 3d9fb1d..0000000 --- a/themes/hugo-classic/layouts/partials/foot_custom.html +++ /dev/null @@ -1,25 +0,0 @@ - - diff --git a/themes/hugo-classic/layouts/partials/footer.html b/themes/hugo-classic/layouts/partials/footer.html deleted file mode 100644 index 8b721a8..0000000 --- a/themes/hugo-classic/layouts/partials/footer.html +++ /dev/null @@ -1,16 +0,0 @@ - - - diff --git a/themes/hugo-classic/layouts/partials/head_custom.html b/themes/hugo-classic/layouts/partials/head_custom.html deleted file mode 100644 index 6520ca0..0000000 --- a/themes/hugo-classic/layouts/partials/head_custom.html +++ /dev/null @@ -1,33 +0,0 @@ -
- - - - - - -
diff --git a/themes/hugo-classic/layouts/partials/header.html b/themes/hugo-classic/layouts/partials/header.html deleted file mode 100644 index 6ef9a69..0000000 --- a/themes/hugo-classic/layouts/partials/header.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - {{ .Title }} | {{ .Site.Title }} - - - {{ range .Site.Params.custom_css -}} - - {{- end }} - {{ partial "head_custom.html" . }} - - - -
-- cgit