fixing whatever the hell I broke

This commit is contained in:
2026-08-02 00:20:57 +00:00
parent 010ea0d5cc
commit 2f450e641d
37 changed files with 644 additions and 379 deletions
+9 -6
View File
@@ -1,6 +1,9 @@
<audio controls preload="auto">
<source src="{{ .Get "src" }}" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<figure {{ with .Get "class" }}class="{{ . }}"{{ end }}>
<audio controls preload="{{ .Get "preload" | default "metadata" }}">
<source src="{{ .Get "src" | relURL }}" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
{{ with .Get "caption" }}
<figcaption>{{ . }}</figcaption>
{{ end }}
</figure>