jekyll-theme-hydejack 8.5.0 → 9.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE.md +9 -3
- data/NOTICE.md +289 -0
- data/README.md +126 -86
- data/_config.yml +73 -0
- data/_includes/base-classes +9 -0
- data/_includes/body/analytics.html +1 -1
- data/_includes/body/comments.html +1 -1
- data/_includes/body/footer.html +3 -3
- data/_includes/body/index.html +17 -16
- data/_includes/body/main.html +3 -13
- data/_includes/body/menu.html +3 -14
- data/_includes/body/nav.html +4 -4
- data/_includes/body/scripts.html +3 -5
- data/_includes/body/sidebar-bg.html +13 -0
- data/_includes/body/sidebar-sticky.html +25 -0
- data/_includes/body/sidebar.html +7 -40
- data/_includes/components/about.html +1 -1
- data/_includes/components/author.html +3 -3
- data/_includes/components/hy-img.html +15 -26
- data/_includes/components/link.html +1 -1
- data/_includes/components/message.html +1 -1
- data/_includes/components/post-list-item.html +3 -3
- data/_includes/components/post.html +14 -11
- data/_includes/components/related-posts.html +14 -4
- data/_includes/components/tag-list.html +5 -1
- data/_includes/head/css/inline +1 -0
- data/_includes/head/index.html +14 -8
- data/_includes/head/links-static.html +27 -0
- data/_includes/head/links.html +1 -34
- data/_includes/head/meta-static.html +17 -0
- data/_includes/head/meta.html +8 -24
- data/_includes/head/page-style.html +1 -3
- data/_includes/head/scripts.html +12 -7
- data/_includes/head/styles-inline.html +19 -0
- data/_includes/head/styles-layout.html +4 -0
- data/_includes/head/styles-no-inline.html +8 -0
- data/_includes/head/styles.html +5 -34
- data/_includes/header.txt +1 -1
- data/_includes/if-non-null +7 -0
- data/_includes/my-body.html +1 -1
- data/_includes/my-scripts.html +1 -1
- data/_includes/scripts/load-js.min.js +1 -1
- data/_includes/scripts/nomodule.js +21 -0
- data/_includes/scripts/nomodule.min.js +1 -0
- data/_includes/smart-url +1 -0
- data/_includes/smart-url.txt +1 -1
- data/_includes/styles/common.scss +18 -0
- data/_includes/styles/inline.scss +16 -28
- data/_includes/styles/page-style.scss +7 -62
- data/_includes/styles/style.scss +25 -36
- data/_includes/styles/variables.scss +62 -0
- data/_includes/templates/animation.html +1 -1
- data/_includes/templates/back.html +2 -2
- data/_includes/templates/error.html +1 -1
- data/_includes/templates/forward.html +2 -2
- data/_includes/templates/index.html +10 -11
- data/_includes/templates/loading.html +1 -1
- data/_includes/templates/permalink.html +2 -2
- data/_layouts/about.html +1 -1
- data/_layouts/base.html +9 -4
- data/_layouts/blog.html +9 -7
- data/_layouts/compress.html +1 -1
- data/_layouts/default.html +4 -4
- data/_layouts/list.html +11 -17
- data/_layouts/page.html +1 -0
- data/_layouts/post.html +5 -3
- data/_sass/_mixins.scss +7 -21
- data/_sass/_spinner.scss +1 -1
- data/_sass/_syntax.scss +142 -130
- data/_sass/_variables.scss +2 -43
- data/_sass/html.scss +42 -0
- data/_sass/hydejack/__inline__/_avatar.scss +10 -10
- data/_sass/hydejack/__inline__/_base.scss +7 -21
- data/_sass/hydejack/__inline__/_content.scss +9 -2
- data/_sass/hydejack/__inline__/_images.scss +1 -3
- data/_sass/hydejack/__inline__/_links.scss +28 -13
- data/_sass/hydejack/__inline__/_menu.scss +42 -13
- data/_sass/hydejack/__inline__/_sidebar.scss +40 -14
- data/_sass/hydejack/__inline__/_social.scss +3 -0
- data/_sass/hydejack/__inline__/_toc.scss +55 -0
- data/_sass/hydejack/__inline__/_utilities.scss +3 -0
- data/_sass/hydejack/__link__/_avatar.scss +0 -4
- data/_sass/hydejack/__link__/_base.scss +1 -2
- data/_sass/hydejack/__link__/_break-layout.scss +17 -8
- data/_sass/hydejack/__link__/_content.scss +1 -0
- data/_sass/hydejack/__link__/_footer.scss +6 -8
- data/_sass/hydejack/__link__/_images.scss +5 -40
- data/_sass/hydejack/__link__/_katex.scss +1 -26
- data/_sass/hydejack/__link__/_links.scss +29 -20
- data/_sass/hydejack/__link__/_mark-external.scss +2 -7
- data/_sass/hydejack/__link__/_menu.scss +63 -8
- data/_sass/hydejack/__link__/_sidebar.scss +12 -9
- data/_sass/hydejack/__link__/_toc.scss +53 -0
- data/_sass/hydejack/__link__/_utilities.scss +3 -0
- data/_sass/hydejack/_avatar.pre.scss +10 -12
- data/_sass/hydejack/_base.pre.scss +7 -23
- data/_sass/hydejack/_break-layout.pre.scss +19 -10
- data/_sass/hydejack/_content.pre.scss +10 -2
- data/_sass/hydejack/_footer.pre.scss +6 -8
- data/_sass/hydejack/_images.pre.scss +6 -42
- data/_sass/hydejack/_katex.pre.scss +3 -28
- data/_sass/hydejack/_links.pre.scss +49 -19
- data/_sass/hydejack/_mark-external.pre.scss +2 -7
- data/_sass/hydejack/_menu.pre.scss +91 -22
- data/_sass/hydejack/_sidebar.pre.scss +48 -22
- data/_sass/hydejack/_social.pre.scss +3 -0
- data/_sass/hydejack/_toc.pre.scss +65 -0
- data/_sass/hydejack/_utilities.pre.scss +3 -0
- data/_sass/my-inline.scss +2 -16
- data/_sass/my-style.scss +0 -9
- data/_sass/pooleparty/__inline__/_base.scss +10 -9
- data/_sass/pooleparty/__inline__/_message.scss +31 -0
- data/_sass/pooleparty/__inline__/_posts.scss +19 -2
- data/_sass/pooleparty/__inline__/_table.scss +0 -28
- data/_sass/pooleparty/__inline__/_type.scss +81 -15
- data/_sass/pooleparty/__link__/_base.scss +11 -5
- data/_sass/pooleparty/__link__/_code.scss +40 -7
- data/_sass/pooleparty/__link__/_footnotes.scss +4 -5
- data/_sass/pooleparty/__link__/_pagination.scss +3 -2
- data/_sass/pooleparty/__link__/_posts.scss +11 -6
- data/_sass/pooleparty/__link__/_read-more.scss +1 -1
- data/_sass/pooleparty/__link__/_table.scss +27 -16
- data/_sass/pooleparty/__link__/_type.scss +56 -19
- data/_sass/pooleparty/_base.pre.scss +25 -18
- data/_sass/pooleparty/_code.pre.scss +40 -7
- data/_sass/pooleparty/_footnotes.pre.scss +4 -5
- data/_sass/pooleparty/_message.pre.scss +33 -2
- data/_sass/pooleparty/_pagination.pre.scss +5 -4
- data/_sass/pooleparty/_posts.pre.scss +34 -12
- data/_sass/pooleparty/_read-more.pre.scss +1 -1
- data/_sass/pooleparty/_table.pre.scss +13 -20
- data/_sass/pooleparty/_type.pre.scss +100 -35
- data/assets/bower_components/MathJax/.bower.json +28 -0
- data/assets/bower_components/MathJax/LICENSE +202 -0
- data/assets/bower_components/MathJax/bower.json +11 -0
- data/assets/bower_components/MathJax/composer.json +14 -0
- data/assets/bower_components/MathJax/es5/a11y/assistive-mml.js +1 -0
- data/assets/bower_components/MathJax/es5/a11y/complexity.js +1 -0
- data/assets/bower_components/MathJax/es5/a11y/explorer.js +1 -0
- data/assets/bower_components/MathJax/es5/a11y/semantic-enrich.js +1 -0
- data/assets/bower_components/MathJax/es5/adaptors/liteDOM.js +1 -0
- data/assets/bower_components/MathJax/es5/core.js +1 -0
- data/assets/bower_components/MathJax/es5/input/asciimath.js +1 -0
- data/assets/bower_components/MathJax/es5/input/mml.js +1 -0
- data/assets/bower_components/MathJax/es5/input/mml/entities.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex-base.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex-full.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/action.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/all-packages.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/ams.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/amscd.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/autoload.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/bbox.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/boldsymbol.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/braket.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/bussproofs.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/cancel.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/color.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/colorV2.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/configMacros.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/enclose.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/extpfeil.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/html.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/mhchem.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/newcommand.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/noerrors.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/noundefined.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/physics.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/require.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/tagFormat.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/unicode.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/verb.js +1 -0
- data/assets/bower_components/MathJax/es5/latest.js +1 -0
- data/assets/bower_components/MathJax/es5/loader.js +1 -0
- data/assets/bower_components/MathJax/es5/mml-chtml.js +1 -0
- data/assets/bower_components/MathJax/es5/mml-svg.js +1 -0
- data/assets/bower_components/MathJax/es5/node-main.js +1 -0
- data/assets/bower_components/MathJax/es5/output/chtml.js +1 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/tex.js +1 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Zero.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/svg.js +1 -0
- data/assets/bower_components/MathJax/es5/output/svg/fonts/tex.js +1 -0
- data/assets/bower_components/MathJax/es5/sre/mathmaps/en.js +104 -0
- data/assets/bower_components/MathJax/es5/sre/mathmaps/es.js +104 -0
- data/assets/bower_components/MathJax/es5/sre/mathmaps/fr.js +104 -0
- data/assets/bower_components/MathJax/es5/sre/mathmaps/mathmaps_ie.js +410 -0
- data/assets/bower_components/MathJax/es5/sre/mathmaps/nemeth.js +104 -0
- data/assets/bower_components/MathJax/es5/sre/sre_browser.js +1709 -0
- data/assets/bower_components/MathJax/es5/startup.js +1 -0
- data/assets/bower_components/MathJax/es5/tex-chtml-full.js +1 -0
- data/assets/bower_components/MathJax/es5/tex-chtml.js +1 -0
- data/assets/bower_components/MathJax/es5/tex-mml-chtml.js +1 -0
- data/assets/bower_components/MathJax/es5/tex-mml-svg.js +1 -0
- data/assets/bower_components/MathJax/es5/tex-svg-full.js +1 -0
- data/assets/bower_components/MathJax/es5/tex-svg.js +1 -0
- data/assets/bower_components/MathJax/es5/ui/menu.js +1 -0
- data/assets/bower_components/MathJax/package.json +59 -0
- data/assets/bower_components/katex/.bower.json +2 -3
- data/assets/css/{hydejack-7.5.2.css → hydejack-9.0.2.css} +0 -0
- data/assets/icomoon/fonts/icomoon.eot +0 -0
- data/assets/icomoon/fonts/icomoon.svg +8 -2
- data/assets/icomoon/fonts/icomoon.ttf +0 -0
- data/assets/icomoon/fonts/icomoon.woff +0 -0
- data/assets/icomoon/selection.json +1 -1
- data/assets/icomoon/style.css +31 -12
- data/assets/icons/favicon.ico +0 -0
- data/assets/icons/icon-128x128.png +0 -0
- data/assets/icons/icon-144x144.png +0 -0
- data/assets/icons/icon-152x152.png +0 -0
- data/assets/icons/icon-192x192.png +0 -0
- data/assets/icons/icon-384x384.png +0 -0
- data/assets/icons/icon-512x512.png +0 -0
- data/assets/icons/icon-72x72.png +0 -0
- data/assets/icons/icon-96x96.png +0 -0
- data/assets/img/logo.png +0 -0
- data/assets/img/sidebar-bg.jpg +0 -0
- data/assets/js/.gitkeep +0 -0
- data/assets/js/LEGACY-drawer-hydejack-9.0.2.js +14 -0
- data/assets/js/LEGACY-fetch-hydejack-9.0.2.js +14 -0
- data/assets/js/LEGACY-hydejack-9.0.2.js +28 -0
- data/assets/js/LEGACY-navbar-hydejack-9.0.2.js +14 -0
- data/assets/js/LEGACY-push-state-hydejack-9.0.2.js +14 -0
- data/assets/js/LEGACY-resize-observer-hydejack-9.0.2.js +14 -0
- data/assets/js/LEGACY-shadydom-hydejack-9.0.2.js +14 -0
- data/assets/js/LEGACY-vendors~drawer-hydejack-9.0.2.js +47 -0
- data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.2.js +215 -0
- data/assets/js/LEGACY-vendors~fetch-hydejack-9.0.2.js +14 -0
- data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.0.2.js +14 -0
- data/assets/js/LEGACY-vendors~push-state-hydejack-9.0.2.js +33 -0
- data/assets/js/LEGACY-vendors~shadydom-hydejack-9.0.2.js +155 -0
- data/assets/js/LEGACY-vendors~webanimations-hydejack-9.0.2.js +14 -0
- data/assets/js/LEGACY-vendors~webcomponents-hydejack-9.0.2.js +34 -0
- data/assets/js/LEGACY-webcomponents-hydejack-9.0.2.js +14 -0
- data/assets/js/drawer-hydejack-9.0.2.js +14 -0
- data/assets/js/fetch-hydejack-9.0.2.js +14 -0
- data/assets/js/hydejack-9.0.2.js +28 -0
- data/assets/js/navbar-hydejack-9.0.2.js +14 -0
- data/assets/js/push-state-hydejack-9.0.2.js +14 -0
- data/assets/js/resize-observer-hydejack-9.0.2.js +14 -0
- data/assets/js/shadydom-hydejack-9.0.2.js +14 -0
- data/assets/js/vendors~drawer-hydejack-9.0.2.js +47 -0
- data/assets/js/vendors~drawer~push-state-hydejack-9.0.2.js +163 -0
- data/assets/js/vendors~intersection-observer-hydejack-9.0.2.js +14 -0
- data/assets/js/vendors~push-state-hydejack-9.0.2.js +33 -0
- data/assets/js/vendors~shadydom-hydejack-9.0.2.js +146 -0
- data/assets/js/vendors~webanimations-hydejack-9.0.2.js +14 -0
- data/assets/js/webcomponents-hydejack-9.0.2.js +14 -0
- data/assets/site.webmanifest +65 -0
- data/assets/version.json +3 -2
- data/licenses/PRO.md +4 -0
- data/licenses/README.md +1 -1
- data/licenses/{W3C.md → W3C-20150513.md} +0 -0
- metadata +186 -56
- data/_includes/scripts.html +0 -33
- data/assets/Resume.pdf +0 -0
- data/assets/css/hydejack-8.5.0.css +0 -3
- data/assets/icons/icon.png +0 -0
- data/assets/icons/icon@0,25x.png +0 -0
- data/assets/icons/icon@0,5x.png +0 -0
- data/assets/icons/icon@0,75x.png +0 -0
- data/assets/icons/icon@2x.png +0 -0
- data/assets/icons/icon@3x.png +0 -0
- data/assets/icons/tile-large.png +0 -0
- data/assets/icons/tile-medium.png +0 -0
- data/assets/icons/tile-small.png +0 -0
- data/assets/icons/tile-wide.png +0 -0
- data/assets/ieconfig.xml +0 -15
- data/assets/img/blog/COLOURlovers.com-Hydejack.png +0 -0
- data/assets/img/blog/blog-layout.jpg +0 -0
- data/assets/img/blog/caleb-george-old.jpg +0 -0
- data/assets/img/blog/caleb-george.jpg +0 -0
- data/assets/img/blog/cover-page.jpg +0 -0
- data/assets/img/blog/dark-mode-ii.jpg +0 -0
- data/assets/img/blog/dark-mode.jpg +0 -0
- data/assets/img/blog/example-content-ii.jpg +0 -0
- data/assets/img/blog/example-content-iii.jpg +0 -0
- data/assets/img/blog/hydejack-8.png +0 -0
- data/assets/img/blog/hydejack-8@0,25x.png +0 -0
- data/assets/img/blog/hydejack-8@0,5x.png +0 -0
- data/assets/img/blog/lazy-images.jpg +0 -0
- data/assets/img/blog/louis-hansel.jpg +0 -0
- data/assets/img/blog/resume.png +0 -0
- data/assets/img/blog/steve-harvey.jpg +0 -0
- data/assets/img/blog/w3m.png +0 -0
- data/assets/img/blog/wade-lambert.jpg +0 -0
- data/assets/img/docs/google-fonts.png +0 -0
- data/assets/img/projects/hy-drawer.svg +0 -12
- data/assets/img/projects/hy-img.svg +0 -17
- data/assets/img/projects/hy-push-state.svg +0 -13
- data/assets/js/hydejack-8.5.0.js +0 -162
- data/assets/js/hydejack-8.5.0.js.map +0 -1
- data/assets/js/hydejack-legacy-8.5.0.js +0 -191
- data/assets/js/hydejack-legacy-8.5.0.js.map +0 -1
- data/assets/manifest.json +0 -46
- data/assets/video/blog-layout.mp4 +0 -0
- data/assets/video/cover-page.mp4 +0 -0
- data/assets/video/dark-mode.mp4 +0 -0
- data/assets/video/lazy-images.mp4 +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
{% assign post = include.post %}
|
2
2
|
{% assign format = include.format | default:site.data.strings.date_formats.related_post | default:"%d %b %Y" %}
|
3
3
|
|
4
|
-
<li>
|
5
|
-
<a href="{{ post.url | relative_url }}" class="
|
6
|
-
<time class="
|
4
|
+
<li class="h4">
|
5
|
+
<a href="{{ post.url | relative_url }}" class="flip-title"><span>{{ post.title }}</span></a>
|
6
|
+
<time class="faded fine" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date:format }}</time>
|
7
7
|
</li>
|
@@ -1,17 +1,18 @@
|
|
1
|
-
{% assign post
|
2
|
-
{% assign no_link_title
|
3
|
-
{% assign no_excerpt
|
4
|
-
{% assign hide_image
|
1
|
+
{% assign post = include.post %}
|
2
|
+
{% assign no_link_title = include.no_link_title %}
|
3
|
+
{% assign no_excerpt = include.no_excerpt %}
|
4
|
+
{% assign hide_image = include.hide_image %}
|
5
|
+
{% assign hide_description = include.hide_description %}
|
5
6
|
|
6
7
|
<article id="post{{ post.id | replace:'/','-' }}" class="page post mb6" role="article">
|
7
8
|
<header>
|
8
|
-
<h1 class="post-title">
|
9
|
+
<h1 class="post-title flip-project-title">
|
9
10
|
{% unless no_link_title %}<a href="{{ post.url | relative_url }}" class="flip-title">{% endunless %}
|
10
11
|
{{ post.title }}
|
11
12
|
{% unless no_link_title %}</a>{% endunless %}
|
12
13
|
</h1>
|
13
14
|
|
14
|
-
<
|
15
|
+
<div class="post-date">
|
15
16
|
{% assign post_format = site.data.strings.date_formats.post | default:"%d %b %Y" %}
|
16
17
|
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date:post_format }}</time>
|
17
18
|
{% assign category_start = site.data.strings.category_start | default:"in " %}
|
@@ -20,17 +21,19 @@
|
|
20
21
|
{% assign tag_separator = site.data.strings.tag_separator | default:", " %}
|
21
22
|
{% include components/tag-list.html tags=post.categories meta=site.featured_categories start_with=category_start separator=category_separator %}
|
22
23
|
{% include components/tag-list.html tags=post.tags meta=site.featured_tags start_with=tag_start separator=tag_separator %}
|
23
|
-
</
|
24
|
+
</div>
|
24
25
|
|
25
26
|
{% assign alt = false %}
|
26
27
|
{% unless hide_image %}{% if post.image %}
|
27
|
-
<
|
28
|
-
|
29
|
-
|
28
|
+
{% unless no_link_title %}<a href="{{ post.url | relative_url }}" class="no-hover no-print-link {% unless post.hide_image %}flip-project{% endunless %}" tabindex="-1">{% endunless %}
|
29
|
+
<div class="lead aspect-ratio sixteen-nine flip-project-img">
|
30
|
+
{% include_cached components/hy-img.html img=post.image alt=post.title width=864 height=486 %}
|
31
|
+
</div>
|
32
|
+
{% unless no_link_title %}</a>{% endunless %}
|
30
33
|
{% assign alt = '' %}
|
31
34
|
{% endif %}{% endunless %}
|
32
35
|
|
33
|
-
{% include components/message.html text=post.description hide=
|
36
|
+
{% include components/message.html text=post.description hide=hide_description alt=alt %}
|
34
37
|
</header>
|
35
38
|
|
36
39
|
{% if no_excerpt %}
|
@@ -1,7 +1,13 @@
|
|
1
|
-
{% assign post =
|
1
|
+
{% assign post = page %}
|
2
2
|
|
3
3
|
{% if page.related_posts %}
|
4
|
-
{%
|
4
|
+
{% if major >= 4 and minor >= 1 %}
|
5
|
+
{% assign related_posts = site.posts | where_exp:"post", "page.related_posts contains post.path or page.related_posts contains post.url" %}
|
6
|
+
{% else %}
|
7
|
+
{% assign related_posts_1 = site.posts | where_exp:"post", "page.related_posts contains post.path" %}
|
8
|
+
{% assign related_posts_2 = site.posts | where_exp:"post", "page.related_posts contains post.url" %}
|
9
|
+
{% assign related_posts = related_posts_1 | concat:related_posts_2 %}
|
10
|
+
{% endif %}
|
5
11
|
{% elsif site.hydejack.use_lsi or site.use_lsi %}
|
6
12
|
{% assign related_posts = site.related_posts %}
|
7
13
|
{% elsif post.categories.first %}
|
@@ -14,11 +20,15 @@
|
|
14
20
|
|
15
21
|
{% if related_posts.size > 0 %}
|
16
22
|
<aside class="related mb4" role="complementary">
|
17
|
-
<h2 class="hr">{{ site.data.strings.related_posts | default:"Related Posts" }}</h2>
|
23
|
+
<h2 class="hr-bottom">{{ site.data.strings.related_posts | default:"Related Posts" }}</h2>
|
18
24
|
|
19
25
|
<ul class="related-posts">
|
20
26
|
{% for post in related_posts limit:3 %}
|
21
|
-
{%
|
27
|
+
{% if post %}
|
28
|
+
{% include_cached components/post-list-item.html post=post %}
|
29
|
+
{% else %}
|
30
|
+
<li>Post with path <code>{{ post_path }}</code> not found.</li>
|
31
|
+
{% endif %}
|
22
32
|
{% endfor %}
|
23
33
|
</ul>
|
24
34
|
</aside>
|
@@ -11,7 +11,11 @@
|
|
11
11
|
{% for tag_slug in tags %}
|
12
12
|
{% capture iter_separator %}{% if forloop.last %}{{ end_with }}{% else %}{{ separator }}{% endif %}{% endcapture %}
|
13
13
|
|
14
|
-
{%
|
14
|
+
{% if major >= 4 and minor >= 1 %}
|
15
|
+
{% assign tag = meta | find: "slug", tag_slug %}
|
16
|
+
{% else %}
|
17
|
+
{% assign tag = meta | where: "slug", tag_slug | first %}
|
18
|
+
{% endif %}
|
15
19
|
|
16
20
|
{% if tag %}
|
17
21
|
{% capture content_temp %}{{ content }}<a href="{{ tag.url | relative_url }}" class="flip-title">{{ tag.title }}</a>{{ iter_separator }}{% endcapture %}
|
@@ -0,0 +1 @@
|
|
1
|
+
{% capture to_scssify %}{% include styles/inline.scss %}{% endcapture %}{{ to_scssify | scssify }}
|
data/_includes/head/index.html
CHANGED
@@ -1,9 +1,15 @@
|
|
1
|
-
{% assign google_fonts = site.google_fonts
|
2
|
-
{% assign font_heading = site.font_heading
|
3
|
-
{% assign font = site.font
|
4
|
-
|
5
|
-
{% include
|
6
|
-
{%
|
7
|
-
|
8
|
-
{%
|
1
|
+
{% assign google_fonts = site.google_fonts %}
|
2
|
+
{% assign font_heading = site.font_heading %}
|
3
|
+
{% assign font = site.font %}
|
4
|
+
|
5
|
+
{% include head/meta.html %}
|
6
|
+
{% include_cached head/meta-static.html %}
|
7
|
+
|
8
|
+
{% include_cached head/links.html lang=page.lang %}
|
9
|
+
{% include_cached head/links-static.html %}
|
10
|
+
|
11
|
+
{% include_cached head/scripts.html %}
|
12
|
+
|
13
|
+
{% include_cached head/styles.html layout=page.layout color=color theme_color=theme_color %}
|
14
|
+
|
9
15
|
{% include my-head.html %}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
{% if plugins contains 'jekyll-feed' %}{% include head/feed-tag.html %}{% endif %}
|
2
|
+
|
3
|
+
<link rel="shortcut icon" href="{{ '/assets/icons/favicon.ico' | relative_url }}">
|
4
|
+
<link rel="apple-touch-icon" href="{{ '/assets/icons/icon-192x192.png' | relative_url }}">
|
5
|
+
|
6
|
+
<link rel="manifest" href="{{ '/assets/site.webmanifest' | relative_url }}">
|
7
|
+
|
8
|
+
{% if site.google_fonts %}
|
9
|
+
<link rel="dns-prefetch" href="https://fonts.googleapis.com">
|
10
|
+
<link rel="dns-prefetch" href="https://fonts.gstatic.com">
|
11
|
+
{% endif %}
|
12
|
+
|
13
|
+
{% if site.google_analytics %}
|
14
|
+
<link rel="dns-prefetch" href="https://www.google-analytics.com">
|
15
|
+
{% endif %}
|
16
|
+
|
17
|
+
<link rel="preload" href="{{ '/assets/img/swipe.svg' | relative_url }}" as="image" id="_hrefSwipeSVG">
|
18
|
+
|
19
|
+
{% if site.kramdown.math_engine == 'katex' %}
|
20
|
+
{% capture katex_url %}{{ 'assets/bower_components/katex/dist/katex.min.css' | relative_url }}{% endcapture %}
|
21
|
+
<link rel="dns-prefetch" href="{{ katex_url }}" id="_katexPreload">
|
22
|
+
{% endif %}
|
23
|
+
|
24
|
+
{% assign disqus = site.disqus | default:site.disqus_shortname %}
|
25
|
+
{% if disqus %}
|
26
|
+
<link rel="dns-prefetch" href="https://{{ disqus }}.disqus.com" id="_hrefDisqus">
|
27
|
+
{% endif %}
|
data/_includes/head/links.html
CHANGED
@@ -1,35 +1,2 @@
|
|
1
|
-
{%
|
2
|
-
|
3
|
-
{% assign lang = page.lang | default:site.lang | default:'en' %}
|
1
|
+
{% assign lang = include.lang | default:site.lang | default:'en' %}
|
4
2
|
<link rel="alternate" href="{{ page.url | absolute_url }}" hreflang="{{ lang | downcase | replace:'_','-' }}">
|
5
|
-
|
6
|
-
<link rel="shortcut icon" href="{{ '/assets/icons/favicon.ico' | relative_url }}">
|
7
|
-
<link rel="apple-touch-icon" href="{{ '/assets/icons/icon.png' | relative_url }}">
|
8
|
-
|
9
|
-
<link rel="manifest" href="{{ '/assets/manifest.json' | relative_url }}">
|
10
|
-
|
11
|
-
{% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
|
12
|
-
<link rel="dns-prefetch" href="https://fonts.googleapis.com">
|
13
|
-
<link rel="dns-prefetch" href="https://fonts.gstatic.com">
|
14
|
-
{% endunless %}
|
15
|
-
{% if site.google_analytics %}
|
16
|
-
<link rel="dns-prefetch" href="https://www.google-analytics.com">
|
17
|
-
{% endif %}
|
18
|
-
|
19
|
-
{% comment %}<!--
|
20
|
-
This is to avoid hard-coding URLs in JS (where they can't be discovered by automated tools).
|
21
|
-
-->{% endcomment %}
|
22
|
-
<link rel="dns-prefetch" href="{{ '/' | relative_url }}" id="_baseURL">
|
23
|
-
<link rel="dns-prefetch" href="{{ '/assets/js/hydejack-legacy-8.5.0.js' | relative_url }}" id="_hrefJS">
|
24
|
-
<link rel="dns-prefetch" href="{{ '/sw.js' | relative_url }}" id="_hrefSW">
|
25
|
-
<link rel="dns-prefetch" href="{{ '/assets/bower_components/fontfaceobserver/fontfaceobserver.standalone.js' | relative_url }}" id="_hrefFFO">
|
26
|
-
<link rel="dns-prefetch" href="{{ '/assets/bower_components/katex/dist/katex.min.js' | relative_url }}" id="_hrefKatexJS">
|
27
|
-
<link rel="dns-prefetch" href="{{ '/assets/bower_components/katex/dist/katex.min.css' | relative_url }}" id="_hrefKatexCSS">
|
28
|
-
<link rel="dns-prefetch" href="{{ '/assets/bower_components/katex/dist/contrib/copy-tex.min.js' | relative_url }}" id="_hrefKatexCopyJS">
|
29
|
-
<link rel="dns-prefetch" href="{{ '/assets/bower_components/katex/dist/contrib/copy-tex.min.css' | relative_url }}" id="_hrefKatexCopyCSS">
|
30
|
-
<link rel="dns-prefetch" href="{{ '/assets/img/swipe.svg' | relative_url }}" id="_hrefSwipeSVG">
|
31
|
-
|
32
|
-
{% assign disqus = site.disqus | default:site.disqus_shortname %}
|
33
|
-
{% if disqus %}
|
34
|
-
<link rel="dns-prefetch" href="https://{{ disqus }}.disqus.com" id="_hrefDisqus">
|
35
|
-
{% endif %}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<meta charset="utf-8">
|
2
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
3
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
4
|
+
|
5
|
+
<meta name="mobile-web-app-capable" content="yes">
|
6
|
+
|
7
|
+
<meta name="apple-mobile-web-app-capable" content="yes">
|
8
|
+
<meta name="apple-mobile-web-app-title" content="{{ site.title }}">
|
9
|
+
<meta name="apple-mobile-web-app-status-bar-style" content="default">
|
10
|
+
|
11
|
+
<meta name="application-name" content="{{ site.title }}">
|
12
|
+
|
13
|
+
{% unless site.hydejack.no_theme_color %}
|
14
|
+
<meta name="theme-color" content="{{ theme_color | default:'rgb(8,46,57)' }}">
|
15
|
+
{% endunless %}
|
16
|
+
|
17
|
+
<meta name="generator" content="Hydejack v9.0.2" />
|
data/_includes/head/meta.html
CHANGED
@@ -1,14 +1,13 @@
|
|
1
|
-
|
2
|
-
<meta name="
|
3
|
-
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
4
|
-
|
5
|
-
{% if page.noindex %}
|
6
|
-
<meta name="robots" content="noindex">
|
1
|
+
{% if page.noindex or page.no_index or page.sitemap == false %}
|
2
|
+
<meta name="robots" content="noindex">
|
7
3
|
{% endif %}
|
8
4
|
|
9
5
|
{% unless page.redirect %}
|
10
|
-
{% if plugins contains 'jekyll-seo-tag' %}
|
11
|
-
|
6
|
+
{% if plugins contains 'jekyll-seo-tag' %}
|
7
|
+
{% include head/seo-tag.html %}
|
8
|
+
{% else %}
|
9
|
+
{% include head/seo-fallback.html %}
|
10
|
+
{% endif %}
|
12
11
|
|
13
12
|
{% if site.keywords.size > 0 or page.keywords.size > 0 %}
|
14
13
|
<meta name="keywords" content="{{ page.keywords | default:site.keywords | join:',' }}">
|
@@ -16,19 +15,4 @@
|
|
16
15
|
{% else %}
|
17
16
|
<meta http-equiv="refresh" content="0; url={{ page.redirect.to }}">
|
18
17
|
<title>{{ site.data.strings.redirecting | default:"Redirecting..." }}</title>
|
19
|
-
{% endunless %}
|
20
|
-
|
21
|
-
<meta name="mobile-web-app-capable" content="yes">
|
22
|
-
|
23
|
-
<meta name="apple-mobile-web-app-capable" content="yes">
|
24
|
-
<meta name="apple-mobile-web-app-title" content="{{ site.title }}">
|
25
|
-
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
26
|
-
|
27
|
-
<meta name="application-name" content="{{ site.title }}">
|
28
|
-
<meta name="msapplication-config" content="{{ '/assets/ieconfig.xml' | relative_url }}">
|
29
|
-
|
30
|
-
{% unless site.hydejack.no_theme_color %}
|
31
|
-
<meta name="theme-color" content="{{ theme_color | default:'#193747' }}">
|
32
|
-
{% endunless %}
|
33
|
-
|
34
|
-
<meta name="generator" content="Hydejack v8.5.0" />
|
18
|
+
{% endunless %}
|
@@ -1,6 +1,4 @@
|
|
1
1
|
<style id="_pageStyle">
|
2
|
-
{% capture page_style %}
|
3
|
-
{% include styles/page-style.scss color=color theme_color=theme_color %}
|
4
|
-
{% endcapture %}
|
2
|
+
{% capture page_style %}{% include_cached styles/page-style.scss color=include.color theme_color=include.theme_color %}{% endcapture %}
|
5
3
|
{{ page_style | scssify }}
|
6
4
|
</style>
|
data/_includes/head/scripts.html
CHANGED
@@ -1,9 +1,14 @@
|
|
1
|
-
<script>
|
2
|
-
|
3
|
-
{
|
4
|
-
{% include scripts/cssrelpreload.min.js %}
|
5
|
-
!function(w, d) {
|
1
|
+
<script>{% include scripts/load-js.min.js %}{% include scripts/loadCSS.min.js %}{% include scripts/cssrelpreload.min.js %}!function(w) {
|
2
|
+
w._baseURL = '{{ "/" | relative_url }}';
|
3
|
+
w._publicPath = '{{ "/assets/js/" | relative_url }}';
|
6
4
|
w._noPushState = {{ site.hydejack.no_push_state | default:site.disable_push_state | default:false }};
|
7
|
-
w._noDrawer = {{
|
8
|
-
}
|
5
|
+
w._noDrawer = {{ site.hydejack.no_drawer | default:site.disable_drawer | default:false }};
|
6
|
+
w._noNavbar = {{ site.hydejack.no_navbar | default:false }};
|
7
|
+
w._noToc = {{ site.hydejack.no_toc | default:false }};
|
8
|
+
w._noSearch = {{ site.hydejack.no_search | default:false }};
|
9
|
+
}(window);
|
9
10
|
</script>
|
11
|
+
|
12
|
+
{% if site.kramdown.math_engine == 'mathjax' %}
|
13
|
+
<script async src="{{ 'assets/bower_components/MathJax/es5/tex-mml-chtml.js' | relative_url }}" id="_MathJax"></script>
|
14
|
+
{% endif %}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{% assign google_fonts = site.google_fonts %}
|
2
|
+
{% capture style_url %}{{ 'assets/css/hydejack-9.0.2.css' | relative_url }}{% endcapture %}
|
3
|
+
{% capture icons_url %}{{ 'assets/icomoon/style.css' | relative_url }}{% endcapture %}
|
4
|
+
{% if google_fonts %}{% capture fonts_url %}https://fonts.googleapis.com/css?family={{ google_fonts | uri_escape }}&display=swap{% endcapture %}{% endif %}
|
5
|
+
|
6
|
+
<link rel="preload" as="style" href="{{ style_url }}" id="_stylePreload">
|
7
|
+
<link rel="preload" as="style" href="{{ icons_url }}" id="_iconsPreload">
|
8
|
+
{% if google_fonts %}<link rel="preload" as="style" href="{{ fonts_url }}" id="_fontsPreload">{% endif %}
|
9
|
+
|
10
|
+
<script>
|
11
|
+
setRel('_stylePreload');
|
12
|
+
setRel('_iconsPreload');
|
13
|
+
/*{% if google_fonts %}*/setRel('_fontsPreload');/*{% endif %}*/
|
14
|
+
</script>
|
15
|
+
<noscript>
|
16
|
+
<link rel="stylesheet" href="{{ style_url }}">
|
17
|
+
<link rel="stylesheet" href="{{ icons_url }}">
|
18
|
+
{% if google_fonts %}<link rel="stylesheet" href="{{ fonts_url }}">{% endif %}
|
19
|
+
</noscript>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
{% assign google_fonts = site.google_fonts %}
|
2
|
+
{% capture style_url %}{{ 'assets/css/hydejack-9.0.2.css' | relative_url }}{% endcapture %}
|
3
|
+
{% capture icons_url %}{{ 'assets/icomoon/style.css' | relative_url }}{% endcapture %}
|
4
|
+
{% if google_fonts %}{% capture fonts_url %}https://fonts.googleapis.com/css?family={{ google_fonts | uri_escape }}&display=swap{% endcapture %}{% endif %}
|
5
|
+
|
6
|
+
<link rel="stylesheet" href="{{ style_url }}" id="_stylePreload">
|
7
|
+
<link rel="stylesheet" href="{{ icons_url }}" id="_iconsPreload">
|
8
|
+
{% if google_fonts %}<link rel="stylesheet" href="{{ fonts_url }}" id="_fontsPreload">{% endif %}
|
data/_includes/head/styles.html
CHANGED
@@ -1,41 +1,12 @@
|
|
1
1
|
<!--[if gt IE 8]><!---->
|
2
|
-
{% capture style_url %}{% link assets/css/hydejack-8.5.0.css %}{% endcapture %}
|
3
|
-
{% capture icons_url %}{% link assets/icomoon/style.css %}{% endcapture %}
|
4
|
-
{% capture fonts_url %}https://fonts.googleapis.com/css?family={{ google_fonts }}&display=swap{% endcapture %}
|
5
|
-
|
6
|
-
{% assign font_heading = site.font_heading | default:"Roboto Slab, Helvetica, Arial, sans-serif" %}
|
7
|
-
{% assign font = site.font | default:"Noto Sans, Helvetica, Arial, sans-serif" %}
|
8
|
-
|
9
|
-
{% assign layout = page.layout %}
|
10
|
-
{% assign no_google_fonts = site.hydejack.no_google_fonts or site.no_google_fonts %}
|
11
|
-
|
12
2
|
{% if site.hydejack.no_inline_css or jekyll.environment == 'development' %}
|
13
|
-
|
14
|
-
<link rel="stylesheet" href="{{ icons_url | relative_url }}">
|
15
|
-
{% unless no_google_fonts %}
|
16
|
-
<link rel="stylesheet" href="{{ fonts_url }}">
|
17
|
-
{% endunless %}
|
3
|
+
{% include_cached head/styles-no-inline.html %}
|
18
4
|
{% else %}
|
19
|
-
|
20
|
-
|
21
|
-
</style>
|
22
|
-
|
23
|
-
<link rel="preload" as="style" href="{{ style_url | relative_url }}" id="_stylePreload">
|
24
|
-
<link rel="preload" as="style" href="{{ icons_url | relative_url }}" id="_iconsPreload">
|
25
|
-
{% unless no_google_fonts %}
|
26
|
-
<link rel="preload" as="style" href="{{ fonts_url }}" id="_fontsPreload">
|
27
|
-
{% endunless %}
|
28
|
-
|
29
|
-
<script>setRel('_stylePreload');setRel('_iconsPreload');/*{% unless no_google_fonts %}*/setRel('_fontsPreload');/*{% endunless %}*/</script>
|
30
|
-
<noscript>
|
31
|
-
<link rel="stylesheet" href="{{ style_url | relative_url }}">
|
32
|
-
<link rel="stylesheet" href="{{ icons_url | relative_url }}">
|
33
|
-
{% unless no_google_fonts %}
|
34
|
-
<link rel="stylesheet" href="{{ fonts_url }}">
|
35
|
-
{% endunless %}
|
36
|
-
</noscript>
|
5
|
+
{% include_cached head/styles-layout.html layout=include.layout %}
|
6
|
+
{% include_cached head/styles-inline.html %}
|
37
7
|
{% endif %}
|
8
|
+
|
38
9
|
{% unless site.hydejack.no_page_style %}
|
39
|
-
{%
|
10
|
+
{% include_cached head/page-style.html color=include.color theme_color=include.theme_color %}
|
40
11
|
{% endunless %}
|
41
12
|
<!--<![endif]-->
|
data/_includes/header.txt
CHANGED
data/_includes/my-body.html
CHANGED
@@ -15,7 +15,7 @@ Example code for using Matamo as alternative analytics solution.
|
|
15
15
|
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
16
16
|
_paq.push(['setSiteId', '{{site.matomo_analytics.site_id}}']);
|
17
17
|
|
18
|
-
var pushStateEl = document.
|
18
|
+
var pushStateEl = document.getElementById('_pushState');
|
19
19
|
var timeStartLoadPage, referer, timeItTookToLoadPage;
|
20
20
|
|
21
21
|
pushStateEl.addEventListener('hy-push-state-start', function() {
|
data/_includes/my-scripts.html
CHANGED
@@ -6,7 +6,7 @@ it will only run on the initial page.
|
|
6
6
|
The snippet below will run the code on every `hy-push-state-load` event instead.
|
7
7
|
-->
|
8
8
|
<script>
|
9
|
-
document.
|
9
|
+
document.getElementById('_pushState').addEventListener('hy-push-state-load', function (e) {
|
10
10
|
function e(e){
|
11
11
|
(console.error?console.error:console.log).call(console,e)
|
12
12
|
}
|
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){"use strict";function n(e,t,n,
|
1
|
+
!function(e,t){"use strict";function n(e,t,n,o){e.addEventListener?e.addEventListener(t,n,o):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n}e.loadJS=function(e,o){var r=t.createElement("script");r.src=e,o&&n(r,"load",o,{once:!0});var a=t.scripts[0];return a.parentNode.insertBefore(r,a),r},e._loaded=!1,e.loadJSDeferred=function(o,r){function a(){e._loaded=!0,r&&n(c,"load",r,{once:!0});var o=t.scripts[0];o.parentNode.insertBefore(c,o)}var c=t.createElement("script");return c.src=o,e._loaded?a():n(e,"load",a,{once:!0}),c},e.setRel=e.setRelStylesheet=function(e){function o(){this.rel="stylesheet"}n(t.getElementById(e),"load",o,{once:!0})}}(window,document);
|
@@ -0,0 +1,21 @@
|
|
1
|
+
// `script[nomodule]` polyfill for Safari 10.1.
|
2
|
+
// Source: https://gist.github.com/samthor/64b114e4a4f539915a95b91ffd340acc
|
3
|
+
(function() {
|
4
|
+
var check = document.createElement('script');
|
5
|
+
if (!('noModule' in check) && 'onbeforeload' in check) {
|
6
|
+
var support = false;
|
7
|
+
document.addEventListener('beforeload', function (e) {
|
8
|
+
if (e.target === check) {
|
9
|
+
support = true;
|
10
|
+
} else if (!e.target.hasAttribute('nomodule') || !support) {
|
11
|
+
return;
|
12
|
+
}
|
13
|
+
e.preventDefault();
|
14
|
+
}, true);
|
15
|
+
|
16
|
+
check.type = 'module';
|
17
|
+
check.src = '.';
|
18
|
+
document.head.appendChild(check);
|
19
|
+
check.remove();
|
20
|
+
}
|
21
|
+
}())
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(){var e=document.createElement("script");if(!("noModule"in e)&&"onbeforeload"in e){var t=!1;document.addEventListener("beforeload",function(n){if(n.target===e)t=!0;else if(!n.target.hasAttribute("nomodule")||!t)return;n.preventDefault()},!0),e.type="module",e.src=".",document.head.appendChild(e),e.remove()}}();
|