diff options
author | Alan Pearce | 2014-06-08 13:35:19 +0100 |
---|---|---|
committer | Alan Pearce | 2014-06-08 13:35:19 +0100 |
commit | d2d470d71487ce700ca3b48638eb7c061859f02d (patch) | |
tree | 26a4aaca657aa9d16db0b4bad281056f8eec0867 | |
parent | 348d60a681a8a0ae0fc5f7ba403faca368e9d704 (diff) | |
download | hyde-d2d470d71487ce700ca3b48638eb7c061859f02d.tar.lz hyde-d2d470d71487ce700ca3b48638eb7c061859f02d.tar.zst hyde-d2d470d71487ce700ca3b48638eb7c061859f02d.zip |
Remove extra commas from dates
-rw-r--r-- | layouts/_default/list.html | 2 | ||||
-rw-r--r-- | layouts/index.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index aaf51fc..72b23be 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -5,7 +5,7 @@ {{ range .Data.Pages }} <li> <a href="{{ .Permalink }}">{{ .Title }}</a> - <time class="pull-right post-list" datetime="{{ .Date.Format "2006-01-02 15:04:05Z" }}">{{ .Date.Format "Monday, 2 January, 2006" }}</time> + <time class="pull-right post-list" datetime="{{ .Date.Format "2006-01-02 15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time> <p class="summary">{{ .Summary }}</p> </li> {{ end }} diff --git a/layouts/index.html b/layouts/index.html index 303173e..2ea98bf 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -9,7 +9,7 @@ {{ .Title }} </a> </h1> - <time class="post-date">{{ .Date.Format "Monday, 2 January, 2006" }}</time> + <time class="post-date">{{ .Date.Format "Monday, 2 January 2006" }}</time> {{ .Content }} </article> {{ end }} |