diff --git a/archetypes/default.md b/archetypes/default.md index d9b98b1..63c1c63 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -3,5 +3,6 @@ title: "{{ replace .Name "-" " " | title }}" date: {{ .Date }} draft: true comments: false +images: --- diff --git a/layouts/_default/single.html b/layouts/_default/single.html index ef53a18..a00bc3b 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,8 +1,25 @@ +{{ define "head" }} + +{{ end }} + {{ define "header" }} -{{ partialCached "header.html" . }} +{{ partial "header.html" . }} {{ end }} {{ define "main" }} + {{- if (or .Params.images .Params.featuredImg) }} +
+ {{- end }}