fixing whatever the hell I broke
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user