| Fixing date formatting on index page. - gopherhole - My website source code. | |
| Log | |
| Files | |
| Refs | |
| --- | |
| commit 8c16ddbf89ee6580c014508c92079b5a863a58d0 | |
| parent 190a07541caa88695064ca683b9fa926322ec423 | |
| Author: Jay Scott <[email protected]> | |
| Date: Sun, 11 Sep 2022 16:59:59 +0100 | |
| Fixing date formatting on index page. | |
| Diffstat: | |
| M templates/_default/index.gmi | 2 +- | |
| 1 file changed, 1 insertion(+), 1 deletion(-) | |
| --- | |
| diff --git a/templates/_default/index.gmi b/templates/_default/index.gmi | |
| @@ -8,7 +8,7 @@ | |
| # RANTS | |
| {{ with site.Root.GetPage "/rants" }} | |
| {{ range .Pages }} | |
| -=> {{ .Path }} {{ if not .Date.IsZero -}}{{ .Date.Format "2006-01" }}{{end}} :… | |
| +=> {{ .Path }} {{ if not .Date.IsZero -}}{{ .Date.Format "2006-01-02" }}{{end}… | |
| {{ end }} | |
| # INFO |