Add Deutschland Audio

This commit is contained in:
2022-03-24 14:59:03 +01:00
parent 82fc610882
commit a90536aace
7 changed files with 26 additions and 6 deletions

View File

@@ -2,5 +2,5 @@
<audio controls preload="{{ .Get "preload" | default "metadata" }}">
{{ with .Get "src" }}<source src="{{ . | relURL }}" type="audio/mpeg">{{ end }}
</audio>
{{ with .Get "caption" }}<figcaption>{{ . }}</figcaption>{{ end }}
{{ with .Get "caption" }}<figcaption class="audioCaption">{{ . }}</figcaption>{{ end }}
</figure>

View File

@@ -0,0 +1 @@
<p {{ with .Get "class" }}class="{{ . }}"{{ end }}>{{ with .Get "text" }}{{ . }}{{ end }}</p>