diff options
author | Sheogorath | 2018-06-18 01:24:53 +0200 |
---|---|---|
committer | Sheogorath | 2018-06-18 01:26:11 +0200 |
commit | ed5353d13ad1fe5dfa18f6e0936bcafa77ea0a73 (patch) | |
tree | 7f8fcf58ccd7759081fe24487c5810ec3e388ac4 /public/views | |
parent | 4fcefebe5c968aaed6c770896ce90e2a62992aab (diff) |
Move polyfill to CDN section
We don't support it on CDN false instances, but it doesn't hurt to keep
it in for CDN-enabled instances
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to '')
-rw-r--r-- | public/views/hackmd/head.ejs | 2 | ||||
-rw-r--r-- | public/views/index/head.ejs | 2 | ||||
-rw-r--r-- | public/views/pretty.ejs | 2 | ||||
-rw-r--r-- | public/views/slide.ejs | 3 |
4 files changed, 4 insertions, 5 deletions
diff --git a/public/views/hackmd/head.ejs b/public/views/hackmd/head.ejs index 1f72285b..8dfef432 100644 --- a/public/views/hackmd/head.ejs +++ b/public/views/hackmd/head.ejs @@ -15,8 +15,8 @@ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css" integrity="sha256-QiWfLIsCT02Sdwkogf6YMiQlj4NE84MKkzEMkZnMGdg=" crossorigin="anonymous" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/emojify.js/1.1.0/css/basic/emojify.min.css" integrity="sha256-UOrvMOsSDSrW6szVLe8ZDZezBxh5IoIfgTwdNDgTjiU=" crossorigin="anonymous" /> <%- include ../build/index-header %> +<%- include ../shared/polyfill %> <% } else { %> <link rel="stylesheet" href='<%- url %>/build/emojify.js/dist/css/basic/emojify.min.css'> <%- include ../build/index-pack-header %> <% } %> -<%- include ../shared/polyfill %>
\ No newline at end of file diff --git a/public/views/index/head.ejs b/public/views/index/head.ejs index bbd14567..e43c57d4 100644 --- a/public/views/index/head.ejs +++ b/public/views/index/head.ejs @@ -16,7 +16,7 @@ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.4/select2.min.css" integrity="sha256-ijlUKKj3hJCiiT2HWo1kqkI79NTEYpzOsw5Rs3k42dI=" crossorigin="anonymous" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.4/select2-bootstrap.min.css" integrity="sha256-NAWFcNIZdH+TS1xpWujF/EB/Y8gwBbEOCoaK/eqaer8=" crossorigin="anonymous" /> <%- include ../build/cover-header %> +<%- include ../shared/polyfill %> <% } else { %> <%- include ../build/cover-pack-header %> <% } %> -<%- include ../shared/polyfill %>
\ No newline at end of file diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index 91d9c36c..395f921b 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -24,11 +24,11 @@ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css" integrity="sha256-QiWfLIsCT02Sdwkogf6YMiQlj4NE84MKkzEMkZnMGdg=" crossorigin="anonymous" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/emojify.js/1.1.0/css/basic/emojify.min.css" integrity="sha256-UOrvMOsSDSrW6szVLe8ZDZezBxh5IoIfgTwdNDgTjiU=" crossorigin="anonymous" /> <%- include build/pretty-header %> + <%- include shared/polyfill %> <% } else { %> <link rel="stylesheet" href='<%- url %>/build/emojify.js/dist/css/basic/emojify.min.css'> <%- include build/pretty-pack-header %> <% } %> - <%- include shared/polyfill %> </head> <body style="display:none;"> diff --git a/public/views/slide.ejs b/public/views/slide.ejs index a9d2b708..7b9ae29d 100644 --- a/public/views/slide.ejs +++ b/public/views/slide.ejs @@ -22,6 +22,7 @@ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.6.0/css/reveal.min.css" integrity="sha256-ol2N5Xr80jdDqxK0lte3orKGb9Ja3sOnpAUV7TTADmg=" crossorigin="anonymous" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/emojify.js/1.1.0/css/basic/emojify.min.css" integrity="sha256-UOrvMOsSDSrW6szVLe8ZDZezBxh5IoIfgTwdNDgTjiU=" crossorigin="anonymous" /> <%- include build/slide-header %> + <%- include shared/polyfill %> <% } else { %> <link rel="stylesheet" href="<%- url %>/build/reveal.js/css/reveal.css"> <link rel="stylesheet" href='<%- url %>/build/emojify.js/dist/css/basic/emojify.min.css'> @@ -47,8 +48,6 @@ link.href = '<%- url %>/build/reveal.js/' + (window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css'); document.getElementsByTagName( 'head' )[0].appendChild( link ); </script> - - <%- include shared/polyfill %> </head> <body> <div class="container"> |