From 1b7552e97a91724d3a014b850c3e82ec51da32e4 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 49c4d10..b7f2017 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -25,7 +25,6 @@

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

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