2022-03-18 13:35:57 +01:00
|
|
|
{{ define "main" }}
|
|
|
|
|
|
|
|
<section class="section-sm">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-8 order-2 order-lg-1">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 mb-4">
|
2023-04-03 21:45:44 +02:00
|
|
|
<img src="{{ .Params.image | relURL }}" alt="{{ .Title }}" class="img-fluid w-100">
|
2022-03-18 13:35:57 +01:00
|
|
|
</div>
|
|
|
|
<div class="col-12">
|
2023-04-03 21:45:44 +02:00
|
|
|
<div class="row mb-3">
|
|
|
|
<div class="col-6 mb-md-0 text-light">
|
2023-04-04 18:34:22 +02:00
|
|
|
<span class="fw-bold me-1">{{ i18n "posted_by" }}:</span>
|
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 class="col-6 mb-3 mb-md-0 text-light">
|
2023-04-04 18:34:22 +02:00
|
|
|
<span class="fw-bold me-1">{{ i18n "date" }}:</span>
|
2023-04-03 21:45:44 +02:00
|
|
|
{{ time.Format "02. Jan 2006" .PublishDate }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 mb-md-0 text-light">
|
2023-04-04 18:34:22 +02:00
|
|
|
<span class="fw-bold me-1">{{ i18n "category" }}:</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 }}
|
|
|
|
<a href="{{ `categories/` | relLangURL }}{{ . | urlize | lower }}">{{ . | title }}</a>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-18 13:35:57 +01:00
|
|
|
</div>
|
|
|
|
<div class="col-12 my-4">
|
|
|
|
<div class="border-bottom"></div>
|
|
|
|
</div>
|
2023-02-23 16:35:52 +01:00
|
|
|
<div class="col-12 mb-5 content content-justify">
|
2022-03-18 13:35:57 +01:00
|
|
|
{{ .Content }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ partial "blog-sidebar.html" . }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{{ end }}
|