From 04c13d8007efe2597cad3fe24436368bed73bf1f Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Mon, 18 Apr 2022 20:47:36 +0200 Subject: Waste less on whitespace in the blog post list --- layouts/posts/list.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'layouts') diff --git a/layouts/posts/list.html b/layouts/posts/list.html index 1bacf24..21f52c1 100644 --- a/layouts/posts/list.html +++ b/layouts/posts/list.html @@ -1,10 +1,10 @@ -{{ define "main" }} +{{- define "main" }}

{{ .Title }}

{{ .Content }} -{{ range .Sections }} +{{- range .Sections }}

{{ .Title }}

- {{ end }} -{{ end }} +{{- end }} +{{- end }} -- cgit v1.1