| quick fix to stop extra newline. - gopherhole - My website source code. | |
| Log | |
| Files | |
| Refs | |
| --- | |
| commit 190a07541caa88695064ca683b9fa926322ec423 | |
| parent 65fbb6f76ae891deac6371e73f591a9013794b61 | |
| Author: Jay Scott <[email protected]> | |
| 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(-) | |
| --- | |
| 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}} :… | |
| {{ end }} | |
| # INFO |