Layout-Umbauten:
- Standartisierung der Karten-/Template-Elemente (schließt #224) - Verbesserung einiger Ansichten - "schrumpfung" - Code-Cleanups - Trabsliteration Kategorien u. v. m.
This commit is contained in:
@ -6,24 +6,28 @@
|
||||
<div class="col-lg-8 order-2 order-lg-1">
|
||||
<div class="row">
|
||||
<div class="col-12 mb-4">
|
||||
<img src="{{ .Params.Image | relURL }}" alt="blog-thumb" class="img-fluid w-100">
|
||||
<img src="{{ .Params.image | relURL }}" alt="{{ .Title }}" class="img-fluid w-100">
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<ul class="list-inline">
|
||||
<li class="list-inline-item mr-4 mb-3 mb-md-0 text-light"><span class="font-weight-bold mr-2">{{ i18n "posted_by" }}:</span>
|
||||
<a 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>{{ 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
|
||||
href="{{ `categories/` | relLangURL }}{{ . | urlize | lower }}"> {{ if ne $index 0 }}, {{ end }}
|
||||
{{ . | title }}</a> {{ end}}</li>
|
||||
|
||||
</ul>
|
||||
<div class="row mb-3">
|
||||
<div class="col-6 mb-md-0 text-light">
|
||||
<span class="font-weight-bold mr-1">{{ i18n "posted_by" }}:</span>
|
||||
<a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize }}">{{ .Params.author | title }}</a>
|
||||
</div>
|
||||
<div class="col-6 mb-3 mb-md-0 text-light">
|
||||
<span class="font-weight-bold mr-1">{{ i18n "date" }}:</span>
|
||||
{{ time.Format "02. Jan 2006" .PublishDate }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12 mb-md-0 text-light">
|
||||
<span class="font-weight-bold mr-1">{{ i18n "category" }}:</span>
|
||||
{{ range $index, $elements:= .Params.categories }}
|
||||
{{ if ne $index 0 }}, {{ end }}
|
||||
<a href="{{ `categories/` | relLangURL }}{{ . | urlize | lower }}">{{ . | title }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 my-4">
|
||||
<div class="border-bottom"></div>
|
||||
|
Reference in New Issue
Block a user