diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 4924fc8..a3bb923 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -1,23 +1,17 @@ {{ define "head" }} {{ if .Params.featuredImg -}} - + {{- else if .Params.images -}} {{- range first 1 .Params.images -}} - + {{- end -}} {{- end -}} {{ end }} + {{ define "header" }} {{ partial "header.html" . }} {{ end }} + {{ define "main" }} {{- if (or .Params.images .Params.featuredImg) }}
@@ -29,17 +23,15 @@