1
Fork 0

Add titles to dates

This commit is contained in:
Jake Howard 2017-10-27 13:47:00 +01:00
parent 3a96ec2a3e
commit d4cc96c7c9
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@
<h1 class="display-5">{{ .Title }}</h1>
<h5 class="my-3">{{ .Params.subtitle }}</h5>
<p>
<span class="pr-4">{{ .Date.Format "2006-01-02" }}</span>
<span class="pr-4" title='{{ .Date.Format "January 2 2006" }}'>{{ .Date.Format "2006-01-02" }}</span>
{{ range .Params.tags }}
<a href="/tags/{{ urlize . }}" class="badge badge-dark mr-2" style="font-size: 1rem">
<i class="fa fa-tag"></i> {{ . }}

View file

@ -6,7 +6,7 @@
{{ range $paginator.PageGroups }}
{{ $month := (print .Key "-01") }}
<h3 class="mt-5">
<time class="posts-archive-month" datetime="{{ $month }}">{{ dateFormat "2006-01" $month }}</time>
<time datetime="{{ $month }}" title='{{ dateFormat "January 2006" $month }}'>{{ dateFormat "2006-01" $month }}</time>
</h3>
{{ range .Pages.ByDate }}
<div class="media list-page-item mb-3">