Files
schnittfest/tpl/work.html
T
2026-10-14 19:29:31 +02:00

18 lines
874 B
HTML

{{- $headline := default (copy .Page .Content "headline") "Referenzen" -}}
{{- $text := copy .Page .Content "text" -}}
<section class="work" id="work" data-shifu-element="{{ .Content.Position }}">
<div class="filmstrip" aria-hidden="true"></div>
<div class="work__inner">
<div class="work__head" data-component="reveal">
<h2 class="section-title section-title--light"><span class="section-title__nr">02</span>{{ $headline }}</h2>
{{ with $text }}<div class="work__text">{{ html . }}</div>{{ end }}
</div>
<div class="work__list">
{{ .CMS.Render .Args .Page (fmt "%s.content" .Content.Position) (index .Content.Content "content") }}
<slot name="{{ .Content.Position }}/content"></slot>
</div>
</div>
<div class="filmstrip filmstrip--bottom" aria-hidden="true"></div>
</section>