From 644a12bcac4ed7e1af9e3defdc20d7945512a0b8 Mon Sep 17 00:00:00 2001 From: igufi Date: Mon, 28 Sep 2020 10:34:33 +0300 Subject: [PATCH] Wraps the front page post summaries in paragraph-tags Unless you use at the end of a paragraph break, the post summaries are stacked together with no vertical whitespace between them. Adding the

-tags fixes this. --- layouts/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index a8e3bed..2c0f979 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -13,9 +13,9 @@ Console is a minimal, responsive and light theme for Hugo inspired by Linux cons {{ with .Site.GetPage "/posts" }} {{ range first 3 (sort .Data.Pages "Date" "desc" (where .Pages ".Params.private" "!=" true))}}

-
{{ .PublishDate.Format "Jan. 2, 2006" }}
+

{{ .PublishDate.Format "Jan. 2, 2006" }}

{{ .Title }}

- {{ .Summary }} + {{ .Summary }}

{{ end }} {{ end }} @@ -37,4 +37,4 @@ Console is a minimal, responsive and light theme for Hugo inspired by Linux cons {{ end }} -{{ end }} \ No newline at end of file +{{ end }}