This commit is contained in:
Denys Konovalov 2022-10-19 18:15:01 +02:00
parent 535aa50586
commit 51ffcc72cb
4 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@
<div class="card-body">
<ul class="list-inline mb-3">
<li class="list-inline-item mr-3 ml-0"><i class="fa-solid fa-calendar-day"></i>
{{ .PublishDate.Format "02 Jan, 2006" }}</li>
{{ time.Format "02 Jan 2006" .PublishDate }}</li>
<li class="list-inline-item mr-3 ml-0"><i class="fa-solid fa-user"></i> <a
href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize }}">{{ .Params.Author | title }}</a>
</li>

View File

@ -2,7 +2,7 @@
<img class="card-img-top rounded-0" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
<div class="card-body">
<ul class="list-inline mb-3">
<li class="list-inline-item mr-3 ml-0"><i class="fa-solid fa-calendar-day"></i> {{ .PublishDate.Format "02 Jan, 2006" }}</li>
<li class="list-inline-item mr-3 ml-0"><i class="fa-solid fa-calendar-day"></i> {{ time.Format "02 Jan 2006" .PublishDate }}</li>
<li class="list-inline-item mr-3 ml-0"><i class="fa-solid fa-user"></i> <a
href="{{ `author` | relLangURL }}{{ .Params.Author | urlize }}">{{ .Params.Author | title }}</a></li>
</ul>

View File

@ -15,7 +15,7 @@
href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize }}">{{ .Params.Author | title }}</a></li>
<li class="list-inline-item mr-4 mb-3 mb-md-0 text-light"><span class="font-weight-bold mr-2">{{ i18n "date" }}
:</span>{{ .PublishDate.Format "02 Jan, 2006" }}</li>
:</span>{{ time.Format "02 Jan, 2006" .PublishDate }}</li>
<li class="list-inline-item mr-4 mb-3 mb-md-0 text-light"><span class="font-weight-bold mr-2">{{ i18n "category" }}
:</span>{{ range $index, $elements:= .Params.Categories }}<a

View File

@ -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 }}