Datum-Format
This commit is contained in:
parent
c53d4ff2e3
commit
23fca07393
@ -14,7 +14,7 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<ul class="list-inline mb-3">
|
<ul class="list-inline mb-3">
|
||||||
<li class="list-inline-item mr-3 ml-0"><i class="mdi mdi-calendar-today"></i>
|
<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
|
<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>
|
href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize }}">{{ .Params.Author | title }}</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<img class="card-img-top rounded-0" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
|
<img class="card-img-top rounded-0" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<ul class="list-inline mb-3">
|
<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
|
<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>
|
href="{{ `author` | relLangURL }}/{{ .Params.Author | urlize }}">{{ .Params.Author | title }}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -15,10 +15,10 @@
|
|||||||
|
|
||||||
<li class="list-inline-item mr-4 mb-3 mb-md-0 text-light"><span class="font-weight-bold mr-2">{{ i18n "date" }}:
|
<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" }}:
|
<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
|
</span>{{ range $index, $elements:= .Params.Categories }}<a
|
||||||
href="{{ `categories/` | relLangURL }}{{ . | urlize | lower }}"> {{ if ne $index 0 }}, {{ end }}
|
href="{{ `categories/` | relLangURL }}{{ . | urlize | lower }}"> {{ if ne $index 0 }}, {{ end }}
|
||||||
{{ . | title }}</a> {{ end}}</li>
|
{{ . | title }}</a> {{ end}}</li>
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
<a href="{{ .Permalink }}">
|
<a href="{{ .Permalink }}">
|
||||||
<h5 class="mt-0">{{ .Title }}</h5>
|
<h5 class="mt-0">{{ .Title }}</h5>
|
||||||
</a>
|
</a>
|
||||||
{{ time.Format "02 Jan 2006" .PublishDate }}
|
{{ time.Format "02. Jan 2006" .PublishDate }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user