sgregoratto.me

Hugo files for www.sgregoratto.me
git clone git://git.sgregoratto.me/sgregoratto.me
Log | Files | Refs

commit 614a539f7e2ea0316772f1d320c6626aa0a3e252
parent 438c3a799bf6c33738754a0e8241c5474cd8f875
Author: Stephen Gregoratto <themanhimself@sgregoratto.me>
Date:   Sat,  2 Mar 2019 00:27:26 +1100

set explicit dateform for lists

Diffstat:
Mlayouts/_default/list.html | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layouts/_default/list.html b/layouts/_default/list.html @@ -6,7 +6,7 @@ {{ range .Pages.ByPublishDate.Reverse }} <tr> <td><a href="{{ .Permalink }}">{{ .Title }}</a></td> - <td style="text-align:right"><time>{{.Date.Format .Site.Params.dateform}}</time></td> + <td style="text-align:right"><time>{{.Date.Format "2006-01-02"}}</time></td> </tr> {{ end }} </table>