Fixed embedded audio
This commit is contained in:
parent
b90c6ab901
commit
0bea3c379e
2 changed files with 12 additions and 21 deletions
5
layouts/shortcodes/audio.html
Normal file
5
layouts/shortcodes/audio.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<p>
|
||||
<audio class="player" preload="none" controls="controls">
|
||||
<source type="audio/mp3" src="/posts/audio/{{ index .Params 0 }}" />
|
||||
</audio>
|
||||
</p>
|
Loading…
Add table
Add a link
Reference in a new issue