2022-03-18 13:35:57 +01:00
|
|
|
{{ define "main" }}
|
|
|
|
|
2023-09-23 22:40:36 +02:00
|
|
|
<section class="section" data-pagefind-body>
|
2022-03-18 13:35:57 +01:00
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
2023-07-24 12:02:51 +02:00
|
|
|
<div class="col-lg-8">
|
|
|
|
<img src="{{ .Params.image | relURL }}" alt="{{ .Title }}" class="img-fluid w-100 mb-4">
|
|
|
|
<div class="d-flex flex-wrap gap-2 justify-content-between">
|
|
|
|
<div class="text-body-secondary">
|
|
|
|
<span class="fw-bold me-1">Geschrieben von:</span>
|
|
|
|
{{ partial "authors" (dict "Site" .Site "author" .Params.author )}}
|
2022-03-18 13:35:57 +01:00
|
|
|
</div>
|
2023-07-24 12:02:51 +02:00
|
|
|
<div class="text-body-secondary">
|
|
|
|
<span class="fw-bold me-1">Datum:</span>
|
|
|
|
{{ time.Format "02. Jan 2006" .PublishDate }}
|
2023-04-03 21:45:44 +02:00
|
|
|
</div>
|
2023-07-24 12:02:51 +02:00
|
|
|
<div class="text-body-secondary">
|
2023-06-21 17:58:49 +02:00
|
|
|
<span class="fw-bold me-1">Kategorien:</span>
|
2023-05-29 16:22:34 +02:00
|
|
|
{{ range $index, $elements := .Params.categories }}
|
2023-04-03 21:45:44 +02:00
|
|
|
{{ if ne $index 0 }}, {{ end }}
|
2023-06-21 17:58:49 +02:00
|
|
|
<a href="{{ `categories/` | relURL }}{{ . | urlize | lower }}">{{ . | title }}</a>
|
2023-04-03 21:45:44 +02:00
|
|
|
{{ end }}
|
2022-03-18 13:35:57 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-07-31 20:54:52 +02:00
|
|
|
<div class="border-bottom my-4"></div>
|
|
|
|
<div class="content text-justify mb-4">
|
2023-07-24 12:02:51 +02:00
|
|
|
{{ .Content }}
|
|
|
|
</div>
|
2022-03-18 13:35:57 +01:00
|
|
|
</div>
|
|
|
|
{{ partial "blog-sidebar.html" . }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{{ end }}
|