jekyll-theme-hydejack 7.5.2 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.md +1 -4
- data/README.md +139 -86
- data/_includes/body/analytics.html +36 -0
- data/_includes/{comments.html → body/comments.html} +0 -0
- data/_includes/{footer.html → body/footer.html} +4 -2
- data/_includes/body/index.html +22 -0
- data/_includes/body/main.html +18 -0
- data/_includes/{menu.html → body/menu.html} +1 -0
- data/_includes/{nav.html → body/nav.html} +0 -0
- data/_includes/body/scripts.html +22 -0
- data/_includes/{sidebar.html → body/sidebar.html} +19 -6
- data/_includes/{about.html → components/about.html} +1 -1
- data/_includes/{author.html → components/author.html} +3 -3
- data/_includes/{avatar-tag.html → components/avatar-tag.html} +0 -0
- data/_includes/{srcset-img.html → components/hy-img.html} +24 -8
- data/_includes/{link.html → components/link.html} +0 -0
- data/_includes/{message.html → components/message.html} +0 -0
- data/_includes/{pagination.html → components/pagination.html} +2 -2
- data/_includes/{post-list-item.html → components/post-list-item.html} +0 -0
- data/_includes/{post.html → components/post.html} +21 -10
- data/_includes/{related-posts.html → components/related-posts.html} +1 -1
- data/_includes/components/social-list-item.html +40 -0
- data/_includes/components/social.html +23 -0
- data/_includes/{tag-list.html → components/tag-list.html} +0 -0
- data/_includes/head/index.html +9 -0
- data/_includes/head/links.html +7 -5
- data/_includes/head/meta.html +3 -3
- data/_includes/{page-style.html → head/page-style.html} +1 -1
- data/_includes/head/scripts.html +10 -39
- data/_includes/head/styles.html +42 -15
- data/_includes/header.txt +1 -1
- data/_includes/my-body.html +42 -0
- data/_includes/my-scripts.html +55 -0
- data/_includes/scripts/load-js.js +60 -0
- data/_includes/scripts/load-js.min.js +1 -0
- data/_includes/{smart-url → smart-url.txt} +0 -0
- data/_includes/styles/inline.scss +15 -19
- data/_includes/styles/style.scss +20 -17
- data/_includes/templates/animation.html +1 -1
- data/_includes/templates/back.html +1 -1
- data/_includes/templates/cookies-banner.html +1 -1
- data/_includes/templates/error.html +1 -1
- data/_includes/{templates.html → templates/index.html} +1 -2
- data/_includes/templates/loading.html +1 -1
- data/_includes/templates/permalink.html +1 -1
- data/_layouts/about.html +29 -30
- data/_layouts/base.html +20 -62
- data/_layouts/blog.html +20 -22
- data/_layouts/compress.html +1 -1
- data/_layouts/default.html +13 -18
- data/_layouts/home.html +11 -16
- data/_layouts/list.html +13 -18
- data/_layouts/not-found.html +11 -16
- data/_layouts/page.html +12 -17
- data/_layouts/post.html +15 -20
- data/_layouts/redirect.html +11 -16
- data/_sass/_mixins.scss +10 -15
- data/_sass/_spinner.scss +10 -15
- data/_sass/_variables.scss +35 -19
- data/_sass/hydejack/__inline/_avatar.scss +33 -32
- data/_sass/hydejack/__inline/_base.scss +30 -68
- data/_sass/hydejack/__inline/_break-layout.scss +19 -26
- data/_sass/hydejack/__inline/_content.scss +29 -34
- data/_sass/hydejack/__inline/_footer.scss +19 -26
- data/_sass/hydejack/__inline/_images.scss +38 -0
- data/_sass/hydejack/__inline/_katex.scss +19 -26
- data/_sass/hydejack/__inline/_links.scss +45 -0
- data/_sass/hydejack/__inline/_mark-external.scss +19 -26
- data/_sass/hydejack/__inline/_menu.scss +28 -35
- data/_sass/hydejack/__inline/_sidebar.scss +76 -76
- data/_sass/hydejack/__inline/_social.scss +25 -31
- data/_sass/hydejack/__inline/_utilities.scss +42 -0
- data/_sass/hydejack/__link/_avatar.scss +29 -28
- data/_sass/hydejack/__link/_base.scss +19 -83
- data/_sass/hydejack/__link/_break-layout.scss +35 -34
- data/_sass/hydejack/__link/_content.scss +19 -26
- data/_sass/hydejack/__link/_footer.scss +19 -26
- data/_sass/hydejack/__link/_images.scss +84 -0
- data/_sass/hydejack/__link/_katex.scss +19 -26
- data/_sass/hydejack/__link/_links.scss +53 -0
- data/_sass/hydejack/__link/_mark-external.scss +19 -26
- data/_sass/hydejack/__link/_menu.scss +29 -50
- data/_sass/hydejack/__link/_sidebar.scss +71 -118
- data/_sass/hydejack/__link/_social.scss +19 -26
- data/_sass/hydejack/__link/_utilities.scss +51 -0
- data/_sass/hydejack/_avatar.pre.scss +26 -20
- data/_sass/hydejack/_base.pre.scss +22 -88
- data/_sass/hydejack/_break-layout.pre.scss +26 -23
- data/_sass/hydejack/_content.pre.scss +20 -23
- data/_sass/hydejack/_footer.pre.scss +10 -15
- data/_sass/hydejack/_images.pre.scss +77 -0
- data/_sass/hydejack/_katex.pre.scss +10 -15
- data/_sass/hydejack/_links.pre.scss +47 -0
- data/_sass/hydejack/_mark-external.pre.scss +10 -15
- data/_sass/hydejack/_menu.pre.scss +31 -38
- data/_sass/hydejack/_sidebar.pre.scss +98 -116
- data/_sass/hydejack/_social.pre.scss +16 -20
- data/_sass/hydejack/_utilities.pre.scss +43 -0
- data/_sass/my-variables.scss +0 -8
- data/_sass/pooleparty/__inline/_base.scss +19 -28
- data/_sass/pooleparty/__inline/_code.scss +19 -26
- data/_sass/pooleparty/__inline/_footer.scss +19 -26
- data/_sass/pooleparty/__inline/_footnotes.scss +19 -26
- data/_sass/pooleparty/__inline/_message.scss +19 -26
- data/_sass/pooleparty/__inline/_pagination.scss +19 -26
- data/_sass/pooleparty/__inline/_posts.scss +19 -26
- data/_sass/pooleparty/__inline/_read-more.scss +25 -0
- data/_sass/pooleparty/__inline/_related.scss +19 -26
- data/_sass/pooleparty/__inline/_table.scss +19 -26
- data/_sass/pooleparty/__inline/_type.scss +25 -39
- data/_sass/pooleparty/__link/_base.scss +19 -26
- data/_sass/pooleparty/__link/_code.scss +19 -26
- data/_sass/pooleparty/__link/_footer.scss +19 -26
- data/_sass/pooleparty/__link/_footnotes.scss +30 -26
- data/_sass/pooleparty/__link/_message.scss +19 -26
- data/_sass/pooleparty/__link/_pagination.scss +19 -26
- data/_sass/pooleparty/__link/_posts.scss +20 -27
- data/_sass/pooleparty/__link/_read-more.scss +45 -0
- data/_sass/pooleparty/__link/_related.scss +19 -26
- data/_sass/pooleparty/__link/_table.scss +19 -26
- data/_sass/pooleparty/__link/_type.scss +27 -48
- data/_sass/pooleparty/_base.pre.scss +10 -17
- data/_sass/pooleparty/_code.pre.scss +10 -15
- data/_sass/pooleparty/_footer.pre.scss +10 -15
- data/_sass/pooleparty/_footnotes.pre.scss +21 -15
- data/_sass/pooleparty/_message.pre.scss +10 -15
- data/_sass/pooleparty/_pagination.pre.scss +10 -15
- data/_sass/pooleparty/_posts.pre.scss +11 -16
- data/_sass/pooleparty/_read-more.pre.scss +36 -0
- data/_sass/pooleparty/_related.pre.scss +10 -15
- data/_sass/pooleparty/_table.pre.scss +10 -15
- data/_sass/pooleparty/_type.pre.scss +24 -50
- data/assets/Resume.pdf +0 -0
- data/assets/bower.json +3 -3
- data/assets/bower_components/fontfaceobserver/.bower.json +33 -0
- data/assets/bower_components/fontfaceobserver/.gitignore +2 -0
- data/assets/bower_components/fontfaceobserver/.travis.yml +16 -0
- data/assets/bower_components/fontfaceobserver/Gruntfile.js +101 -0
- data/assets/bower_components/fontfaceobserver/LICENSE +23 -0
- data/assets/bower_components/fontfaceobserver/bower.json +22 -0
- data/assets/bower_components/fontfaceobserver/exports.js +8 -0
- data/assets/bower_components/fontfaceobserver/externs-commonjs.js +10 -0
- data/assets/bower_components/fontfaceobserver/externs.js +15 -0
- data/assets/bower_components/fontfaceobserver/fontfaceobserver.js +12 -0
- data/assets/bower_components/fontfaceobserver/fontfaceobserver.standalone.js +8 -0
- data/assets/bower_components/fontfaceobserver/package.json +57 -0
- data/assets/bower_components/fontfaceobserver/src/descriptors.js +10 -0
- data/assets/bower_components/fontfaceobserver/src/observer.js +349 -0
- data/assets/bower_components/fontfaceobserver/src/ruler.js +130 -0
- data/assets/bower_components/fontfaceobserver/test/assets/index.html +8 -0
- data/assets/bower_components/fontfaceobserver/test/assets/late.css +1 -0
- data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.eot +0 -0
- data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.ttf +0 -0
- data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.woff +0 -0
- data/assets/bower_components/fontfaceobserver/test/assets/subset.eot +0 -0
- data/assets/bower_components/fontfaceobserver/test/assets/subset.ttf +0 -0
- data/assets/bower_components/fontfaceobserver/test/assets/subset.woff +0 -0
- data/assets/bower_components/fontfaceobserver/test/deps.js +5 -0
- data/assets/bower_components/fontfaceobserver/test/index.html +97 -0
- data/assets/bower_components/fontfaceobserver/test/observer-test.js +465 -0
- data/assets/bower_components/fontfaceobserver/test/ruler-test.js +112 -0
- data/assets/bower_components/fontfaceobserver/vendor/google/base.js +1489 -0
- data/assets/bower_components/katex/.bower.json +7 -6
- data/assets/bower_components/katex/dist/contrib/auto-render.js +790 -0
- data/assets/bower_components/katex/dist/contrib/auto-render.min.js +1 -1
- data/assets/bower_components/katex/dist/contrib/copy-tex.css +12 -0
- data/assets/bower_components/katex/dist/contrib/copy-tex.js +174 -0
- data/assets/bower_components/katex/dist/contrib/copy-tex.min.css +1 -0
- data/assets/bower_components/katex/dist/contrib/copy-tex.min.js +1 -0
- data/assets/bower_components/katex/dist/contrib/mathtex-script-type.js +113 -0
- data/assets/bower_components/katex/dist/contrib/mathtex-script-type.min.js +1 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/katex.css +129 -209
- data/assets/bower_components/katex/dist/katex.js +14381 -9023
- data/assets/bower_components/katex/dist/katex.min.css +1 -1
- data/assets/bower_components/katex/dist/katex.min.js +1 -6
- data/assets/bower_components/katex/flow-typed/match-at.js +3 -0
- data/assets/bower_components/katex/flow-typed/object-assign.js +6 -0
- data/assets/bower_components/katex/package-lock.json +13848 -0
- data/assets/css/hydejack-8.0.0.css +3 -0
- data/assets/img/default-1.jpg +0 -0
- data/assets/img/example-content-ii.jpg +0 -0
- data/assets/img/example-content-iii.jpg +0 -0
- data/assets/img/hydejack-8.jpg +0 -0
- data/assets/img/hydejack-8@0,25x.jpg +0 -0
- data/assets/img/hydejack-8@0,5x.jpg +0 -0
- data/assets/img/projects/hy-drawer.svg +12 -0
- data/assets/img/projects/hy-img.svg +17 -0
- data/assets/img/projects/hy-push-state.svg +13 -0
- data/assets/img/resume.png +0 -0
- data/assets/img/sidebar-bg.jpg +0 -0
- data/assets/img/swipe.svg +22 -0
- data/assets/img/w3m.png +0 -0
- data/assets/js/hydejack-8.0.0.js +46 -0
- data/assets/js/sw.js +318 -0
- data/assets/manifest.json +4 -3
- data/assets/version.json +1 -1
- data/licenses/Apache-2.0.md +1 -4
- data/licenses/GPL-3.0.md +1 -4
- data/licenses/MIT.md +1 -4
- data/licenses/PRO.md +2 -6
- data/licenses/README.md +10 -0
- data/licenses/W3C.md +31 -0
- metadata +107 -94
- data/_includes/blog.html +0 -5
- data/_includes/body.html +0 -25
- data/_includes/head.html +0 -5
- data/_includes/scripts/load-js-deferred.js +0 -68
- data/_includes/scripts/load-js-deferred.min.js +0 -1
- data/_includes/social-list-item.html +0 -34
- data/_includes/social.html +0 -20
- data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.eot +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.eot +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.eot +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.eot +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.eot +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.eot +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.eot +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.eot +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.eot +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.eot +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Regular.eot +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.eot +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.eot +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.eot +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.eot +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.eot +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.eot +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.eot +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.eot +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.eot +0 -0
- data/assets/bower_components/webfontloader/.bower.json +0 -38
- data/assets/bower_components/webfontloader/CHANGELOG +0 -419
- data/assets/bower_components/webfontloader/Gemfile +0 -3
- data/assets/bower_components/webfontloader/LICENSE +0 -176
- data/assets/bower_components/webfontloader/Rakefile +0 -269
- data/assets/bower_components/webfontloader/bower.json +0 -23
- data/assets/bower_components/webfontloader/browsers.json +0 -133
- data/assets/bower_components/webfontloader/externs.js +0 -19
- data/assets/bower_components/webfontloader/package.json +0 -37
- data/assets/bower_components/webfontloader/src/closure.js +0 -2
- data/assets/bower_components/webfontloader/src/core/cssclassname.js +0 -46
- data/assets/bower_components/webfontloader/src/core/domhelper.js +0 -405
- data/assets/bower_components/webfontloader/src/core/eventdispatcher.js +0 -195
- data/assets/bower_components/webfontloader/src/core/font.js +0 -140
- data/assets/bower_components/webfontloader/src/core/fontmodule.js +0 -16
- data/assets/bower_components/webfontloader/src/core/fontmoduleloader.js +0 -47
- data/assets/bower_components/webfontloader/src/core/fontruler.js +0 -60
- data/assets/bower_components/webfontloader/src/core/fontwatcher.js +0 -171
- data/assets/bower_components/webfontloader/src/core/fontwatchrunner.js +0 -249
- data/assets/bower_components/webfontloader/src/core/initialize.js +0 -97
- data/assets/bower_components/webfontloader/src/core/nativefontwatchrunner.js +0 -69
- data/assets/bower_components/webfontloader/src/core/stylesheetwaiter.js +0 -48
- data/assets/bower_components/webfontloader/src/core/webfont.js +0 -97
- data/assets/bower_components/webfontloader/src/modules.yml +0 -34
- data/assets/bower_components/webfontloader/src/modules/custom.js +0 -63
- data/assets/bower_components/webfontloader/src/modules/fontdeck.js +0 -66
- data/assets/bower_components/webfontloader/src/modules/google/fontapiparser.js +0 -181
- data/assets/bower_components/webfontloader/src/modules/google/fontapiurlbuilder.js +0 -77
- data/assets/bower_components/webfontloader/src/modules/google/googlefontapi.js +0 -54
- data/assets/bower_components/webfontloader/src/modules/monotype.js +0 -110
- data/assets/bower_components/webfontloader/src/modules/typekit.js +0 -73
- data/assets/bower_components/webfontloader/webfontloader.gemspec +0 -191
- data/assets/bower_components/webfontloader/webfontloader.js +0 -17
- data/assets/js/hydejack-7.5.2.js +0 -249
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
{% if author.about %}
|
|
4
4
|
<aside class="about related mt4 mb4" role="complementary">
|
|
5
5
|
{% assign about_heading = site.data.strings.about | default:"About" %}
|
|
6
|
-
{% include author.html author=author heading=about_heading heading_tag='h2' %}
|
|
6
|
+
{% include components/author.html author=author heading=about_heading heading_tag='h2' %}
|
|
7
7
|
</aside>
|
|
8
8
|
{% endif %}
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
{% assign author = include.author %}
|
|
5
5
|
|
|
6
6
|
{% if author.picture %}
|
|
7
|
-
{% include
|
|
7
|
+
{% include components/hy-img.html class="avatar" img=author.picture alt=author.name %}
|
|
8
8
|
{% elsif plugins contains 'jekyll-avatar' %}
|
|
9
9
|
{% assign avatar = author.social.github | default:author.github.username | default:author.github %}
|
|
10
|
-
{% include avatar-tag.html user=avatar %}
|
|
10
|
+
{% include components/avatar-tag.html user=avatar %}
|
|
11
11
|
{% endif %}
|
|
12
12
|
|
|
13
13
|
{% assign heading_tag = include.heading_tag | default:'h2' %}
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
{{ .author.about | markdownify }}
|
|
20
20
|
|
|
21
21
|
<div class="sidebar-social">
|
|
22
|
-
{% include social.html author=author %}
|
|
22
|
+
{% include components/social.html author=author %}
|
|
23
23
|
</div>
|
|
24
24
|
</div>
|
|
File without changes
|
|
@@ -2,23 +2,39 @@
|
|
|
2
2
|
{% assign srcset = null %}
|
|
3
3
|
|
|
4
4
|
{% if include.img.srcset %}
|
|
5
|
-
{% capture srcset %}{% for hash in include.img.srcset %}{% assign tmp = hash[1] %}{% include smart-url url=tmp %} {{ hash[0] }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
|
|
5
|
+
{% capture srcset %}{% for hash in include.img.srcset %}{% assign tmp = hash[1] %}{% include smart-url.txt url=tmp %} {{ hash[0] }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
|
|
6
6
|
{% endif %}
|
|
7
7
|
|
|
8
8
|
{% assign src = include.img.src | default:include.img.path %}
|
|
9
|
-
|
|
10
|
-
src="{% include smart-url url=src %}"
|
|
9
|
+
{% capture attrs %}
|
|
10
|
+
src="{% include smart-url.txt url=src %}"
|
|
11
11
|
{% if include.class %}class="{{ include.class }}"{% endif %}
|
|
12
12
|
{% if include.alt %}alt="{{ include.alt }}"{% endif %}
|
|
13
13
|
{% if srcset %}srcset="{{ srcset | strip }}"{% endif %}
|
|
14
14
|
{% if include.sizes %}sizes="{{ include.sizes }}"{% endif %}
|
|
15
|
-
|
|
16
|
-
/>
|
|
15
|
+
{% endcapture %}
|
|
17
16
|
{% else %}
|
|
18
|
-
|
|
19
|
-
src="{% include smart-url url=include.img %}"
|
|
17
|
+
{% capture attrs %}
|
|
18
|
+
src="{% include smart-url.txt url=include.img %}"
|
|
20
19
|
{% if include.class %}class="{{ include.class }}"{% endif %}
|
|
21
20
|
{% if include.alt %}alt="{{ include.alt }}"{% endif %}
|
|
21
|
+
{% endcapture %}
|
|
22
|
+
{% endif %}
|
|
23
|
+
|
|
24
|
+
{% unless site.hydejack.no_img %}
|
|
25
|
+
<hy-img
|
|
26
|
+
{{ attrs }}
|
|
27
|
+
{% if include.property %}property="{{ include.property }}"{% endif %}
|
|
28
|
+
root-margin="512px"
|
|
29
|
+
>
|
|
30
|
+
<noscript><img re-ignore {{ attrs }}/></noscript>
|
|
31
|
+
<span class="loading" slot="loading" hidden>
|
|
32
|
+
<span class="icon-cog"></span>
|
|
33
|
+
</span>
|
|
34
|
+
</hy-img>
|
|
35
|
+
{% else %}
|
|
36
|
+
<img
|
|
37
|
+
{{ attrs }}
|
|
22
38
|
{% if include.property %}property="{{ include.property }}"{% endif %}
|
|
23
39
|
/>
|
|
24
|
-
{%
|
|
40
|
+
{% endunless %}
|
|
File without changes
|
|
File without changes
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
<li class="pagination-item older" >
|
|
5
5
|
{% assign next_title = site.data.strings.older | default:"Older" %}
|
|
6
6
|
{% assign next_href = paginator.next_page_path | relative_url %}
|
|
7
|
-
{% include link.html rel="next" title=next_title href=next_href %}
|
|
7
|
+
{% include components/link.html rel="next" title=next_title href=next_href %}
|
|
8
8
|
</li>
|
|
9
9
|
<li class="pagination-item newer" >
|
|
10
10
|
{% assign prev_title = site.data.strings.newer | default:"Newer" %}
|
|
11
11
|
{% assign prev_href = paginator.previous_page_path | relative_url %}
|
|
12
|
-
{% include link.html rel="prev" title=prev_title href=prev_href %}
|
|
12
|
+
{% include components/link.html rel="prev" title=prev_title href=prev_href %}
|
|
13
13
|
</li>
|
|
14
14
|
</ul>
|
|
15
15
|
</nav>
|
|
File without changes
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
{% assign post
|
|
2
|
-
{% assign
|
|
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 %}
|
|
3
5
|
|
|
4
|
-
<article id="post{{ post.id | replace:'/','-' }}" class="page post
|
|
6
|
+
<article id="post{{ post.id | replace:'/','-' }}" class="page post mb6" role="article">
|
|
5
7
|
<header>
|
|
6
8
|
<h1 class="post-title">
|
|
7
|
-
{%
|
|
9
|
+
{% unless no_link_title %}<a href="{{ post.url | relative_url }}" class="flip-title">{% endunless %}
|
|
8
10
|
{{ post.title }}
|
|
9
|
-
{%
|
|
11
|
+
{% unless no_link_title %}</a>{% endunless %}
|
|
10
12
|
</h1>
|
|
11
13
|
|
|
12
14
|
<p class="post-date heading">
|
|
@@ -16,17 +18,26 @@
|
|
|
16
18
|
{% assign tag_start = site.data.strings.tag_start | default:"on " %}
|
|
17
19
|
{% assign category_separator = site.data.strings.category_separator | default:" / " %}
|
|
18
20
|
{% assign tag_separator = site.data.strings.tag_separator | default:", " %}
|
|
19
|
-
{% include tag-list.html tags=post.categories meta=site.featured_categories start_with=category_start separator=category_separator %}
|
|
20
|
-
{% include tag-list.html tags=post.tags meta=site.featured_tags start_with=tag_start separator=tag_separator %}
|
|
21
|
+
{% include components/tag-list.html tags=post.categories meta=site.featured_categories start_with=category_start separator=category_separator %}
|
|
22
|
+
{% include components/tag-list.html tags=post.tags meta=site.featured_tags start_with=tag_start separator=tag_separator %}
|
|
21
23
|
</p>
|
|
22
24
|
|
|
23
|
-
{%
|
|
25
|
+
{% assign alt = false %}
|
|
26
|
+
{% unless hide_image %}{% if post.image %}
|
|
27
|
+
<div class="img lead sixteen-nine">
|
|
28
|
+
{% include components/hy-img.html img=post.image alt=post.title %}
|
|
29
|
+
</div>
|
|
30
|
+
{% assign alt = '' %}
|
|
31
|
+
{% endif %}{% endunless %}
|
|
32
|
+
|
|
33
|
+
{% include components/message.html text=post.description hide=page.hide_description alt=alt %}
|
|
24
34
|
</header>
|
|
25
35
|
|
|
26
|
-
{%
|
|
36
|
+
{% if no_excerpt %}
|
|
27
37
|
{{ post.content }}
|
|
28
38
|
{% else %}
|
|
29
39
|
{{ post.excerpt }}
|
|
40
|
+
|
|
30
41
|
{% capture post_title %}<a class="heading flip-title" href="{{ post.url | relative_url }}">{{ post.title }}</a>{% endcapture %}
|
|
31
42
|
{% assign text = site.data.strings.continue_reading | default:"Continue reading <!--post_title-->" %}
|
|
32
43
|
<footer>
|
|
@@ -34,5 +45,5 @@
|
|
|
34
45
|
{{ text | replace:"<!--post_title-->", post_title }}
|
|
35
46
|
</p>
|
|
36
47
|
</footer>
|
|
37
|
-
{%
|
|
48
|
+
{% endif %}
|
|
38
49
|
</article>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{% assign platform = include.platform | downcase %}
|
|
2
|
+
{% assign username = include.username %}
|
|
3
|
+
|
|
4
|
+
{% if username.size > 0 %}
|
|
5
|
+
{% assign = data_social = site.data.social[platform] | default:site.data_social[platform] %}
|
|
6
|
+
|
|
7
|
+
{% assign name = data_social.name | default:include.platform %}
|
|
8
|
+
{% assign icon = data_social.icon | default:'icon-link' %}
|
|
9
|
+
{% assign app = data_social.append %}
|
|
10
|
+
{% assign prep = data_social.prepend %}
|
|
11
|
+
|
|
12
|
+
{% unless data_social %}
|
|
13
|
+
{% if platform == "email" %}
|
|
14
|
+
{% assign name = "Email" %}
|
|
15
|
+
{% assign icon = "icon-mail" %}
|
|
16
|
+
{% assign prep = "mailto:" %}
|
|
17
|
+
{% elsif platform == "twitter" %}
|
|
18
|
+
{% assign name = "Twitter" %}
|
|
19
|
+
{% assign icon = "icon-twitter" %}
|
|
20
|
+
{% assign prep = "https://twitter.com/" %}
|
|
21
|
+
{% elsif platform == "github" %}
|
|
22
|
+
{% assign name = "GitHub" %}
|
|
23
|
+
{% assign icon = "icon-github" %}
|
|
24
|
+
{% assign prep = "https://github.com/" %}
|
|
25
|
+
{% endif %}
|
|
26
|
+
{% endunless %}
|
|
27
|
+
|
|
28
|
+
{% if username contains "//" or username contains "mailto:" %}
|
|
29
|
+
{% assign url = username %}
|
|
30
|
+
{% else %}
|
|
31
|
+
{% assign url = username | prepend:prep | append:app %}
|
|
32
|
+
{% endif %}
|
|
33
|
+
|
|
34
|
+
<li>
|
|
35
|
+
<a href="{{ url }}" title="{{ name }}" class="no-mark-external">
|
|
36
|
+
<span class="{{ icon }}"></span>
|
|
37
|
+
<span class="sr-only">{{ name }}</span>
|
|
38
|
+
</a>
|
|
39
|
+
</li>
|
|
40
|
+
{% endif %}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<span class="sr-only">{{ site.data.strings.social | default:"Social" }}{{ site.data.strings.colon }}</span>
|
|
2
|
+
<ul>
|
|
3
|
+
{% if include.author.social %}
|
|
4
|
+
{% for link in include.author.social %}
|
|
5
|
+
{% include components/social-list-item.html platform=link.first username=link.last %}
|
|
6
|
+
{% endfor %}
|
|
7
|
+
{% else %}
|
|
8
|
+
{% assign twitter_username = author.twitter.username | default: author.twitter | default:site.twitter.username | default:site.twitter | default:site.twitter_username %}
|
|
9
|
+
{% if twitter_username %}
|
|
10
|
+
{% include components/social-list-item.html platform="twitter" username=twitter_username %}
|
|
11
|
+
{% endif %}
|
|
12
|
+
|
|
13
|
+
{% assign github_username = author.github.username | default: author.github | default:site.github.username | default:site.github | default:site.github_username %}
|
|
14
|
+
{% if github_username %}
|
|
15
|
+
{% include components/social-list-item.html platform="github" username=github_username %}
|
|
16
|
+
{% endif %}
|
|
17
|
+
|
|
18
|
+
{% assign email = author.email | default: site.email %}
|
|
19
|
+
{% if email %}
|
|
20
|
+
{% include components/social-list-item.html platform="email" username=email %}
|
|
21
|
+
{% endif %}
|
|
22
|
+
{% endif %}
|
|
23
|
+
</ul>
|
|
File without changes
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{% assign google_fonts = site.google_fonts | default:"Roboto+Slab:400|Noto+Sans:400,400i,700,700i" %}
|
|
2
|
+
{% assign font_heading = site.font_heading | default:"Roboto Slab, Helvetica, Arial, sans-serif" %}
|
|
3
|
+
{% assign font = site.font | default:"Noto Sans, Helvetica, Arial, sans-serif" %}
|
|
4
|
+
|
|
5
|
+
{% include head/meta.html %}
|
|
6
|
+
{% include head/links.html %}
|
|
7
|
+
{% include head/scripts.html %}
|
|
8
|
+
{% include head/styles.html %}
|
|
9
|
+
{% include my-head.html %}
|
data/_includes/head/links.html
CHANGED
|
@@ -18,12 +18,14 @@
|
|
|
18
18
|
|
|
19
19
|
{% assign disqus = site.disqus | default:site.disqus_shortname %}
|
|
20
20
|
{% if disqus %}
|
|
21
|
-
<link
|
|
21
|
+
<link rel="dns-prefetch" href="https://{{ disqus }}.disqus.com" id="_hrefDisqus">
|
|
22
22
|
{% endif %}
|
|
23
23
|
|
|
24
24
|
{% comment %}<!--
|
|
25
|
-
|
|
26
|
-
This way, CDN optimizers or other tools can modify the URL and we avoid hard-coding it in JavaScript.
|
|
25
|
+
This is to avoid hard-coding URLs in JS (where they can't be discovered by automated tools).
|
|
27
26
|
-->{% endcomment %}
|
|
28
|
-
<link
|
|
29
|
-
<link
|
|
27
|
+
<link href="{{ '/assets/js/hydejack-8.0.0.js' | relative_url }}" id="_hrefJS">
|
|
28
|
+
<link href="{{ '/assets/bower_components/fontfaceobserver/fontfaceobserver.standalone.js'| relative_url }}" id="_hrefFFO">
|
|
29
|
+
<link href="{{ '/assets/bower_components/katex/dist/katex.min.js' | relative_url }}" id="_hrefKatexJS">
|
|
30
|
+
<link href="{{ '/assets/bower_components/katex/dist/katex.min.css' | relative_url }}" id="_hrefKatexCSS">
|
|
31
|
+
<link href="{{ '/assets/img/swipe.svg' | relative_url }}" id="_hrefSwipeSVG">
|
data/_includes/head/meta.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
{% if plugins contains 'jekyll-seo-tag' %}{% include head/seo-tag.html %}
|
|
7
7
|
{% else %}{% include head/seo-fallback.html %}{% endif %}
|
|
8
8
|
|
|
9
|
-
{% if site.keywords or page.keywords %}
|
|
9
|
+
{% if site.keywords.size > 0 or page.keywords.size > 0 %}
|
|
10
10
|
<meta name="keywords" content="{{ page.keywords | default:site.keywords | join:',' }}">
|
|
11
11
|
{% endif %}
|
|
12
12
|
{% else %}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<meta name="msapplication-config" content="{{ '/assets/ieconfig.xml' | relative_url }}">
|
|
25
25
|
|
|
26
26
|
{% unless site.hydejack.no_theme_color %}
|
|
27
|
-
<meta name="theme-color" content="{{
|
|
27
|
+
<meta name="theme-color" content="{{ theme_color | default:'#193747' }}">
|
|
28
28
|
{% endunless %}
|
|
29
29
|
|
|
30
|
-
<meta name="generator" content="Hydejack
|
|
30
|
+
<meta name="generator" content="Hydejack v8.0.0" />
|
data/_includes/head/scripts.html
CHANGED
|
@@ -1,44 +1,15 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
{% include scripts/load-js
|
|
2
|
+
{% include scripts/load-js.min.js %}{% include scripts/loadCSS.min.js %}{% include scripts/cssrelpreload.min.js %}
|
|
3
3
|
window._noPushState = {{ site.hydejack.no_push_state | default:site.disable_push_state | default:false }};
|
|
4
4
|
window._noDrawer = {{ site.hydejack.no_drawer | default:site.disable_drawer | default:false }};
|
|
5
|
-
</script>
|
|
6
|
-
|
|
7
|
-
<!--[if gt IE 8]><!---->
|
|
8
|
-
{% assign google_fonts = site.google_fonts | default:"Roboto+Slab:700|Noto+Sans:400,400i,700,700i" %}
|
|
9
|
-
{% capture icons_url %}{% link assets/icomoon/style.css %}{% endcapture %}
|
|
10
|
-
<script>
|
|
11
|
-
WebFontConfig = {
|
|
12
|
-
{% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
|
|
13
|
-
google: {
|
|
14
|
-
families: ['{{ google_fonts | split:"|" | join:"','" }}']
|
|
15
|
-
},
|
|
16
|
-
{% endunless %}
|
|
17
|
-
|
|
18
|
-
custom: {
|
|
19
|
-
families: ['icomoon'],
|
|
20
|
-
urls: ['{{ icons_url | relative_url }}']
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
(function(d) {
|
|
24
|
-
var wf = d.createElement('script'), s = d.scripts[0];
|
|
25
|
-
wf.src = "{{ '/assets/bower_components/webfontloader/webfontloader.js' | relative_url }}";
|
|
26
|
-
s.parentNode.insertBefore(wf, s);
|
|
27
|
-
}(document));
|
|
28
|
-
</script>
|
|
29
|
-
<!--<![endif]-->
|
|
30
|
-
|
|
31
|
-
<noscript>
|
|
32
|
-
{% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
|
|
33
|
-
{% assign font = site.font | default:"'Noto Sans', Helvetica, Arial, sans-serif" %}
|
|
34
|
-
|
|
35
5
|
{% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
6
|
+
!function(w, d) {
|
|
7
|
+
loadJS(document.getElementById('_hrefFFO').href, function() {
|
|
8
|
+
if ('Promise' in w) Promise.all([
|
|
9
|
+
new FontFaceObserver('{{ font | split:',' | first }}').load(),
|
|
10
|
+
new FontFaceObserver('{{ font_heading | split:',' | first }}').load(),
|
|
11
|
+
]).then(function f() { d.body.className += ' font-active'; }, function() {});
|
|
12
|
+
});
|
|
13
|
+
}(window, document);
|
|
41
14
|
{% endunless %}
|
|
42
|
-
|
|
43
|
-
<link rel="stylesheet" href="{{ icons_url | relative_url }}">
|
|
44
|
-
</noscript>
|
|
15
|
+
</script>
|
data/_includes/head/styles.html
CHANGED
|
@@ -1,24 +1,51 @@
|
|
|
1
1
|
<!--[if gt IE 8]><!---->
|
|
2
|
-
{% capture style_url %}{% link assets/css/hydejack-
|
|
2
|
+
{% capture style_url %}{% link assets/css/hydejack-8.0.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 }}{% 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" %}
|
|
3
8
|
|
|
4
9
|
{% if site.hydejack.no_inline_css or jekyll.environment == 'development' %}
|
|
5
10
|
<link rel="stylesheet" href="{{ style_url | relative_url }}">
|
|
11
|
+
<link rel="stylesheet" href="{{ icons_url | relative_url }}">
|
|
12
|
+
{% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
|
|
13
|
+
<link rel="stylesheet" href="{{ fonts_url }}">
|
|
14
|
+
<noscript>
|
|
15
|
+
<style>
|
|
16
|
+
html { font-family: {{ font }}!important; }
|
|
17
|
+
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: {{ font_heading }}!important; }
|
|
18
|
+
</style>
|
|
19
|
+
</noscript>
|
|
20
|
+
{% endunless %}
|
|
6
21
|
{% else %}
|
|
7
22
|
<style>
|
|
8
|
-
{% capture
|
|
9
|
-
{{
|
|
10
|
-
{% if page.layout == "projects" or page.layout == "project" or page.layout == "welcome" %}
|
|
11
|
-
{% capture include_to_scssify %}{% include styles/pro/projects.scss %}{% endcapture %}
|
|
12
|
-
{{ include_to_scssify | scssify }}
|
|
13
|
-
{% elsif page.layout == "resume" %}
|
|
14
|
-
{% capture include_to_scssify %}{% include styles/pro/resume.scss %}{% endcapture %}
|
|
15
|
-
{{ include_to_scssify | scssify }}
|
|
16
|
-
{% endif %}
|
|
23
|
+
{% capture to_scssify %}{% include styles/inline.scss %}{% endcapture %}
|
|
24
|
+
{{ to_scssify | scssify }}
|
|
17
25
|
</style>
|
|
18
|
-
<link id="_stylePreload" rel="preload" as="style" href="{{ style_url | relative_url }}">
|
|
19
|
-
<script>window.setRelStylesheet('_stylePreload');</script>
|
|
20
|
-
<noscript><link rel="stylesheet" href="{{ style_url | relative_url }}"></noscript>
|
|
21
|
-
{% endif %}
|
|
22
26
|
|
|
23
|
-
|
|
27
|
+
<link rel="preload" as="style" href="{{ style_url | relative_url }}" id="_stylePreload">
|
|
28
|
+
<script>setRel('_stylePreload');</script>
|
|
29
|
+
|
|
30
|
+
<link rel="preload" as="style" href="{{ icons_url | relative_url }}" id="_iconsPreload">
|
|
31
|
+
<script>setRel('_iconsPreload');</script>
|
|
32
|
+
|
|
33
|
+
{% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
|
|
34
|
+
<link rel="preload" as="style" href="{{ fonts_url }}" id="_fontsPreload">
|
|
35
|
+
<script>setRel('_fontsPreload');</script>
|
|
36
|
+
{% endunless %}
|
|
37
|
+
|
|
38
|
+
<noscript>
|
|
39
|
+
<link rel="stylesheet" href="{{ style_url | relative_url }}">
|
|
40
|
+
<link rel="stylesheet" href="{{ icons_url | relative_url }}">
|
|
41
|
+
{% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
|
|
42
|
+
<link rel="stylesheet" href="{{ fonts_url }}">
|
|
43
|
+
<style>
|
|
44
|
+
html { font-family: {{ font }}!important; }
|
|
45
|
+
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: {{ font_heading }}!important; }
|
|
46
|
+
</style>
|
|
47
|
+
{% endunless %}
|
|
48
|
+
</noscript>
|
|
49
|
+
{% endif %}
|
|
50
|
+
{% include head/page-style.html %}
|
|
24
51
|
<!--<![endif]-->
|
data/_includes/header.txt
CHANGED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{% comment %}
|
|
2
|
+
<!--
|
|
3
|
+
Example code for using Matamo as alternative analytics solution.
|
|
4
|
+
-->
|
|
5
|
+
{% if site.matomo_analytics %}
|
|
6
|
+
<script>
|
|
7
|
+
var _paq = _paq || [];
|
|
8
|
+
|
|
9
|
+
{% if site.matomo_analytics.no_cookies %}
|
|
10
|
+
_paq.push(['disableCookies']);
|
|
11
|
+
{% endif %}
|
|
12
|
+
|
|
13
|
+
_paq.push(['trackPageView']);
|
|
14
|
+
_paq.push(['enableLinkTracking']);
|
|
15
|
+
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
|
16
|
+
_paq.push(['setSiteId', '{{site.matomo_analytics.site_id}}']);
|
|
17
|
+
|
|
18
|
+
var pushStateEl = document.getElementsByTagName('hy-push-state')[0];
|
|
19
|
+
var timeStartLoadPage, referer, timeItTookToLoadPage;
|
|
20
|
+
|
|
21
|
+
pushStateEl.addEventListener('hy-push-state-start', function() {
|
|
22
|
+
timeStartLoadPage = new Date().getTime();
|
|
23
|
+
referer = window.location.toString();
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
pushStateEl.addEventListener('hy-push-state-ready', function() {
|
|
27
|
+
timeItTookToLoadPage = new Date().getTime() - timeStartLoadPage;
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
pushStateEl.addEventListener('hy-push-state-after', function() {
|
|
31
|
+
_paq.push(['setReferrerUrl', referer]);
|
|
32
|
+
_paq.push(['setCustomUrl', window.location.toString()]);
|
|
33
|
+
_paq.push(['setDocumentTitle', document.title]);
|
|
34
|
+
_paq.push(['deleteCustomVariables', 'page']);
|
|
35
|
+
_paq.push(['setGenerationTimeMs', timeItTookToLoadPage]);
|
|
36
|
+
_paq.push(['trackPageView']);
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
window.loadJSDeferred('{{site.matomo_analytics.root}}piwik.js');
|
|
40
|
+
</script>
|
|
41
|
+
{% endif %}
|
|
42
|
+
{% endcomment %}
|