added audio shortcode
This commit is contained in:
parent
44fb2b476b
commit
e627ca5bda
5
layouts/shortcodes/audio.html
Normal file
5
layouts/shortcodes/audio.html
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<audio controls>
|
||||||
|
<!-- <source src="/airPods2.mp3" type="audio/mp3"> -->
|
||||||
|
<source src="/{{.Get "audio-name"}}.{{.Get "audio-type"}}" type="audio/{{.Get "audio-type"}}"> Your browser does
|
||||||
|
not support the audio element.
|
||||||
|
</audio>
|
Loading…
x
Reference in New Issue
Block a user