quick fix to stop extra newline. - gopherhole - My website source code.
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 190a07541caa88695064ca683b9fa926322ec423
(DIR) parent 65fbb6f76ae891deac6371e73f591a9013794b61
(HTM) Author: Jay Scott <me@jay.scot>
Date: Sun, 11 Sep 2022 16:27:24 +0100
quick fix to stop extra newline.
Diffstat:
M templates/_default/index.gmi | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
(DIR) diff --git a/templates/_default/index.gmi b/templates/_default/index.gmi
@@ -8,9 +8,7 @@
# RANTS
{{ with site.Root.GetPage "/rants" }}
{{ range .Pages }}
-=> {{ .Path }} {{ if not .Date.IsZero -}}
-{{ .Date.Format "2006-01" }}{{end}} : {{ .Title }}
- {{ end }}
+=> {{ .Path }} {{ if not .Date.IsZero -}}{{ .Date.Format "2006-01" }}{{end}} : {{ .Title }} {{ end }}
{{ end }}
# INFO