2022-03-18 13:35:57 +01:00
|
|
|
{{ define "main" }}
|
|
|
|
|
2023-06-11 21:13:11 +02:00
|
|
|
<section class="section bg-light">
|
2023-04-03 21:45:44 +02:00
|
|
|
<div class="container">
|
|
|
|
<div class="text-center">
|
2023-07-24 12:02:51 +02:00
|
|
|
{{ if .Params.image }}
|
|
|
|
<img class="rounded-circle img-fluid mb-4" src="{{.Params.Image | relURL }}" width="128px" height="128px">
|
2023-04-03 21:45:44 +02:00
|
|
|
{{ else if .Params.email}}
|
|
|
|
<img class="rounded-circle img-fluid mb-4" src="https://www.gravatar.com/avatar/{{ md5 .Params.email }}?s=128&pg&d=identicon">
|
|
|
|
{{ end }}
|
2023-07-24 12:02:51 +02:00
|
|
|
<h4 class="fw-bold">{{ .Title }}</h4>
|
2023-04-03 21:45:44 +02:00
|
|
|
<hr>
|
|
|
|
{{ .Content }}
|
|
|
|
<hr>
|
2023-07-24 12:02:51 +02:00
|
|
|
{{ with .Params.email }}
|
|
|
|
<a href="mailto:{{ . }}"><i class="mdi mdi-at"></i></a>
|
|
|
|
{{ end }}
|
2022-03-18 13:35:57 +01:00
|
|
|
</div>
|
2023-04-03 21:45:44 +02:00
|
|
|
</div>
|
2022-03-18 13:35:57 +01:00
|
|
|
</section>
|
|
|
|
|
2023-07-24 12:02:51 +02:00
|
|
|
<section class="section pt-0 bg-light">
|
2023-04-03 21:45:44 +02:00
|
|
|
<div class="container">
|
2023-07-24 12:02:51 +02:00
|
|
|
<div class="title text-center">
|
2023-06-21 17:58:49 +02:00
|
|
|
<h2 class="mb-4">Geschrieben von {{ .Title }}</h2>
|
2022-03-18 13:35:57 +01:00
|
|
|
</div>
|
2023-07-24 12:02:51 +02:00
|
|
|
<div class="row">
|
2023-06-21 10:41:03 +02:00
|
|
|
{{ range where .Site.RegularPages "Params.author" "intersect" (slice .File.BaseFileName) }}
|
2023-07-24 12:02:51 +02:00
|
|
|
<div class="col-lg-4 col-sm-6 d-flex align-items-stretch">
|
2023-07-15 15:50:10 +02:00
|
|
|
{{ partial "card" . }}
|
2023-04-03 21:45:44 +02:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-18 13:35:57 +01:00
|
|
|
</section>
|
2023-04-03 21:45:44 +02:00
|
|
|
|
2023-01-22 18:24:57 +00:00
|
|
|
{{ end }}
|