summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2021-11-16 10:16:19 -0500
committerSacha Chua <sacha@sachachua.com>2021-11-16 10:16:19 -0500
commit9e547eabbb216dd8ef85531f2439c19cf1574216 (patch)
treea34b25e7a8056bec727bcef1b8173ef2229cf34f
parentf25d3c439b4ce8520363b003476fae40fd003b4a (diff)
downloademacsconf-wiki-9e547eabbb216dd8ef85531f2439c19cf1574216.tar.xz
emacsconf-wiki-9e547eabbb216dd8ef85531f2439c19cf1574216.zip
Move template to the end
-rw-r--r--templates/page.tmpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index dc804fd2..deb4edd4 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -39,12 +39,6 @@
<script>
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0-or-later
- if (document.querySelector('.times')) { document.querySelector('.times').prepend('Your local time: ~ ' + (new Date(document.querySelector('.times').getAttribute('start')).toLocaleString()) + ' to ~ ' + (new Date(document.querySelector('.times').getAttribute('end')).toLocaleString()) + "\n"); }
- // @license-end
-</script>
-
-<script>
- // @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0-or-later
/*
SeekToTime - simple script to add video time jump functionality to timestamp links
@@ -296,5 +290,11 @@ Last edited <TMPL_VAR MTIME>
<TMPL_IF HTML5></footer><TMPL_ELSE></div></TMPL_IF>
<TMPL_IF HTML5></article><TMPL_ELSE></div></TMPL_IF>
+
+<script>
+ // @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0-or-later
+ if (document.querySelector('.times')) { document.querySelector('.times').prepend('Your local time: ~ ' + (new Date(document.querySelector('.times').getAttribute('start')).toLocaleString()) + ' to ~ ' + (new Date(document.querySelector('.times').getAttribute('end')).toLocaleString()) + "\n"); }
+ // @license-end
+</script>
</body>
</html>