jekyll-theme-hydejack 7.5.2 → 8.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (328) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +1 -4
  3. data/README.md +139 -86
  4. data/_includes/body/analytics.html +36 -0
  5. data/_includes/{comments.html → body/comments.html} +0 -0
  6. data/_includes/{footer.html → body/footer.html} +4 -2
  7. data/_includes/body/index.html +22 -0
  8. data/_includes/body/main.html +18 -0
  9. data/_includes/{menu.html → body/menu.html} +1 -0
  10. data/_includes/{nav.html → body/nav.html} +0 -0
  11. data/_includes/body/scripts.html +22 -0
  12. data/_includes/{sidebar.html → body/sidebar.html} +19 -6
  13. data/_includes/{about.html → components/about.html} +1 -1
  14. data/_includes/{author.html → components/author.html} +3 -3
  15. data/_includes/{avatar-tag.html → components/avatar-tag.html} +0 -0
  16. data/_includes/{srcset-img.html → components/hy-img.html} +24 -8
  17. data/_includes/{link.html → components/link.html} +0 -0
  18. data/_includes/{message.html → components/message.html} +0 -0
  19. data/_includes/{pagination.html → components/pagination.html} +2 -2
  20. data/_includes/{post-list-item.html → components/post-list-item.html} +0 -0
  21. data/_includes/{post.html → components/post.html} +21 -10
  22. data/_includes/{related-posts.html → components/related-posts.html} +1 -1
  23. data/_includes/components/social-list-item.html +40 -0
  24. data/_includes/components/social.html +23 -0
  25. data/_includes/{tag-list.html → components/tag-list.html} +0 -0
  26. data/_includes/head/index.html +9 -0
  27. data/_includes/head/links.html +7 -5
  28. data/_includes/head/meta.html +3 -3
  29. data/_includes/{page-style.html → head/page-style.html} +1 -1
  30. data/_includes/head/scripts.html +10 -39
  31. data/_includes/head/styles.html +42 -15
  32. data/_includes/header.txt +1 -1
  33. data/_includes/my-body.html +42 -0
  34. data/_includes/my-scripts.html +55 -0
  35. data/_includes/scripts/load-js.js +60 -0
  36. data/_includes/scripts/load-js.min.js +1 -0
  37. data/_includes/{smart-url → smart-url.txt} +0 -0
  38. data/_includes/styles/inline.scss +15 -19
  39. data/_includes/styles/style.scss +20 -17
  40. data/_includes/templates/animation.html +1 -1
  41. data/_includes/templates/back.html +1 -1
  42. data/_includes/templates/cookies-banner.html +1 -1
  43. data/_includes/templates/error.html +1 -1
  44. data/_includes/{templates.html → templates/index.html} +1 -2
  45. data/_includes/templates/loading.html +1 -1
  46. data/_includes/templates/permalink.html +1 -1
  47. data/_layouts/about.html +29 -30
  48. data/_layouts/base.html +20 -62
  49. data/_layouts/blog.html +20 -22
  50. data/_layouts/compress.html +1 -1
  51. data/_layouts/default.html +13 -18
  52. data/_layouts/home.html +11 -16
  53. data/_layouts/list.html +13 -18
  54. data/_layouts/not-found.html +11 -16
  55. data/_layouts/page.html +12 -17
  56. data/_layouts/post.html +15 -20
  57. data/_layouts/redirect.html +11 -16
  58. data/_sass/_mixins.scss +10 -15
  59. data/_sass/_spinner.scss +10 -15
  60. data/_sass/_variables.scss +35 -19
  61. data/_sass/hydejack/__inline/_avatar.scss +33 -32
  62. data/_sass/hydejack/__inline/_base.scss +30 -68
  63. data/_sass/hydejack/__inline/_break-layout.scss +19 -26
  64. data/_sass/hydejack/__inline/_content.scss +29 -34
  65. data/_sass/hydejack/__inline/_footer.scss +19 -26
  66. data/_sass/hydejack/__inline/_images.scss +38 -0
  67. data/_sass/hydejack/__inline/_katex.scss +19 -26
  68. data/_sass/hydejack/__inline/_links.scss +45 -0
  69. data/_sass/hydejack/__inline/_mark-external.scss +19 -26
  70. data/_sass/hydejack/__inline/_menu.scss +28 -35
  71. data/_sass/hydejack/__inline/_sidebar.scss +76 -76
  72. data/_sass/hydejack/__inline/_social.scss +25 -31
  73. data/_sass/hydejack/__inline/_utilities.scss +42 -0
  74. data/_sass/hydejack/__link/_avatar.scss +29 -28
  75. data/_sass/hydejack/__link/_base.scss +19 -83
  76. data/_sass/hydejack/__link/_break-layout.scss +35 -34
  77. data/_sass/hydejack/__link/_content.scss +19 -26
  78. data/_sass/hydejack/__link/_footer.scss +19 -26
  79. data/_sass/hydejack/__link/_images.scss +84 -0
  80. data/_sass/hydejack/__link/_katex.scss +19 -26
  81. data/_sass/hydejack/__link/_links.scss +53 -0
  82. data/_sass/hydejack/__link/_mark-external.scss +19 -26
  83. data/_sass/hydejack/__link/_menu.scss +29 -50
  84. data/_sass/hydejack/__link/_sidebar.scss +71 -118
  85. data/_sass/hydejack/__link/_social.scss +19 -26
  86. data/_sass/hydejack/__link/_utilities.scss +51 -0
  87. data/_sass/hydejack/_avatar.pre.scss +26 -20
  88. data/_sass/hydejack/_base.pre.scss +22 -88
  89. data/_sass/hydejack/_break-layout.pre.scss +26 -23
  90. data/_sass/hydejack/_content.pre.scss +20 -23
  91. data/_sass/hydejack/_footer.pre.scss +10 -15
  92. data/_sass/hydejack/_images.pre.scss +77 -0
  93. data/_sass/hydejack/_katex.pre.scss +10 -15
  94. data/_sass/hydejack/_links.pre.scss +47 -0
  95. data/_sass/hydejack/_mark-external.pre.scss +10 -15
  96. data/_sass/hydejack/_menu.pre.scss +31 -38
  97. data/_sass/hydejack/_sidebar.pre.scss +98 -116
  98. data/_sass/hydejack/_social.pre.scss +16 -20
  99. data/_sass/hydejack/_utilities.pre.scss +43 -0
  100. data/_sass/my-variables.scss +0 -8
  101. data/_sass/pooleparty/__inline/_base.scss +19 -28
  102. data/_sass/pooleparty/__inline/_code.scss +19 -26
  103. data/_sass/pooleparty/__inline/_footer.scss +19 -26
  104. data/_sass/pooleparty/__inline/_footnotes.scss +19 -26
  105. data/_sass/pooleparty/__inline/_message.scss +19 -26
  106. data/_sass/pooleparty/__inline/_pagination.scss +19 -26
  107. data/_sass/pooleparty/__inline/_posts.scss +19 -26
  108. data/_sass/pooleparty/__inline/_read-more.scss +25 -0
  109. data/_sass/pooleparty/__inline/_related.scss +19 -26
  110. data/_sass/pooleparty/__inline/_table.scss +19 -26
  111. data/_sass/pooleparty/__inline/_type.scss +25 -39
  112. data/_sass/pooleparty/__link/_base.scss +19 -26
  113. data/_sass/pooleparty/__link/_code.scss +19 -26
  114. data/_sass/pooleparty/__link/_footer.scss +19 -26
  115. data/_sass/pooleparty/__link/_footnotes.scss +30 -26
  116. data/_sass/pooleparty/__link/_message.scss +19 -26
  117. data/_sass/pooleparty/__link/_pagination.scss +19 -26
  118. data/_sass/pooleparty/__link/_posts.scss +20 -27
  119. data/_sass/pooleparty/__link/_read-more.scss +45 -0
  120. data/_sass/pooleparty/__link/_related.scss +19 -26
  121. data/_sass/pooleparty/__link/_table.scss +19 -26
  122. data/_sass/pooleparty/__link/_type.scss +27 -48
  123. data/_sass/pooleparty/_base.pre.scss +10 -17
  124. data/_sass/pooleparty/_code.pre.scss +10 -15
  125. data/_sass/pooleparty/_footer.pre.scss +10 -15
  126. data/_sass/pooleparty/_footnotes.pre.scss +21 -15
  127. data/_sass/pooleparty/_message.pre.scss +10 -15
  128. data/_sass/pooleparty/_pagination.pre.scss +10 -15
  129. data/_sass/pooleparty/_posts.pre.scss +11 -16
  130. data/_sass/pooleparty/_read-more.pre.scss +36 -0
  131. data/_sass/pooleparty/_related.pre.scss +10 -15
  132. data/_sass/pooleparty/_table.pre.scss +10 -15
  133. data/_sass/pooleparty/_type.pre.scss +24 -50
  134. data/assets/Resume.pdf +0 -0
  135. data/assets/bower.json +3 -3
  136. data/assets/bower_components/fontfaceobserver/.bower.json +33 -0
  137. data/assets/bower_components/fontfaceobserver/.gitignore +2 -0
  138. data/assets/bower_components/fontfaceobserver/.travis.yml +16 -0
  139. data/assets/bower_components/fontfaceobserver/Gruntfile.js +101 -0
  140. data/assets/bower_components/fontfaceobserver/LICENSE +23 -0
  141. data/assets/bower_components/fontfaceobserver/bower.json +22 -0
  142. data/assets/bower_components/fontfaceobserver/exports.js +8 -0
  143. data/assets/bower_components/fontfaceobserver/externs-commonjs.js +10 -0
  144. data/assets/bower_components/fontfaceobserver/externs.js +15 -0
  145. data/assets/bower_components/fontfaceobserver/fontfaceobserver.js +12 -0
  146. data/assets/bower_components/fontfaceobserver/fontfaceobserver.standalone.js +8 -0
  147. data/assets/bower_components/fontfaceobserver/package.json +57 -0
  148. data/assets/bower_components/fontfaceobserver/src/descriptors.js +10 -0
  149. data/assets/bower_components/fontfaceobserver/src/observer.js +349 -0
  150. data/assets/bower_components/fontfaceobserver/src/ruler.js +130 -0
  151. data/assets/bower_components/fontfaceobserver/test/assets/index.html +8 -0
  152. data/assets/bower_components/fontfaceobserver/test/assets/late.css +1 -0
  153. data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.eot +0 -0
  154. data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.ttf +0 -0
  155. data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.woff +0 -0
  156. data/assets/bower_components/fontfaceobserver/test/assets/subset.eot +0 -0
  157. data/assets/bower_components/fontfaceobserver/test/assets/subset.ttf +0 -0
  158. data/assets/bower_components/fontfaceobserver/test/assets/subset.woff +0 -0
  159. data/assets/bower_components/fontfaceobserver/test/deps.js +5 -0
  160. data/assets/bower_components/fontfaceobserver/test/index.html +97 -0
  161. data/assets/bower_components/fontfaceobserver/test/observer-test.js +465 -0
  162. data/assets/bower_components/fontfaceobserver/test/ruler-test.js +112 -0
  163. data/assets/bower_components/fontfaceobserver/vendor/google/base.js +1489 -0
  164. data/assets/bower_components/katex/.bower.json +7 -6
  165. data/assets/bower_components/katex/dist/contrib/auto-render.js +790 -0
  166. data/assets/bower_components/katex/dist/contrib/auto-render.min.js +1 -1
  167. data/assets/bower_components/katex/dist/contrib/copy-tex.css +12 -0
  168. data/assets/bower_components/katex/dist/contrib/copy-tex.js +174 -0
  169. data/assets/bower_components/katex/dist/contrib/copy-tex.min.css +1 -0
  170. data/assets/bower_components/katex/dist/contrib/copy-tex.min.js +1 -0
  171. data/assets/bower_components/katex/dist/contrib/mathtex-script-type.js +113 -0
  172. data/assets/bower_components/katex/dist/contrib/mathtex-script-type.min.js +1 -0
  173. data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.ttf +0 -0
  174. data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.woff +0 -0
  175. data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  176. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  177. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  178. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  179. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  180. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  181. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  182. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  183. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  184. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  185. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  186. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  187. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  188. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.ttf +0 -0
  189. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.woff +0 -0
  190. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.woff2 +0 -0
  191. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
  192. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.woff +0 -0
  193. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  194. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.ttf +0 -0
  195. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.woff +0 -0
  196. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.woff2 +0 -0
  197. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.ttf +0 -0
  198. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.woff +0 -0
  199. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.woff2 +0 -0
  200. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.ttf +0 -0
  201. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.woff +0 -0
  202. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.woff2 +0 -0
  203. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  204. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  205. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  206. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  207. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  208. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  209. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  210. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  211. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  212. data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.ttf +0 -0
  213. data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.woff +0 -0
  214. data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.woff2 +0 -0
  215. data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.ttf +0 -0
  216. data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.woff +0 -0
  217. data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  218. data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.ttf +0 -0
  219. data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.woff +0 -0
  220. data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  221. data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.ttf +0 -0
  222. data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.woff +0 -0
  223. data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  224. data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.ttf +0 -0
  225. data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.woff +0 -0
  226. data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  227. data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  228. data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  229. data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  230. data/assets/bower_components/katex/dist/katex.css +129 -209
  231. data/assets/bower_components/katex/dist/katex.js +14381 -9023
  232. data/assets/bower_components/katex/dist/katex.min.css +1 -1
  233. data/assets/bower_components/katex/dist/katex.min.js +1 -6
  234. data/assets/bower_components/katex/flow-typed/match-at.js +3 -0
  235. data/assets/bower_components/katex/flow-typed/object-assign.js +6 -0
  236. data/assets/bower_components/katex/package-lock.json +13848 -0
  237. data/assets/css/hydejack-8.0.0.css +3 -0
  238. data/assets/img/default-1.jpg +0 -0
  239. data/assets/img/example-content-ii.jpg +0 -0
  240. data/assets/img/example-content-iii.jpg +0 -0
  241. data/assets/img/hydejack-8.jpg +0 -0
  242. data/assets/img/hydejack-8@0,25x.jpg +0 -0
  243. data/assets/img/hydejack-8@0,5x.jpg +0 -0
  244. data/assets/img/projects/hy-drawer.svg +12 -0
  245. data/assets/img/projects/hy-img.svg +17 -0
  246. data/assets/img/projects/hy-push-state.svg +13 -0
  247. data/assets/img/resume.png +0 -0
  248. data/assets/img/sidebar-bg.jpg +0 -0
  249. data/assets/img/swipe.svg +22 -0
  250. data/assets/img/w3m.png +0 -0
  251. data/assets/js/hydejack-8.0.0.js +46 -0
  252. data/assets/js/sw.js +318 -0
  253. data/assets/manifest.json +4 -3
  254. data/assets/version.json +1 -1
  255. data/licenses/Apache-2.0.md +1 -4
  256. data/licenses/GPL-3.0.md +1 -4
  257. data/licenses/MIT.md +1 -4
  258. data/licenses/PRO.md +2 -6
  259. data/licenses/README.md +10 -0
  260. data/licenses/W3C.md +31 -0
  261. metadata +107 -94
  262. data/_includes/blog.html +0 -5
  263. data/_includes/body.html +0 -25
  264. data/_includes/head.html +0 -5
  265. data/_includes/scripts/load-js-deferred.js +0 -68
  266. data/_includes/scripts/load-js-deferred.min.js +0 -1
  267. data/_includes/social-list-item.html +0 -34
  268. data/_includes/social.html +0 -20
  269. data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.eot +0 -0
  270. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.eot +0 -0
  271. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.eot +0 -0
  272. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.eot +0 -0
  273. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.eot +0 -0
  274. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.eot +0 -0
  275. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.eot +0 -0
  276. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.eot +0 -0
  277. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.eot +0 -0
  278. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  279. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  280. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  281. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.eot +0 -0
  282. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Regular.eot +0 -0
  283. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Regular.ttf +0 -0
  284. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Regular.woff +0 -0
  285. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Regular.woff2 +0 -0
  286. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.eot +0 -0
  287. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.eot +0 -0
  288. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.eot +0 -0
  289. data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.eot +0 -0
  290. data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.eot +0 -0
  291. data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.eot +0 -0
  292. data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.eot +0 -0
  293. data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.eot +0 -0
  294. data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.eot +0 -0
  295. data/assets/bower_components/webfontloader/.bower.json +0 -38
  296. data/assets/bower_components/webfontloader/CHANGELOG +0 -419
  297. data/assets/bower_components/webfontloader/Gemfile +0 -3
  298. data/assets/bower_components/webfontloader/LICENSE +0 -176
  299. data/assets/bower_components/webfontloader/Rakefile +0 -269
  300. data/assets/bower_components/webfontloader/bower.json +0 -23
  301. data/assets/bower_components/webfontloader/browsers.json +0 -133
  302. data/assets/bower_components/webfontloader/externs.js +0 -19
  303. data/assets/bower_components/webfontloader/package.json +0 -37
  304. data/assets/bower_components/webfontloader/src/closure.js +0 -2
  305. data/assets/bower_components/webfontloader/src/core/cssclassname.js +0 -46
  306. data/assets/bower_components/webfontloader/src/core/domhelper.js +0 -405
  307. data/assets/bower_components/webfontloader/src/core/eventdispatcher.js +0 -195
  308. data/assets/bower_components/webfontloader/src/core/font.js +0 -140
  309. data/assets/bower_components/webfontloader/src/core/fontmodule.js +0 -16
  310. data/assets/bower_components/webfontloader/src/core/fontmoduleloader.js +0 -47
  311. data/assets/bower_components/webfontloader/src/core/fontruler.js +0 -60
  312. data/assets/bower_components/webfontloader/src/core/fontwatcher.js +0 -171
  313. data/assets/bower_components/webfontloader/src/core/fontwatchrunner.js +0 -249
  314. data/assets/bower_components/webfontloader/src/core/initialize.js +0 -97
  315. data/assets/bower_components/webfontloader/src/core/nativefontwatchrunner.js +0 -69
  316. data/assets/bower_components/webfontloader/src/core/stylesheetwaiter.js +0 -48
  317. data/assets/bower_components/webfontloader/src/core/webfont.js +0 -97
  318. data/assets/bower_components/webfontloader/src/modules.yml +0 -34
  319. data/assets/bower_components/webfontloader/src/modules/custom.js +0 -63
  320. data/assets/bower_components/webfontloader/src/modules/fontdeck.js +0 -66
  321. data/assets/bower_components/webfontloader/src/modules/google/fontapiparser.js +0 -181
  322. data/assets/bower_components/webfontloader/src/modules/google/fontapiurlbuilder.js +0 -77
  323. data/assets/bower_components/webfontloader/src/modules/google/googlefontapi.js +0 -54
  324. data/assets/bower_components/webfontloader/src/modules/monotype.js +0 -110
  325. data/assets/bower_components/webfontloader/src/modules/typekit.js +0 -73
  326. data/assets/bower_components/webfontloader/webfontloader.gemspec +0 -191
  327. data/assets/bower_components/webfontloader/webfontloader.js +0 -17
  328. 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 srcset-img.html class="avatar" img=author.picture alt=author.name %}
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>
@@ -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
- <img
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
- {% if include.property %}property="{{ include.property }}"{% endif %}
16
- />
15
+ {% endcapture %}
17
16
  {% else %}
