summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-05-15 07:53:16 +0200
committerJonas Smedegaard <dr@jones.dk>2017-05-15 08:13:57 +0200
commitfc361a5705641a05d8b7896e61b3d109abcbc90b (patch)
treeb18a7db27c1206b0590813de289f8b156b35bb4b
parentb410599ed22669e7e708055d4d8692df2d8760bb (diff)
Make video template title optional.
-rw-r--r--templates/video.mdwn4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/video.mdwn b/templates/video.mdwn
index 195d33a..6b9b609 100644
--- a/templates/video.mdwn
+++ b/templates/video.mdwn
@@ -1,6 +1,6 @@
<div class="video">
-<h2><TMPL_VAR title></h2>
-<TMPL_IF start><div id="counter" class="well"></div>
+<TMPL_IF title><h2><TMPL_VAR title></h2>
+</TMPL_IF><TMPL_IF start><div id="counter" class="well"></div>
[[!meta script="/js/lib/countdown.js"]]
<script type="text/javascript" src="/js/app/counter.js"></script>
</TMPL_IF>