summaryrefslogtreecommitdiffstats
path: root/roles/upload/templates/head.pug
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-10-19 09:22:10 -0400
committerSacha Chua <sacha@sachachua.com>2022-10-19 09:22:10 -0400
commitec95e5829cdf179be145b229eb3e92178d0e92b8 (patch)
treedf75e0fb6fd84417d4503550f1dd3f17ee26533e /roles/upload/templates/head.pug
parent7671b51616a25fa6cff9c26fe65d5f703ff94e21 (diff)
downloademacsconf-ansible-ec95e5829cdf179be145b229eb3e92178d0e92b8.tar.xz
emacsconf-ansible-ec95e5829cdf179be145b229eb3e92178d0e92b8.zip
Add upload
Diffstat (limited to 'roles/upload/templates/head.pug')
-rw-r--r--roles/upload/templates/head.pug22
1 files changed, 22 insertions, 0 deletions
diff --git a/roles/upload/templates/head.pug b/roles/upload/templates/head.pug
new file mode 100644
index 0000000..fbc16f5
--- /dev/null
+++ b/roles/upload/templates/head.pug
@@ -0,0 +1,22 @@
+base(href=baseUrl)
+meta(charset='utf-8')
+title EmacsConf upload
+link(href='assets/favicon.ico' rel='icon' type='image/x-icon')
+meta(name='viewport' content='width=device-width, initial-scale=1')
+meta(name='robots' content='noindex,nofollow')
+meta(http-equiv='x-ua-compatible' content='IE=edge')
+link(href='assets/styles.css' rel='stylesheet')
+script.
+ // {{ ansible_managed }}
+ // @license magnet:?xt=urn:btih:87f119ba0b429ba17a44b4bffcab33165ebdacc0&dn=freebsd.txt BSD-2-Clause
+ // Add ployfills for stupid IE
+ if (document.documentMode || /Edge/.test(navigator.userAgent)) {
+ (function(d, script) {
+ script = d.createElement('script');
+ script.type = 'text/javascript';
+ script.async = false;
+ script.src = 'assets/babel-polyfill.js';
+ d.getElementsByTagName('head')[0].appendChild(script);
+ }(document));
+ }
+ // @license-end \ No newline at end of file