2023-07-24 12:02:51 +02:00
|
|
|
<aside class="col-lg-4 mt-4 mt-lg-0" data-pagefind-ignore="all">
|
2023-07-29 13:16:25 +02:00
|
|
|
<div class="mb-4">
|
2023-06-21 17:58:49 +02:00
|
|
|
<h4 class="mb-4">Kategorien</h4>
|
2023-06-19 20:30:02 +02:00
|
|
|
{{ $transliterations := .Site.Data.transliterations.transliterations }}
|
2023-07-29 13:16:25 +02:00
|
|
|
{{ if isset .Site.Taxonomies "categories" }}
|
|
|
|
{{ if not (eq (len .Site.Taxonomies.categories) 0) }}
|
2023-07-24 12:02:51 +02:00
|
|
|
<div class="tag-list">
|
2023-07-29 13:16:25 +02:00
|
|
|
{{ range $name, $items := .Site.Taxonomies.categories }}
|
2023-07-24 12:02:51 +02:00
|
|
|
<a href="{{ `categories/` | relURL }}{{ $name | urlize | lower }}">{{ if (index $transliterations $name) }}{{ index $transliterations $name }}{{ else }}{{ $name | title }}{{end}}</a>
|
2023-07-29 13:16:25 +02:00
|
|
|
{{ end }}
|
2023-07-24 12:02:51 +02:00
|
|
|
</div>
|
2023-07-29 13:16:25 +02:00
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2022-03-18 13:35:57 +01:00
|
|
|
</div>
|
2023-07-29 13:16:25 +02:00
|
|
|
<div class="mb-4">
|
2023-06-21 17:58:49 +02:00
|
|
|
<h4 class="mb-4">Tags</h4>
|
2023-07-29 13:16:25 +02:00
|
|
|
{{ if isset .Site.Taxonomies "tags" }}
|
|
|
|
{{ if not (eq (len .Site.Taxonomies.tags) 0) }}
|
2023-07-24 12:02:51 +02:00
|
|
|
<div class="tag-list">
|
2023-07-29 13:16:25 +02:00
|
|
|
{{ range $name, $items := .Site.Taxonomies.tags }}
|
2023-07-24 12:02:51 +02:00
|
|
|
<a href="{{ `tags/` | relURL }}{{ $name | urlize | lower }}">{{ $name }}</a>
|
2023-07-29 13:16:25 +02:00
|
|
|
{{ end }}
|
2023-07-24 12:02:51 +02:00
|
|
|
</div>
|
2023-07-29 13:16:25 +02:00
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2022-03-18 13:35:57 +01:00
|
|
|
</div>
|
|
|
|
<div class="bg-white">
|
2023-06-21 17:58:49 +02:00
|
|
|
<h4 class="mb-4">Neuste Beiträge</h4>
|
2023-04-03 21:45:44 +02:00
|
|
|
{{ range first 5 ( where .Site.Pages "Type" "post" )}}
|
2023-04-04 18:34:22 +02:00
|
|
|
<div class="d-flex border-bottom border-color pb-3 mb-3">
|
2023-07-29 13:16:25 +02:00
|
|
|
<a href="{{ .Permalink }}"><img class="me-3 post-thumb-sm" src="{{ .Params.image | absURL }}"></a>
|
|
|
|
<div class="flex-grow-1 min-w-0 d-flex flex-column justify-content-between">
|
2022-03-18 13:35:57 +01:00
|
|
|
<a href="{{ .Permalink }}">
|
2023-07-29 13:16:25 +02:00
|
|
|
<h5 class="text-truncate">{{ .Title }}</h5>
|
2022-03-18 13:35:57 +01:00
|
|
|
</a>
|
2023-02-22 12:32:28 +01:00
|
|
|
{{ time.Format "02. Jan 2006" .PublishDate }}
|
2022-03-18 13:35:57 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2022-06-20 20:33:12 +02:00
|
|
|
</aside>
|