mirror of
https://github.com/Kugelschieber/schnittfest.git
synced 2026-11-12 09:02:01 +01:00
10 lines
450 B
HTML
10 lines
450 B
HTML
{{- $title := copy .Page .Content "title" -}}
|
|
{{- $text := copy .Page .Content "text" -}}
|
|
{{- $color := default (get .Content "color") "yellow" -}}
|
|
|
|
<li class="frame frame--{{ $color }}" data-component="reveal" data-shifu-element="{{ .Content.Position }}">
|
|
<span class="frame__nr" aria-hidden="true"></span>
|
|
{{ with $title }}<h3 class="frame__title">{{ . }}</h3>{{ end }}
|
|
{{ with $text }}<p class="frame__text">{{ . }}</p>{{ end }}
|
|
</li>
|