diff options
Diffstat (limited to '')
-rw-r--r-- | roles/upload/templates/head.pug | 22 |
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 |