layout fixes

This commit is contained in:
2023-02-22 12:29:06 +01:00
parent 1333146289
commit c53d4ff2e3
2 changed files with 9 additions and 8 deletions

View File

@ -10,15 +10,16 @@
</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 "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 "date" }}:
<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>{{ 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>