Hugo Media Shortcodes (#62)
* Add audio Shortcode * Add video Shortcode * Refactor Shortcodes * Add src parameter to media shortcodes
This commit is contained in:
parent
05cb4e47db
commit
50bae0443b
|
@ -0,0 +1,4 @@
|
|||
<audio preload="auto" controls>
|
||||
<source src="{{.Get "src"}}" type="audio/ogg">
|
||||
Your browser doesn't support Ogg Vorbis audio. :(
|
||||
</audio>
|
|
@ -0,0 +1,4 @@
|
|||
<video preload="auto" controls>
|
||||
<source src="{{.Get "src"}}" type="video/ogg">
|
||||
Your browser doesn't support Ogg Theora video. :(
|
||||
</video>
|
Reference in New Issue