aboutsummaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
Diffstat (limited to 'src/views')
-rw-r--r--src/views/media.pug4
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 @@
1if kind == 'img'
2 img(src=url)
3else
4 video(src=url controls)