summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJames Mills <prologic@shortcircuit.net.au>2020-03-25 12:40:00 +1000
committerJames Mills <prologic@shortcircuit.net.au>2020-03-25 12:40:00 +1000
commit7113a7bd05c72406fc971fa720b05bb934732c04 (patch)
tree5275cce369c47d2163292705cdfe47575af7c4b8 /templates
parent6fa6432090b4878701ff05cebd4f25658c761288 (diff)
Add support for keeping trakc of and viewing no. of views per video
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index e756a06..4888cb4 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -4,7 +4,7 @@
{{ if $playing.ID }}
<video id="video" controls poster="/t/{{ $playing.ID}}" src="/v/{{ $playing.ID }}.mp4"></video>
<h1>{{ $playing.Title }}</h1>
- <h2>{{ $playing.Modified }}</h2>
+ <h2>{{ $playing.Views }} views • {{ $playing.Modified }}</h2>
<p>{{ $playing.Description }}</p>
{{ else }}
<video id="video" controls></video>