Add titles to dates
This commit is contained in:
parent
3a96ec2a3e
commit
d4cc96c7c9
2 changed files with 2 additions and 2 deletions
|
@ -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> {{ . }}
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue