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 }}