summaryrefslogtreecommitdiff
path: root/themes/fredo/layouts/_shortcodes/audio.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/fredo/layouts/_shortcodes/audio.html')
-rw-r--r--themes/fredo/layouts/_shortcodes/audio.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/themes/fredo/layouts/_shortcodes/audio.html b/themes/fredo/layouts/_shortcodes/audio.html
new file mode 100644
index 0000000..d44de40
--- /dev/null
+++ b/themes/fredo/layouts/_shortcodes/audio.html
@@ -0,0 +1,10 @@
+<table>
+<tr>
+<td>{{- .Get "caption" -}}:</td>
+<td>
+<audio controls>
+ <source type="audio/mp4" src="{{- .Get "src" -}}">
+</audio>
+</td>
+</tr>
+</table>