diff options
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/blog-list.html | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/layouts/partials/blog-list.html b/layouts/partials/blog-list.html index c05eb84..d39be55 100644 --- a/layouts/partials/blog-list.html +++ b/layouts/partials/blog-list.html @@ -2,14 +2,8 @@ <div class="blog-post-wrapper"> <a class="blog-post-anchor" href="{{ .RelPermalink }}"> <div class="blog-post"> - <span class="date"> - {{/* .Date.Format "2" }}{{ if in (slice 1 21 31) .Date.Day}}st{{ else if in (slice 2 22) .Date.Day}}nd{{ else if in (slice 3 23) .Date.Day}}rd{{ else }}th{{ end }} {{ .Date.Format "January" */}} - {{ .Date.Format "02" }} {{ .Date.Format "Jan" }} - </span> - - <span class="title"> - {{ .Title }} - </span> + <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "02 Jan" }}</time> + <span class="title">{{ .Title }}</span> </div> </a> </div> |