mirror of
https://github.com/Kugelschieber/schnittfest.git
synced 2026-11-12 09:02:01 +01:00
Optimized content and fixed a few mobile issues.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{{- $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>
|
||||
Reference in New Issue
Block a user