From 70061cb0a3931d6a1f20fd16488f91f635f31234 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 20 Sep 2022 17:11:29 -0400 Subject: [PATCH] change for lugo changes --- content/_index.md | 1 + layouts/_default/single.html | 12 +++++------- layouts/index.html | 6 ------ 3 files changed, 6 insertions(+), 13 deletions(-) delete mode 100644 layouts/index.html diff --git a/content/_index.md b/content/_index.md index 95d0241..a9dd5d7 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,6 +1,7 @@ --- title: "🍲 Based Cooking 🍳" description: 'The fast-loading recipe site with cooking only and no ads.' +layout: single --- ## What do you want to cook? diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 53f64c5..a6174d7 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,9 +1,8 @@ -{{ partial "header.html" . }} - -

{{ .Title }}

- +{{ define "title" }} +{{ .Title }} +{{ end }} +{{ define "main" }} {{ .Content }} - {{ $author := index .Site.Data.authors (.Params.author | default "default") }} {{- if $author -}}

Contributor(s)

@@ -29,5 +28,4 @@ {{- end -}} - -{{ partial "footer.html" . }} +{{ end }} diff --git a/layouts/index.html b/layouts/index.html deleted file mode 100644 index 3772f32..0000000 --- a/layouts/index.html +++ /dev/null @@ -1,6 +0,0 @@ -{{ partial "header.html" . -}} -

{{ if .Title }}{{ .Title }}{{ else }}{{ .Site.Title }}{{ end }}

-
-{{ .Content }} -
-{{ partial "footer.html" . }}