diff options
Diffstat (limited to 'src/views')
-rw-r--r-- | src/views/media.pug | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/views/media.pug b/src/views/media.pug new file mode 100644 index 0000000..5df6057 --- /dev/null +++ b/src/views/media.pug | |||
@@ -0,0 +1,4 @@ | |||
1 | if kind == 'img' | ||
2 | img(src=url) | ||
3 | else | ||
4 | video(src=url controls) | ||