started edm post, added some music, not posted yet
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<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>
|
||||
<audio controls preload="metadata" style="width: 100%;">
|
||||
<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