Autoren-Status/einfache bzw. erweiterte Autoren (schließt #217)

This commit is contained in:
2023-04-05 16:15:00 +02:00
parent 1c7b3a6352
commit 658dce686a
20 changed files with 68 additions and 29 deletions

View File

@ -3,9 +3,15 @@
<div class="card-body d-flex flex-column">
<div class="row mb-2">
<div class="col-6"><i class="mdi mdi-calendar-today me-2"></i>{{ time.Format "02. Jan 2006" .PublishDate }}</div>
<div class="col-6">
<div class="col-6 text-truncate">
<i class="mdi mdi-fountain-pen-tip me-2"></i>
<a href="{{ `author` | relLangURL }}/{{ .Params.author | urlize }}">{{ .Params.author | title }}</a>
{{ range where (where .Site.RegularPages "Type" "author") "Title" .Params.author }}
{{ if .Params.simplified }}
{{ .Title }}
{{ else }}
<a href="{{ .Permalink }}">{{ .Title }}</a>
{{ end }}
{{ end }}
</div>
</div>
<h4 class="card-title text-truncate"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>