diff --git a/layouts/_markup/render-heading.html.example b/layouts/_markup/example-render-heading.html similarity index 100% rename from layouts/_markup/render-heading.html.example rename to layouts/_markup/example-render-heading.html diff --git a/layouts/_markup/render-image.html.example b/layouts/_markup/example-render-image.html similarity index 98% rename from layouts/_markup/render-image.html.example rename to layouts/_markup/example-render-image.html index 3bf4c7d..ced78a1 100644 --- a/layouts/_markup/render-image.html.example +++ b/layouts/_markup/example-render-image.html @@ -79,3 +79,4 @@ {{ end -}} {{ .Text }} +{{- /* chomp trailing newline */ -}} diff --git a/layouts/_markup/render-link.html.example b/layouts/_markup/example-render-link.html similarity index 84% rename from layouts/_markup/render-link.html.example rename to layouts/_markup/example-render-link.html index 69a1c1a..fb1f184 100644 --- a/layouts/_markup/render-link.html.example +++ b/layouts/_markup/example-render-link.html @@ -1 +1,2 @@ {{ .Text | safeHTML }} +{{- /* chomp trailing newline */ -}}