diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index 5a30c37..f79da0e 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -1,8 +1,8 @@ {{- .Text | safeHTML -}} -{{- print "" -}} +{{- /* This comment gets rid of the trailing newline. */ -}} diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 67a7cff..e3a499c 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,7 +1,7 @@ {{ partial "credit.html" }} - {{- partial "head.html" . -}} + {{ partial "head.html" . }}
@@ -13,9 +13,9 @@ {{ end }}
- {{- block "main" . }} + {{ block "main" . }} {{ .Content }} - {{- end }} + {{ end }}
{{ with .Site.Copyright }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index f7a10e9..64dcba1 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -33,5 +33,5 @@ {{ partial "author-metadata.html" . }} - + diff --git a/layouts/partials/opengraph.html b/layouts/partials/opengraph.html index 7b7b351..67f800b 100644 --- a/layouts/partials/opengraph.html +++ b/layouts/partials/opengraph.html @@ -1,5 +1,5 @@ - + diff --git a/layouts/partials/top.html b/layouts/partials/top.html index c1d9af1..7eb00e5 100644 --- a/layouts/partials/top.html +++ b/layouts/partials/top.html @@ -23,7 +23,7 @@ {{ if .Site.IsMultiLingual }}
- {{ partial "icon.html" "world" -}} + {{- partial "icon.html" "world" -}}