18
- <img
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
- {% endif %}
40
+ {% endunless %}
@@ -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>
@@ -1,12 +1,14 @@
1
- {% assign post = include.post %}
2
- {% assign link_title = include.link_title %}
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{% if link_title %} mb6{% endif %}" role="article">
6
+ <article id="post{{ post.id | replace:'/','-' }}" class="page post mb6" role="article">
5
7
  <header>
6
8
  <h1 class="post-title">
7
- {% if link_title %}<a href="{{ post.url | relative_url }}" class="flip-title">{% endif %}
9
+ {% unless no_link_title %}<a href="{{ post.url | relative_url }}" class="flip-title">{% endunless %}
8
10
  {{ post.title }}
9
- {% if link_title %}</a>{% endif %}
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
- {% include message.html text=post.description hide=page.hide_description %}
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
- {% unless include.excerpt %}
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
- {% endunless %}
48
+ {% endif %}
38
49
  </article>
@@ -16,7 +16,7 @@
16
16
 
17
17
  <ul class="related-posts">
18
18
  {% for post in related_posts limit:3 %}
19
- {% include post-list-item.html post=post %}
19
+ {% include components/post-list-item.html post=post %}
20
20
  {% endfor %}
21
21
  </ul>
22
22
  </aside>
@@ -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>
@@ -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 %}
@@ -18,12 +18,14 @@
18
18
 
