gcg-website/layouts/partials/card-article.html

19 lines
955 B
HTML
Raw Permalink Normal View History

2023-07-29 13:16:25 +02:00
<div class="card border-primary rounded-0 hover-shadow mb-2">
<a href="{{ .Permalink }}"><img class="card-img-top rounded-0" src="{{ .Params.image | relURL }}" alt="{{ .Title }}"></a>
<div class="card-body d-flex flex-column">
<div class="d-flex justify-content-between gap-1 flex-wrap mb-2">
2024-01-20 20:09:43 +01:00
<span>
{{ partial "mdi" "calendar-today"}}
<span class="ms-2">{{ time.Format "02. Jan 2006" .PublishDate }}</span>
</span>
<span class="text-truncate">
2024-01-20 20:09:43 +01:00
{{ partial "mdi" "fountain-pen-tip" }}
<span class="ms-2">{{ partial "authors" (dict "Site" .Site "author" .Params.author )}}</span>
</span>
</div>
<h4 class="card-title text-truncate"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
<p class="card-text">{{ partial "summary" .Summary }}</p>
2023-06-21 17:58:49 +02:00
<a href="{{ .Permalink }}" class="btn btn-primary btn-sm mt-auto align-self-start" data-pagefind-ignore>Mehr anzeigen</a>
</div>
</div>