diff options
author | Alan Pearce | 2014-06-08 11:30:21 +0100 |
---|---|---|
committer | Alan Pearce | 2014-06-08 11:30:21 +0100 |
commit | 6f12d61e30d8b53f32d4a392451cbb8c39d187a5 (patch) | |
tree | 3bb91a38514876b41c9253df53d5b52a291c791d | |
parent | 5c6f5961ae71938634df4268e96de0523efb7e57 (diff) | |
download | hyde-6f12d61e30d8b53f32d4a392451cbb8c39d187a5.tar.lz hyde-6f12d61e30d8b53f32d4a392451cbb8c39d187a5.tar.zst hyde-6f12d61e30d8b53f32d4a392451cbb8c39d187a5.zip |
Use a longer date format
-rw-r--r-- | layouts/_default/list.html | 2 | ||||
-rw-r--r-- | layouts/_default/single.html | 2 | ||||
-rw-r--r-- | layouts/index.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index bf28d91..aaf51fc 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 "Mon, Jan 2, 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/_default/single.html b/layouts/_default/single.html index 3bff8fb..3cc7641 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -3,7 +3,7 @@ <main class="content container" role="main"> <article class="post"> <h1>{{ .Title }}</h1> - <time class="post-date" datetime="{{ .Date.Format "2006-01-02 15:04:05Z" }}">{{ .Date.Format "Mon, Jan 2, 2006" }}</time> + <time class="post-date" datetime="{{ .Date.Format "2006-01-02 15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time> {{ .Content }} </article> </main> diff --git a/layouts/index.html b/layouts/index.html index 5d181e6..303173e 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -9,7 +9,7 @@ {{ .Title }} </a> </h1> - <time class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</time> + <time class="post-date">{{ .Date.Format "Monday, 2 January, 2006" }}</time> {{ .Content }} </article> {{ end }} |