From 491fd2fa46da52b8cbe7d84b0f082ea52af2db5d Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 20 Sep 2022 17:17:21 -0400 Subject: move to baseof too --- content/_index.md | 1 + layouts/_default/baseof.html | 36 ++++++++++++++++++++++++++++++++++++ layouts/_default/single.html | 6 ------ 3 files changed, 37 insertions(+), 6 deletions(-) create mode 100644 layouts/_default/baseof.html delete mode 100644 layouts/_default/single.html diff --git a/content/_index.md b/content/_index.md index 8bfc8ee..19626da 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,5 +1,6 @@ --- title: 'LandChad.net' +layout: single --- This is LandChad.net, a site dedicated to turning internet peasants into Internet Landlords by showing them how to setup websites, email servers, chat servers and everything in between. diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..a299bc0 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,36 @@ + + + + {{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }} + + + + {{ with .Site.Params.favicon }} + {{ end -}} + + {{ if isset .Params "tags" }} + {{ end -}} + + + + + +{{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}} +
+

{{ with .Params.icon }}{{ end }}{{ .Title }}

+
{{ with .Params.img }}{{ end }} +{{ block "main" . }} +{{ .Content }} +{{ end }} +{{ if .Param "nextprev" }}{{ partial "nextprev.html" . -}}{{ end -}} +{{ if .Param "taglist" }}{{ partial "taglist.html" . }}{{ end -}} +
+
+{{ block "footer" . }} + +{{ end }} + + diff --git a/layouts/_default/single.html b/layouts/_default/single.html deleted file mode 100644 index 5069e98..0000000 --- a/layouts/_default/single.html +++ /dev/null @@ -1,6 +0,0 @@ -{{ partial "header.html" . }} -

{{ with .Params.icon }}{{ end }}{{ .Title }}

-
{{ with .Params.img }}{{ end }} -{{ .Content }} -
-{{ partial "footer.html" . }} -- cgit v1.2.3