fix date
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
{{- if not (eq (len .Site.Taxonomies.tags) 0) }}
|
||||
<ul class="list-inline tag-list">
|
||||
{{- range $name, $items := .Site.Taxonomies.tags }}
|
||||
<li class="list-inline-item mb-2"><a href="{{ `tags/` | relLangURL }}{{ $name | urlize | lower }}">{{ $name | humanize }}</a></li>
|
||||
<li class="list-inline-item mb-2"><a href="{{ `tags/` | relLangURL }}{{ $name | urlize | lower }}">{{ $name }}</a></li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
{{- end }}
|
||||
@ -32,7 +32,7 @@
|
||||
<a href="{{ .Permalink }}">
|
||||
<h5 class="mt-0">{{ .Title }}</h5>
|
||||
</a>
|
||||
{{ .PublishDate.Format "02 Jan 2006" }}
|
||||
{{ time.Format "02 Jan 2006" .PublishDate }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user