Datum-Format

This commit is contained in:
Denys Konovalov 2023-02-22 12:32:28 +01:00
parent 7481b187aa
commit 208f93dfbf
4 changed files with 5 additions and 5 deletions

@ -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="mdi mdi-calendar-today"></i>
{{ time.Format "02 Jan 2006" .PublishDate }}</li>
{{ time.Format "02. Jan 2006" .PublishDate }}</li>
<li class="list-inline-item mr-3 ml-0"><i class="mdi mdi-fountain-pen-tip"></i> <a
href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize }}">{{ .Params.Author | title }}</a>
</li>

@ -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="mdi mdi-calendar-today"></i> {{ time.Format "02 Jan 2006" .PublishDate }}</li>
<li class="list-inline-item mr-3 ml-0"><i class="mdi mdi-calendar-today"></i> {{ time.Format "02. Jan 2006" .PublishDate }}</li>
<li class="list-inline-item mr-3 ml-0"><i class="mdi mdi-fountain-pen-tip"></i> <a
href="{{ `author` | relLangURL }}/{{ .Params.Author | urlize }}">{{ .Params.Author | title }}</a></li>
</ul>

@ -15,7 +15,7 @@
<li class="list-inline-item mr-4 mb-3 mb-md-0 text-light"><span class="font-weight-bold mr-2">{{ i18n "date" }}:
</span>{{ time.Format "02 Jan 2006" .PublishDate }}</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" }}:

@ -32,7 +32,7 @@
<a href="{{ .Permalink }}">
<h5 class="mt-0">{{ .Title }}</h5>
</a>
{{ time.Format "02 Jan 2006" .PublishDate }}
{{ time.Format "02. Jan 2006" .PublishDate }}
</div>
</div>
{{ end }}