aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-12-03 15:54:21 +0000
committerng0 <ng0@n0.is>2019-12-03 15:54:21 +0000
commit47612825ed7b777d6f3e749765ca4fb57f68aef3 (patch)
tree1f94a5e8646c11f15a072b096d9ab1f360e40c23 /template
parentb8ca26b17016c9397a87a2c6ed9aefca56520a3f (diff)
downloadwww-47612825ed7b777d6f3e749765ca4fb57f68aef3.tar.gz
www-47612825ed7b777d6f3e749765ca4fb57f68aef3.zip
video: Add urls to alternate text.
Diffstat (limited to 'template')
-rw-r--r--template/video.html.j212
1 files changed, 12 insertions, 0 deletions
diff --git a/template/video.html.j2 b/template/video.html.j2
index f3c92b86..fe1316b8 100644
--- a/template/video.html.j2
+++ b/template/video.html.j2
@@ -30,6 +30,18 @@
30 <source src=""> 30 <source src="">
31 {% endif %} 31 {% endif %}
32 Your web browser does not support the video tag. 32 Your web browser does not support the video tag.
33 {% if item['sources'] %}
34 Don&#39;t worry, you can download:
35 {% for video in item['sources'] %}
36 <a href="{{ video }}">source</a>
37 {% if not loop.last %}
38 ,
39 {% endif %}
40 {% endfor %}
41 or use
42 git clone https://git.gnunet.org/gnunet-videos-{{ item['year'] }}.git
43 and watch it in your favorite video player!
44 {% endif %}
33 </video> 45 </video>
34 </div> 46 </div>
35 <div class="col"> 47 <div class="col">