From 314b17986d8c5baacd11045465526eb589cf3370 Mon Sep 17 00:00:00 2001 From: Oliver Atkinson Date: Thu, 9 Feb 2023 14:37:03 -0700 Subject: [PATCH] fixed homepage list issue --- archetypes/default.md | 2 +- layouts/_default/baseof.html | 1 - layouts/_default/list.html | 2 ++ 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/archetypes/default.md b/archetypes/default.md index 13d9021..167e8bb 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -2,6 +2,6 @@ title: "{{ replace .Name "-" " " | title }}" date: {{ .Date }} description: "Example" -tags: [''] +tags: ['blog'] draft: true --- \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5f4d497..bb2bb0e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -13,7 +13,6 @@

{{ if not .IsHome }} {{ .Params.description }} {{ end }}

-
{{ block "main" . }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 601fc08..feb681c 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -3,6 +3,7 @@ {{- end }} {{ define "main" -}} {{ .Content }} +{{ if not .IsHome }} {{- end }} +{{ end }}