19
19
  {% assign disqus = site.disqus | default:site.disqus_shortname %}
20
20
  {% if disqus %}
21
- <link id="_disqusJS" rel="dns-prefetch" href="https://{{ disqus }}.disqus.com/embed.js">
21
+ <link rel="dns-prefetch" href="https://{{ disqus }}.disqus.com" id="_hrefDisqus">
22
22
  {% endif %}
23
23
 
24
24
  {% comment %}<!--
25
- The links below are here so that we can use their `href` in JS (see `_js/src/katex.js`).
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 id="_katexJS" rel="dns-prefetch" href="{{ '/assets/bower_components/katex/dist/katex.min.js' | relative_url }}">
29
- <link id="_katexCSS" rel="dns-prefetch" href="{{ '/assets/bower_components/katex/dist/katex.min.css' | relative_url }}">
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">
@@ -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="{{ page.theme_color | default:color | default:'#4fb1ba' }}">
27
+ <meta name="theme-color" content="{{ theme_color | default:'#193747' }}">
28
28
  {% endunless %}
29
29
 
30
- <meta name="generator" content="Hydejack v7.5.2">
30
+ <meta name="generator" content="Hydejack v8.0.0" />
@@ -22,7 +22,7 @@
22
22
  border-color: {{ color }};
23
23
  }
