mirror of
https://github.com/Speyll/anemone.git
synced 2024-11-14 10:16:35 +00:00
6 lines
305 B
HTML
6 lines
305 B
HTML
|
<figure {{ with .Get "class" }}class="{{ . }}"{{ end }}>
|
||
|
<audio loop controls preload="{{ .Get "preload" | default "metadata" }}">
|
||
|
{{ with .Get "src" }}<source src="{{ . | relURL }}" type="audio/mpeg">{{ end }}
|
||
|
{{ with .Get "caption" }}<figcaption>{{ . }}</figcaption>{{ end }}
|
||
|
</audio>
|
||
|
</figure>
|