2023-04-03 21:45:44 +02:00
|
|
|
<div class="card border-primary rounded-0 hover-shadow mb-4">
|
|
|
|
<a href="{{ .Permalink }}"><img class="card-img-top rounded-0" src="{{ .Params.image | relURL }}" alt="{{ .Title }}"></a>
|
2023-04-05 14:16:33 +02:00
|
|
|
<div class="card-body d-flex flex-column">
|
2023-04-03 21:45:44 +02:00
|
|
|
<div class="row mb-2">
|
2023-04-04 18:34:22 +02:00
|
|
|
<div class="col-6"><i class="mdi mdi-calendar-today me-2"></i>{{ time.Format "02. Jan 2006" .PublishDate }}</div>
|
2023-04-05 16:15:00 +02:00
|
|
|
<div class="col-6 text-truncate">
|
2023-04-04 18:34:22 +02:00
|
|
|
<i class="mdi mdi-fountain-pen-tip me-2"></i>
|
2023-05-29 16:22:34 +02:00
|
|
|
{{ range $index, $elements := where (where .Site.RegularPages "Type" "author") "File.BaseFileName" "in" .Params.author }}
|
|
|
|
{{ if ne $index 0 }}, {{ end }}
|
2023-04-05 16:15:00 +02:00
|
|
|
{{ if .Params.simplified }}
|
|
|
|
{{ .Title }}
|
|
|
|
{{ else }}
|
|
|
|
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2023-04-03 21:45:44 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-04-05 14:16:33 +02:00
|
|
|
<h4 class="card-title text-truncate"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
2023-04-03 21:45:44 +02:00
|
|
|
<p class="card-text">{{ .Summary | truncate 100 }}</p>
|
2023-04-05 14:16:33 +02:00
|
|
|
<a href="{{ .Permalink }}" class="btn btn-primary btn-sm mt-auto align-self-start" data-pagefind-ignore>{{ i18n "read_more" }}</a>
|
2023-04-03 21:45:44 +02:00
|
|
|
</div>
|
|
|
|
</div>
|