24
24
 
25
- .btn-primary:focus, .btn-primary.focus {
25
+ .btn-primary:focus, .btn-primary.focus, .form-control:focus, .form-control.focus {
26
26
  box-shadow: 0 0 0 3px rgba({{ color }}, .5);
27
27
  }
28
28
 
@@ -1,44 +1,15 @@
1
1
  <script>
2
- {% include scripts/load-js-deferred.min.js %}{% include scripts/loadCSS.min.js %}{% include scripts/cssrelpreload.min.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
- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family={{ google_fonts | uri_escape }}">
37
- <style>
38
- html { font-family: {{ font }} }
39
- h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: {{ font_heading }} }
40
- </style>
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>
@@ -1,24 +1,51 @@
1
1
  <!--[if gt IE 8]><!---->
2
- {% capture style_url %}{% link assets/css/hydejack-7.5.2.css %}{% endcapture %}
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 include_to_scssify %}{% include styles/inline.scss %}{% endcapture %}
9
- {{ include_to_scssify | scssify }}
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
- {% include page-style.html %}
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]-->
@@ -9,5 +9,5 @@
9
9
  * /\___/ \ \____/
10
10
  * \/__/ \/___/
11
11
  *
12
- * Powered by Hydejack v7.5.2 <https://qwtel.com/hydejack/>
12
+ * Powered by Hydejack v8.0.0 <https://hydejack.com/>
13
13
  */
@@ -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 %}