2022-04-11 15:45:49 +02:00
|
|
|
{{ $text := "solo" }}
|
2022-06-15 20:04:06 +02:00
|
|
|
{{ $content := .context.Content }}
|
2022-04-11 15:45:49 +02:00
|
|
|
<section>
|
2022-04-12 08:35:34 +02:00
|
|
|
<div class="articleinner">
|
|
|
|
<div class="articletext {{ $text }}">
|
2022-04-10 00:53:31 +02:00
|
|
|
{{ if .partial_before }}
|
|
|
|
{{ partial .partial_before (dict "context" .context "pic" .pic) }}
|
|
|
|
{{ end }}
|
2022-06-14 23:01:19 +02:00
|
|
|
{{ if in .context.File "imprint" }}
|
|
|
|
{{ if i18n "executive" }}{{ i18n "executive" }}{{ else }}{{ "Executive" }}{{ end }}: {{ .context.Site.Params.imprintdata.executive }}
|
|
|
|
{{ end }}
|
2022-04-10 00:53:31 +02:00
|
|
|
{{ .content }}
|
2022-06-15 20:04:06 +02:00
|
|
|
{{ if .context.Resources.ByType "image" }}
|
|
|
|
{{ range .context.Resources.ByType "image" }}
|
|
|
|
{{ $picname := . }}
|
|
|
|
{{ if not (or (in $content $picname.Name ) (hasPrefix $picname.Name "banner") )}}
|
|
|
|
<div class="article-image">
|
|
|
|
<a href="{{- $picname.Permalink -}}" class="no_underline">
|
|
|
|
<img loading="lazy"
|
|
|
|
src="{{ .Permalink }}"
|
|
|
|
alt="{{ . }}"
|
|
|
|
{{ with .Title}} title="{{ . }}"{{ end }}
|
|
|
|
width={{ $picname.Width }}
|
|
|
|
height="{{ $picname.Height }}" />
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2022-04-10 00:53:31 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-04-11 15:45:49 +02:00
|
|
|
</section>
|