jekyll-theme-hydejack 9.0.2 → 9.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (238) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/_config.yml +5 -4
  4. data/_includes/body/breadcrumbs.html +19 -0
  5. data/_includes/body/footer.html +1 -1
  6. data/_includes/body/index.html +3 -2
  7. data/_includes/body/main.html +1 -0
  8. data/_includes/body/nav.html +3 -3
  9. data/_includes/body/scripts.html +2 -2
  10. data/_includes/body/sidebar.html +1 -1
  11. data/_includes/components/dingbat.html +12 -0
  12. data/_includes/components/hy-img.html +1 -1
  13. data/_includes/components/post.html +35 -9
  14. data/_includes/components/tag-list.html +24 -24
  15. data/_includes/head/links-static.html +3 -2
  16. data/_includes/head/meta-static.html +1 -1
  17. data/_includes/head/scripts.html +7 -2
  18. data/_includes/head/styles-inline.html +1 -1
  19. data/_includes/head/styles-no-inline.html +1 -1
  20. data/_includes/header.txt +1 -1
  21. data/_includes/scripts.html +33 -0
  22. data/_includes/scripts/load-js.min.js +1 -1
  23. data/_includes/scripts/nomodule.min.js +1 -1
  24. data/_includes/smart-url +10 -1
  25. data/_includes/styles/page-style.scss +1 -0
  26. data/_includes/styles/style.scss +1 -0
  27. data/_includes/styles/variables.scss +10 -6
  28. data/_includes/templates/animation.html +1 -0
  29. data/_includes/templates/index.html +20 -2
  30. data/_layouts/about.html +4 -1
  31. data/_layouts/base.html +3 -12
  32. data/_layouts/compress.html +1 -1
  33. data/_layouts/list.html +1 -1
  34. data/_layouts/page.html +4 -2
  35. data/_layouts/plain.html +29 -0
  36. data/_layouts/post.html +6 -1
  37. data/_sass/_mixins.scss +26 -3
  38. data/_sass/_tippy.scss +40 -0
  39. data/_sass/html.scss +1 -7
  40. data/_sass/hydejack/__inline__/_base.scss +23 -4
  41. data/_sass/hydejack/__inline__/_content.scss +8 -5
  42. data/_sass/hydejack/__inline__/_sidebar.scss +18 -4
  43. data/_sass/hydejack/__inline__/_toc.scss +11 -11
  44. data/_sass/hydejack/__inline__/_utilities.scss +25 -0
  45. data/_sass/hydejack/__link__/_base.scss +9 -2
  46. data/_sass/hydejack/__link__/_break-layout.scss +8 -1
  47. data/_sass/hydejack/__link__/_content.scss +10 -4
  48. data/_sass/hydejack/__link__/_images.scss +1 -1
  49. data/_sass/hydejack/__link__/_sidebar.scss +15 -5
  50. data/_sass/hydejack/__link__/_toc.scss +4 -2
  51. data/_sass/hydejack/__link__/_utilities.scss +25 -0
  52. data/_sass/hydejack/_base.pre.scss +38 -8
  53. data/_sass/hydejack/_break-layout.pre.scss +8 -1
  54. data/_sass/hydejack/_content.pre.scss +12 -12
  55. data/_sass/hydejack/_images.pre.scss +1 -1
  56. data/_sass/hydejack/_sidebar.pre.scss +29 -5
  57. data/_sass/hydejack/_toc.pre.scss +14 -14
  58. data/_sass/hydejack/_utilities.pre.scss +25 -0
  59. data/_sass/pooleparty/__inline__/_base.scss +2 -0
  60. data/_sass/pooleparty/__inline__/_code.scss +1 -1
  61. data/_sass/pooleparty/__inline__/_message.scss +2 -2
  62. data/_sass/pooleparty/__inline__/_posts.scss +19 -3
  63. data/_sass/pooleparty/__inline__/_type.scss +4 -2
  64. data/_sass/pooleparty/__link__/_code.scss +138 -27
  65. data/_sass/pooleparty/__link__/_footnotes.scss +2 -1
  66. data/_sass/pooleparty/__link__/_posts.scss +12 -0
  67. data/_sass/pooleparty/__link__/_read-more.scss +1 -0
  68. data/_sass/pooleparty/__link__/_table.scss +30 -36
  69. data/_sass/pooleparty/__link__/_type.scss +4 -2
  70. data/_sass/pooleparty/_base.pre.scss +2 -0
  71. data/_sass/pooleparty/_code.pre.scss +138 -27
  72. data/_sass/pooleparty/_footnotes.pre.scss +2 -1
  73. data/_sass/pooleparty/_message.pre.scss +2 -2
  74. data/_sass/pooleparty/_posts.pre.scss +31 -3
  75. data/_sass/pooleparty/_read-more.pre.scss +1 -0
  76. data/_sass/pooleparty/_table.pre.scss +30 -36
  77. data/_sass/pooleparty/_type.pre.scss +6 -4
  78. data/_sass/tippyjs/_mixins.scss +25 -0
  79. data/_sass/tippyjs/_vars.scss +6 -0
  80. data/_sass/tippyjs/animations/fade.scss +8 -0
  81. data/_sass/tippyjs/index.scss +90 -0
  82. data/assets/bower.json +2 -1
  83. data/assets/bower_components/MathJax/.bower.json +5 -5
  84. data/assets/bower_components/MathJax/es5/a11y/assistive-mml.js +1 -1
  85. data/assets/bower_components/MathJax/es5/a11y/complexity.js +1 -1
  86. data/assets/bower_components/MathJax/es5/a11y/explorer.js +1 -1
  87. data/assets/bower_components/MathJax/es5/a11y/semantic-enrich.js +1 -1
  88. data/assets/bower_components/MathJax/es5/adaptors/liteDOM.js +1 -1
  89. data/assets/bower_components/MathJax/es5/core.js +1 -1
  90. data/assets/bower_components/MathJax/es5/input/asciimath.js +1 -1
  91. data/assets/bower_components/MathJax/es5/input/mml.js +1 -1
  92. data/assets/bower_components/MathJax/es5/input/mml/entities.js +1 -1
  93. data/assets/bower_components/MathJax/es5/input/tex-base.js +1 -1
  94. data/assets/bower_components/MathJax/es5/input/tex-full.js +1 -1
  95. data/assets/bower_components/MathJax/es5/input/tex.js +1 -1
  96. data/assets/bower_components/MathJax/es5/input/tex/extensions/action.js +1 -1
  97. data/assets/bower_components/MathJax/es5/input/tex/extensions/all-packages.js +1 -1
  98. data/assets/bower_components/MathJax/es5/input/tex/extensions/ams.js +1 -1
  99. data/assets/bower_components/MathJax/es5/input/tex/extensions/amscd.js +1 -1
  100. data/assets/bower_components/MathJax/es5/input/tex/extensions/autoload.js +1 -1
  101. data/assets/bower_components/MathJax/es5/input/tex/extensions/bbox.js +1 -1
  102. data/assets/bower_components/MathJax/es5/input/tex/extensions/boldsymbol.js +1 -1
  103. data/assets/bower_components/MathJax/es5/input/tex/extensions/braket.js +1 -1
  104. data/assets/bower_components/MathJax/es5/input/tex/extensions/bussproofs.js +1 -1
  105. data/assets/bower_components/MathJax/es5/input/tex/extensions/cancel.js +1 -1
  106. data/assets/bower_components/MathJax/es5/input/tex/extensions/color.js +1 -1
  107. data/assets/bower_components/MathJax/es5/input/tex/extensions/colorV2.js +1 -1
  108. data/assets/bower_components/MathJax/es5/input/tex/extensions/configMacros.js +1 -1
  109. data/assets/bower_components/MathJax/es5/input/tex/extensions/enclose.js +1 -1
  110. data/assets/bower_components/MathJax/es5/input/tex/extensions/extpfeil.js +1 -1
  111. data/assets/bower_components/MathJax/es5/input/tex/extensions/html.js +1 -1
  112. data/assets/bower_components/MathJax/es5/input/tex/extensions/mhchem.js +1 -1
  113. data/assets/bower_components/MathJax/es5/input/tex/extensions/newcommand.js +1 -1
  114. data/assets/bower_components/MathJax/es5/input/tex/extensions/noerrors.js +1 -1
  115. data/assets/bower_components/MathJax/es5/input/tex/extensions/noundefined.js +1 -1
  116. data/assets/bower_components/MathJax/es5/input/tex/extensions/physics.js +1 -1
  117. data/assets/bower_components/MathJax/es5/input/tex/extensions/require.js +1 -1
  118. data/assets/bower_components/MathJax/es5/input/tex/extensions/tagFormat.js +1 -1
  119. data/assets/bower_components/MathJax/es5/input/tex/extensions/textmacros.js +1 -0
  120. data/assets/bower_components/MathJax/es5/input/tex/extensions/unicode.js +1 -1
  121. data/assets/bower_components/MathJax/es5/input/tex/extensions/verb.js +1 -1
  122. data/assets/bower_components/MathJax/es5/latest.js +1 -1
  123. data/assets/bower_components/MathJax/es5/loader.js +1 -1
  124. data/assets/bower_components/MathJax/es5/mml-chtml.js +1 -1
  125. data/assets/bower_components/MathJax/es5/mml-svg.js +1 -1
  126. data/assets/bower_components/MathJax/es5/node-main.js +1 -1
  127. data/assets/bower_components/MathJax/es5/output/chtml.js +1 -1
  128. data/assets/bower_components/MathJax/es5/output/chtml/fonts/tex.js +1 -1
  129. data/assets/bower_components/MathJax/es5/output/svg.js +1 -1
  130. data/assets/bower_components/MathJax/es5/output/svg/fonts/tex.js +1 -1
  131. data/assets/bower_components/MathJax/es5/sre/mathmaps/de.js +104 -0
  132. data/assets/bower_components/MathJax/es5/sre/mathmaps/en.js +11 -5
  133. data/assets/bower_components/MathJax/es5/sre/mathmaps/es.js +1 -1
  134. data/assets/bower_components/MathJax/es5/sre/mathmaps/mathmaps_ie.js +117 -9
  135. data/assets/bower_components/MathJax/es5/sre/mathmaps/nemeth.js +3 -3
  136. data/assets/bower_components/MathJax/es5/sre/sre-node.js +11 -0
  137. data/assets/bower_components/MathJax/es5/sre/sre_browser.js +1110 -1186
  138. data/assets/bower_components/MathJax/es5/startup.js +1 -1
  139. data/assets/bower_components/MathJax/es5/tex-chtml-full.js +1 -1
  140. data/assets/bower_components/MathJax/es5/tex-chtml.js +1 -1
  141. data/assets/bower_components/MathJax/es5/tex-mml-chtml.js +1 -1
  142. data/assets/bower_components/MathJax/es5/tex-mml-svg.js +1 -1
  143. data/assets/bower_components/MathJax/es5/tex-svg-full.js +1 -1
  144. data/assets/bower_components/MathJax/es5/tex-svg.js +1 -1
  145. data/assets/bower_components/MathJax/es5/ui/menu.js +1 -1
  146. data/assets/bower_components/MathJax/es5/ui/safe.js +1 -0
  147. data/assets/bower_components/MathJax/package.json +3 -3
  148. data/assets/bower_components/katex/.bower.json +7 -6
  149. data/assets/bower_components/katex/dist/contrib/render-a11y-string.js +858 -0
  150. data/assets/bower_components/katex/dist/contrib/render-a11y-string.min.js +1 -0
  151. data/assets/bower_components/katex/dist/contrib/render-a11y-string.mjs +741 -0
  152. data/assets/bower_components/katex/dist/katex.css +1 -10
  153. data/assets/bower_components/katex/dist/katex.js +1228 -612
  154. data/assets/bower_components/katex/dist/katex.min.css +1 -1
  155. data/assets/bower_components/katex/dist/katex.min.js +1 -1
  156. data/assets/bower_components/katex/dist/katex.mjs +1270 -591
  157. data/assets/bower_components/katex/docs/cli.md.template +21 -0
  158. data/assets/bower_components/katex/flow-typed/npm/jest_v24.x.x.js +1201 -0
  159. data/assets/bower_components/katex/yarn.lock +233 -172
  160. data/assets/css/{hydejack-9.0.2.css → hydejack-9.1.2.css} +0 -0
  161. data/assets/icomoon/fonts/icomoon.eot +0 -0
  162. data/assets/icomoon/fonts/icomoon.svg +6 -3
  163. data/assets/icomoon/fonts/icomoon.ttf +0 -0
  164. data/assets/icomoon/fonts/icomoon.woff +0 -0
  165. data/assets/icomoon/selection.json +1 -1
  166. data/assets/icomoon/style.css +17 -8
  167. data/assets/icons/favicon.ico +0 -0
  168. data/assets/icons/icon-128x128.png +0 -0
  169. data/assets/icons/icon-144x144.png +0 -0
  170. data/assets/icons/icon-152x152.png +0 -0
  171. data/assets/icons/icon-192x192.png +0 -0
  172. data/assets/icons/icon-384x384.png +0 -0
  173. data/assets/icons/icon-512x512.png +0 -0
  174. data/assets/icons/icon-72x72.png +0 -0
  175. data/assets/icons/icon-96x96.png +0 -0
  176. data/assets/img/logo.png +0 -0
  177. data/assets/img/sidebar-bg.jpg +0 -0
  178. data/assets/img/swipe.svg +1 -22
  179. data/assets/js/LEGACY-clap-button-hydejack-9.1.2.js +14 -0
  180. data/assets/js/LEGACY-drawer-hydejack-9.1.2.js +14 -0
  181. data/assets/js/{LEGACY-fetch-hydejack-9.0.2.js → LEGACY-fetch-hydejack-9.1.2.js} +2 -2
  182. data/assets/js/LEGACY-hydejack-9.1.2.js +27 -0
  183. data/assets/js/LEGACY-navbar-hydejack-9.1.2.js +14 -0
  184. data/assets/js/LEGACY-push-state-hydejack-9.1.2.js +14 -0
  185. data/assets/js/{resize-observer-hydejack-9.0.2.js → LEGACY-resize-observer-hydejack-9.1.2.js} +2 -2
  186. data/assets/js/{LEGACY-shadydom-hydejack-9.0.2.js → LEGACY-shadydom-hydejack-9.1.2.js} +2 -2
  187. data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.2.js +182 -0
  188. data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.2.js +48 -0
  189. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.2.js +214 -0
  190. data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.2.js +14 -0
  191. data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.1.2.js +14 -0
  192. data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.2.js +34 -0
  193. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.2.js +155 -0
  194. data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.0.2.js → LEGACY-vendors~webanimations-hydejack-9.1.2.js} +2 -2
  195. data/assets/js/{LEGACY-vendors~webcomponents-hydejack-9.0.2.js → LEGACY-vendors~webcomponents-hydejack-9.1.2.js} +4 -4
  196. data/assets/js/{LEGACY-webcomponents-hydejack-9.0.2.js → LEGACY-webcomponents-hydejack-9.1.2.js} +2 -2
  197. data/assets/js/clap-button-hydejack-9.1.2.js +14 -0
  198. data/assets/js/drawer-hydejack-9.1.2.js +14 -0
  199. data/assets/js/{shadydom-hydejack-9.0.2.js → fetch-hydejack-9.1.2.js} +2 -2
  200. data/assets/js/hydejack-9.1.2.js +28 -0
  201. data/assets/js/navbar-hydejack-9.1.2.js +14 -0
  202. data/assets/js/push-state-hydejack-9.1.2.js +14 -0
  203. data/assets/js/{LEGACY-resize-observer-hydejack-9.0.2.js → resize-observer-hydejack-9.1.2.js} +2 -2
  204. data/assets/js/shadydom-hydejack-9.1.2.js +14 -0
  205. data/assets/js/vendors~clap-button-hydejack-9.1.2.js +222 -0
  206. data/assets/js/vendors~drawer-hydejack-9.1.2.js +48 -0
  207. data/assets/js/vendors~drawer~push-state-hydejack-9.1.2.js +163 -0
  208. data/assets/js/vendors~fetch-hydejack-9.1.2.js +14 -0
  209. data/assets/js/vendors~intersection-observer-hydejack-9.1.2.js +14 -0
  210. data/assets/js/vendors~push-state-hydejack-9.1.2.js +34 -0
  211. data/assets/js/vendors~shadydom-hydejack-9.1.2.js +146 -0
  212. data/assets/js/{vendors~webanimations-hydejack-9.0.2.js → vendors~webanimations-hydejack-9.1.2.js} +2 -2
  213. data/assets/js/{webcomponents-hydejack-9.0.2.js → webcomponents-hydejack-9.1.2.js} +2 -2
  214. data/assets/site.webmanifest +1 -1
  215. data/assets/version.json +2 -2
  216. metadata +59 -38
  217. data/_includes/templates/back.html +0 -6
  218. data/_includes/templates/forward.html +0 -6
  219. data/assets/js/LEGACY-drawer-hydejack-9.0.2.js +0 -14
  220. data/assets/js/LEGACY-hydejack-9.0.2.js +0 -28
  221. data/assets/js/LEGACY-navbar-hydejack-9.0.2.js +0 -14
  222. data/assets/js/LEGACY-push-state-hydejack-9.0.2.js +0 -14
  223. data/assets/js/LEGACY-vendors~drawer-hydejack-9.0.2.js +0 -47
  224. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.2.js +0 -215
  225. data/assets/js/LEGACY-vendors~fetch-hydejack-9.0.2.js +0 -14
  226. data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.0.2.js +0 -14
  227. data/assets/js/LEGACY-vendors~push-state-hydejack-9.0.2.js +0 -33
  228. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.0.2.js +0 -155
  229. data/assets/js/drawer-hydejack-9.0.2.js +0 -14
  230. data/assets/js/fetch-hydejack-9.0.2.js +0 -14
  231. data/assets/js/hydejack-9.0.2.js +0 -28
  232. data/assets/js/navbar-hydejack-9.0.2.js +0 -14
  233. data/assets/js/push-state-hydejack-9.0.2.js +0 -14
  234. data/assets/js/vendors~drawer-hydejack-9.0.2.js +0 -47
  235. data/assets/js/vendors~drawer~push-state-hydejack-9.0.2.js +0 -163
  236. data/assets/js/vendors~intersection-observer-hydejack-9.0.2.js +0 -14
  237. data/assets/js/vendors~push-state-hydejack-9.0.2.js +0 -33
  238. data/assets/js/vendors~shadydom-hydejack-9.0.2.js +0 -146
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9964201d1c6c825eedad67d79c113a6913d212d0f423c3cbf276d18e69d3fb1e
4
- data.tar.gz: 8a6ee0be6d659143b230314b4ec2e1987a4406775c1498bedc7d999051fb2cda
3
+ metadata.gz: 6aa3e01819aef26156f5a1f3883ac559c2054b39e9d6ee0889bce06a2d2e510d
4
+ data.tar.gz: 8bec5f7e78821bc6ee1a7ad571c968af712838507dcf8b477039bfd2e4405e5e
5
5
  SHA512:
6
- metadata.gz: e3507240bf67f85becd4626f5dbb5c98b43a52b7d7df22b2dafec47c1c458b89a27cba7f66a065f37d13fd9faecc613bacbc71c6a790a3c15a61c248de7a05c6
7
- data.tar.gz: 3808ab337e63e74640ee3024af16cc6249b61d597a61f88127900f744644ac9432e4513547728583c151ac7028ea07795c6a365132c8db21a6b81f71ffceb7b0
6
+ metadata.gz: 59cd4e877e5ab0eb5f3709ed3c87e8a8a21bf8c64de70751f2937d44c554695121cac0131087e0948a96938370703e464d3915a9f7e3949140f4b70a9d4e42fa
7
+ data.tar.gz: cc0a55a2051aaf26d56757ae57c01f56f24a3e4d86824f7d327559f70634a40ee1e1087a6ce16bb22183d62aa5814a20e570ad3b0113a3347c9fa14684455e6c
data/README.md CHANGED
@@ -8,7 +8,7 @@ A boutique Jekyll theme for hackers, nerds, and academics.
8
8
 
9
9
 
10
10
 
11
- ![Screenshot](https://hydejack.com/assets/img/blog/hydejack-8.jpg)
11
+ [![Screenshot](https://hydejack.com/assets/img/blog/hydejack-9.jpg)][welcome]
12
12
 
13
13
  Hydejack's cover page on a variety of screens.
14
14
 
@@ -204,7 +204,7 @@ The table below shows what's included in each version:
204
204
  [ofln]: https://hydejack.com/docs/advanced/#enabling-offline-support
205
205
  [math]: https://hydejack.com/docs/writing/#adding-math
206
206
 
207
- [kit]: https://github.com/hydecorp/hydejack-starter-kit/archive/v9.0.1.zip
207
+ [kit]: https://github.com/hydecorp/hydejack-starter-kit/releases
208
208
  [src]: https://github.com/hydecorp/hydejack
209
209
  [gem]: https://rubygems.org/gems/jekyll-theme-hydejack
210
210
  [buy]: https://gum.co/nuOluY
data/_config.yml CHANGED
@@ -1,7 +1,6 @@
1
1
  lang: en
2
2
  title: Hydejack
3
- logo: /assets/icons/icon.png
4
- copyright: © 2020. All rights reserved.
3
+ copyright: © 2021. All rights reserved.
5
4
 
6
5
  accent_image: /assets/img/sidebar-bg.jpg
7
6
  accent_color: rgb(79,177,186)
@@ -10,7 +9,7 @@ theme_color: rgb(25,55,71)
10
9
  google_fonts: Roboto+Slab:700|Noto+Sans:400,400i,700,700i
11
10
  font: Noto Sans, Helvetica, Arial, sans-serif
12
11
  font_heading: Roboto Slab, Helvetica, Arial, sans-serif
13
- font_code: Fira Code, Menlo, Monaco, Consolas, monospace;
12
+ font-code: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;
14
13
 
15
14
  hydejack:
16
15
  post_addons: [about, newsletter, related, random, comments]
@@ -23,17 +22,19 @@ hydejack:
23
22
  no_search: false
24
23
  no_inline_css: false
25
24
  no_page_style: false
26
- no_break_layout: false
25
+ no_break_layout: true
27
26
  no_toc: false
28
27
  no_third_column: false
29
28
  no_large_headings: false
30
29
  no_structured_data: false
31
30
  no_theme_color: false
31
+ no_breadcrumbs: false
32
32
 
33
33
  use_lsi: true
34
34
  cookies_banner: true
35
35
  advertise: true
36
36
  hide_dates: false
37
+ hide_last_modified: false
37
38
 
38
39
  dark_mode:
39
40
  always: false
@@ -0,0 +1,19 @@
1
+ <nav id="breadcrumbs" class="screen-only"><ul>
2
+ {% assign crumbs = include.url | remove:'/index.html' | split: '/' %}
3
+ {% if crumbs.size > 1 %}
4
+ <li><a href="{{ '/' | relative_url }}">{{ data.strings.breadcrumbs_home | default:'home' }}</a></li>
5
+ {% for crumb in crumbs offset: 1 %}
6
+ <li>
7
+ {% if forloop.last %}
8
+ <span>{{ data.strings.breadcrumbs_separator | default:'/' }}</span>
9
+ <span>{{ crumbs | reverse | first }}</span>
10
+ {% else %}
11
+ <span>{{ data.strings.breadcrumbs_separator | default:'/' }}</span>
12
+ {% assign crumb_limit = forloop.index | plus: 1 %}
13
+ {% capture href %}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' }}{% endfor %}{% endcapture %}
14
+ <a href="{{ href | relative_url }}">{{ crumb }}</a>
15
+ {% endif %}
16
+ </li>
17
+ {% endfor %}
18
+ {% endif %}
19
+ </ul></nav>
@@ -13,7 +13,7 @@
13
13
  {% endfor %}
14
14
  </small></nav>
15
15
  {% endif %}
16
- <p><small>Powered by <a class="external" href="https://hydejack.com/">Hydejack</a> v<span id="_version">9.0.2</span></small></p>
16
+ <p><small>Powered by <a class="external" href="https://hydejack.com/">Hydejack</a> v<span id="_version">9.1.2</span></small></p>
17
17
  <hr class="sr-only"/>
18
18
  </footer>
19
19
  {% endif %}
@@ -9,10 +9,11 @@
9
9
  duration="500"
10
10
  hashchange
11
11
  >
12
- {% if page.cover %}{% include_cached body/sidebar.html cover=page.cover theme_color=page.theme_color image=image color=color %}{% endif %}
12
+ {% capture sidebar %}{% include_cached body/sidebar.html cover=page.cover invert=page.invert_sidebar theme_color=page.theme_color image=image color=color %}{% endcapture %}
13
+ {% if page.cover %}{{ sidebar }}{% endif %}
13
14
  {% include_cached body/menu.html %}
14
15
  {% include body/main.html %}
15
- {% unless page.cover %}{% include_cached body/sidebar.html cover=page.cover theme_color=page.theme_color image=image color=color %}{% endunless %}
16
+ {% unless page.cover %}{{ sidebar }}{% endunless %}
16
17
  </hy-push-state>
17
18
 
18
19
  {% unless page.redirect %}
@@ -3,6 +3,7 @@
3
3
  class="content layout-{{ page.layout }}"
4
4
  role="main"
5
5
  >
6
+ {% unless site.hydejack.no_breadcrumbs %}{% include body/breadcrumbs.html url=page.url %}{% endunless %}
6
7
  {{ content }}
7
8
  {% include_cached body/footer.html %}
8
9
  </main>
@@ -7,7 +7,7 @@
7
7
  <a
8
8
  {% if forloop.first %}id="_drawer--opened"{% endif %}
9
9
  href="{% include_cached smart-url url=url %}"
10
- class="sidebar-nav-item"
10
+ class="sidebar-nav-item {% if node.external %}external{% endif %}"
11
11
  {% if node.rel %}rel="{{ node.rel }}"{% endif %}
12
12
  >
13
13
  {{ node.name | default:node.title }}
@@ -15,7 +15,7 @@
15
15
  </li>
16
16
  {% endfor %}
17
17
  {% else %}
18
- {% assign pages = site.pages | where: "menu", true %}
18
+ {% assign pages = site.html_pages | where: "menu", true %}
19
19
  {% assign documents = site.documents | where: "menu", true %}
20
20
  {% assign nodes = pages | concat: documents | sort: "order" %}
21
21
 
@@ -33,7 +33,7 @@
33
33
  </li>
34
34
  {% else %}
35
35
  <li>
36
- <a href="{{ node.redirect_to }}" class="sidebar-nav-item external" >{{ node.title }}</a>
36
+ <a href="{{ node.redirect_to }}" class="sidebar-nav-item external">{{ node.title }}</a>
37
37
  </li>
38
38
  {% endunless %}
39
39
  {% endfor %}
@@ -1,7 +1,7 @@
1
1
  <!--[if gt IE 10]><!---->
2
2
  <script nomodule>{% include scripts/nomodule.min.js %}</script>
3
- <script src="{{ '/assets/js/hydejack-9.0.2.js' | relative_url }}" type="module"></script>
4
- <script src="{{ '/assets/js/LEGACY-hydejack-9.0.2.js' | relative_url }}" nomodule defer></script>
3
+ <script src="{{ '/assets/js/hydejack-9.1.2.js' | relative_url }}" type="module"></script>
4
+ <script src="{{ '/assets/js/LEGACY-hydejack-9.1.2.js' | relative_url }}" nomodule defer></script>
5
5
  {% include my-scripts.html %}
6
6
  {% include body/analytics.html %}
7
7
  <!--<![endif]-->
@@ -6,7 +6,7 @@
6
6
  noscroll
7
7
  {% if include.cover %}opened{% endif %}
8
8
  >
9
- <header id="_sidebar" class="sidebar" role="banner">
9
+ <header id="_sidebar" class="sidebar{% if include.invert %} invert{% endif %}" role="banner">
10
10
  {% include_cached body/sidebar-bg.html image=include.image color=include.color theme_color=include.theme_color %}
11
11
  {% include_cached body/sidebar-sticky.html %}
12
12
  </header>
@@ -0,0 +1,12 @@
1
+ {% if site.clap_button or jekyll.environment != 'production' %}
2
+ <clap-button class="mb6" {% if include.hidden == true %}hidden{% endif %}></clap-button>
3
+ {% unless site.clap_button %}
4
+ <p class="message centered border-radius" {% if include.hidden == true %}hidden{% endif %}>
5
+ <span style="display:block;margin-bottom:.5rem;">This is a preview of <a href="https://getclaps.app">Clap Button</a>, a new feedback and analytics tools for Hydejack, built by yours truly.</span>
6
+ <span style="display:block;margin-bottom:.5rem;">You can try it out on <code>localhost</code> for free, but it will be removed (together with this message) when building with <code>JEKYLL_ENV=production</code>.</span>
7
+ <span style="display:block;margin-bottom:.5rem;">To use Clap Button on your site, get a <a href="https://getclaps.app#pricing">subscription</a><br/>and set <code>clap_button: true</code> in your config file.</span>
8
+ </p>
9
+ {% endunless %}
10
+ {% else %}
11
+ <hr class="dingbat related mb6" />
12
+ {% endif %}
@@ -10,7 +10,7 @@
10
10
  {% capture sources %}
11
11
  src="{% include_cached smart-url url=src %}"
12
12
  {% if srcset %}srcset="{{ srcset | strip }}"{% endif %}
13
- {% if include.sizes %}sizes="{{ include.sizes }}"{% endif %}
13
+ {% if include.sizes %}sizes="{{ include.sizes | replace:' ', '' }}"{% endif %}
14
14
  {% endcapture %}
15
15
  {% else %}
16
16
  {% capture sources %}
@@ -13,20 +13,46 @@
13
13
  </h1>
14
14
 
15
15
  <div class="post-date">
16
- {% assign post_format = site.data.strings.date_formats.post | default:"%d %b %Y" %}
17
- <time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date:post_format }}</time>
18
- {% assign category_start = site.data.strings.category_start | default:"in " %}
19
- {% assign tag_start = site.data.strings.tag_start | default:"on " %}
20
- {% assign category_separator = site.data.strings.category_separator | default:" / " %}
21
- {% assign tag_separator = site.data.strings.tag_separator | default:", " %}
22
- {% include components/tag-list.html tags=post.categories meta=site.featured_categories start_with=category_start separator=category_separator %}
23
- {% include components/tag-list.html tags=post.tags meta=site.featured_tags start_with=tag_start separator=tag_separator %}
16
+ {% capture foobar %}
17
+ {%- unless site.hydejack.hide_dates -%}
18
+ {%- assign post_format = site.data.strings.date_formats.post | default:"%d %b %Y" -%}
19
+ <time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date:post_format }}</time>
20
+ {%- else -%}
21
+ {{- site.data.strings.posted | default:"Posted" -}}
22
+ {%- endunless -%}
23
+ {{ ' ' }}
24
+ {%- assign category_start = site.data.strings.category_start | default:"in " -%}
25
+ {%- assign tag_start = site.data.strings.tag_start | default:"on " -%}
26
+ {%- include components/tag-list.html tags=post.categories meta=site.featured_categories start_with=category_start separator=category_separator -%}
27
+ {{ ' ' }}
28
+ {%- assign category_separator = site.data.strings.category_separator | default:" / " -%}
29
+ {%- assign tag_separator = site.data.strings.tag_separator | default:", " -%}
30
+ {%- include components/tag-list.html tags=post.tags meta=site.featured_tags start_with=tag_start separator=tag_separator -%}
31
+ {% endcapture %}
32
+ <span class="ellipsis mr1">
33
+ {{ foobar }}
34
+ </span>
35
+ {% unless site.hydejack.hide_dates or site.hydejack.hide_last_modified or post.hide_last_modified %}
36
+ {% if post.last_modified_at %}
37
+ {% assign d1 = post.date | date:"%Y-%m-%d" %}
38
+ {% assign d2 = post.last_modified_at | date:"%Y-%m-%d" %}
39
+ {% if d1 != d2 %}
40
+ {% assign label = site.data.strings.last_modified_at | default:"Last modified at" %}
41
+ {% assign last_modified_at_format = site.data.strings.date_formats.last_modified_at | default:"%Y-%m-%d" %}
42
+ <span class="ellipsis" data-tippy-content="{{ label }}{{ site.data.strings.colon }} {{ post.last_modified_at | date:last_modified_at_format }}">
43
+ <span class="sr-only">{{ label }}{{ site.data.strings.colon }}</span>
44
+ <span class="{{ site.data.strings.last_modified_icon | default:'icon-history' }}"></span>
45
+ <time datetime="{{ post.last_modified_at | date_to_xmlschema }}">{{ post.last_modified_at | date:last_modified_at_format }}</time>
46
+ </span>
47
+ {% endif %}
48
+ {% endif %}
49
+ {% endunless %}
24
50
  </div>
25
51
 
26
52
  {% assign alt = false %}
27
53
  {% unless hide_image %}{% if post.image %}
28
54
  {% 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">
55
+ <div class="img-wrapper lead aspect-ratio sixteen-nine flip-project-img">
30
56
  {% include_cached components/hy-img.html img=post.image alt=post.title width=864 height=486 %}
31
57
  </div>
32
58
  {% unless no_link_title %}</a>{% endunless %}
@@ -1,30 +1,30 @@
1
- {% assign tags = include.tags %}
2
- {% assign meta = include.meta %}
3
- {% assign start_with = include.start_with %}
4
- {% assign separator = include.separator %}
5
- {% assign end_with = include.end_with %}
1
+ {%- assign tags = include.tags -%}
2
+ {%- assign meta = include.meta -%}
3
+ {%- assign start_with = include.start_with -%}
4
+ {%- assign separator = include.separator -%}
5
+ {%- assign end_with = include.end_with -%}
6
6
 
7
- {% assign content = '' %}
7
+ {%- assign content = '' -%}
8
8
 
9
- {% if tags.size > 0 %}
10
- {% assign content = start_with %}
11
- {% for tag_slug in tags %}
12
- {% capture iter_separator %}{% if forloop.last %}{{ end_with }}{% else %}{{ separator }}{% endif %}{% endcapture %}
9
+ {%- if tags.size > 0 -%}
10
+ {%- assign content = start_with -%}
11
+ {%- for tag_slug in tags -%}
12
+ {%- capture iter_separator -%}{% if forloop.last %}{{ end_with }}{% else %}{{ separator }}{% endif %}{%- endcapture -%}
13
13
 
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 %}
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 -%}
19
19
 
20
- {% if tag %}
21
- {% capture content_temp %}{{ content }}<a href="{{ tag.url | relative_url }}" class="flip-title">{{ tag.title }}</a>{{ iter_separator }}{% endcapture %}
22
- {% else %}
23
- {% capture content_temp %}{{ content }}<span>{{ tag_slug | capitalize }}</span>{{ iter_separator }}{% endcapture %}
24
- {% endif %}
20
+ {%- if tag -%}
21
+ {%- capture content_temp -%}{{ content }}<a href="{{ tag.url | relative_url }}" class="flip-title">{{ tag.title }}</a>{{ iter_separator }}{%- endcapture -%}
22
+ {%- else -%}
23
+ {%- capture content_temp -%}{{ content }}<span>{{ tag_slug | capitalize }}</span>{{ iter_separator }}{%- endcapture -%}
24
+ {%- endif -%}
25
25
 
26
- {% assign content = content_temp %}
27
- {% endfor %}
28
- {% endif %}
26
+ {%- assign content = content_temp -%}
27
+ {%- endfor -%}
28
+ {%- endif -%}
29
29
 
30
- {{ content }}
30
+ {{- content -}}
@@ -1,7 +1,7 @@
1
1
  {% if plugins contains 'jekyll-feed' %}{% include head/feed-tag.html %}{% endif %}
2
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 }}">
3
+ <link rel="shortcut icon" href="{{ site.favicon | default:'/assets/icons/favicon.ico' | relative_url }}">
4
+ <link rel="apple-touch-icon" href="{{ site.apple_touch_icon | default:'/assets/icons/icon-192x192.png' | relative_url }}">
5
5
 
6
6
  <link rel="manifest" href="{{ '/assets/site.webmanifest' | relative_url }}">
7
7
 
@@ -19,6 +19,7 @@
19
19
  {% if site.kramdown.math_engine == 'katex' %}
20
20
  {% capture katex_url %}{{ 'assets/bower_components/katex/dist/katex.min.css' | relative_url }}{% endcapture %}
21
21
  <link rel="dns-prefetch" href="{{ katex_url }}" id="_katexPreload">
22
+ <noscript><link rel="stylesheet" href="{{ katex_url }}"></noscript>
22
23
  {% endif %}
23
24
 
24
25
  {% assign disqus = site.disqus | default:site.disqus_shortname %}
@@ -14,4 +14,4 @@
14
14
  <meta name="theme-color" content="{{ theme_color | default:'rgb(8,46,57)' }}">
15
15
  {% endunless %}
16
16
 
17
- <meta name="generator" content="Hydejack v9.0.2" />
17
+ <meta name="generator" content="Hydejack v9.1.2" />
@@ -6,8 +6,13 @@
6
6
  w._noNavbar = {{ site.hydejack.no_navbar | default:false }};
7
7
  w._noToc = {{ site.hydejack.no_toc | default:false }};
8
8
  w._noSearch = {{ site.hydejack.no_search | default:false }};
9
- }(window);
10
- </script>
9
+ w._search = {
10
+ DATA_URL: '{{ "/assets/sitedata.json?no-cache" | relative_url }}',
11
+ STORAGE_KEY: 'mini-search{{ "/" | relative_url }}',
12
+ INDEX_KEY: 'index--{{ site.time | date_to_xmlschema }}',
13
+ };
14
+ w._clapButton = {% if site.clap_button or jekyll.environment != 'production' %}true{% else %}false{% endif %};
15
+ }(window);</script>
11
16
 
12
17
  {% if site.kramdown.math_engine == 'mathjax' %}
13
18
  <script async src="{{ 'assets/bower_components/MathJax/es5/tex-mml-chtml.js' | relative_url }}" id="_MathJax"></script>
@@ -1,5 +1,5 @@
1
1
  {% assign google_fonts = site.google_fonts %}
2
- {% capture style_url %}{{ 'assets/css/hydejack-9.0.2.css' | relative_url }}{% endcapture %}
2
+ {% capture style_url %}{{ 'assets/css/hydejack-9.1.2.css' | relative_url }}{% endcapture %}
3
3
  {% capture icons_url %}{{ 'assets/icomoon/style.css' | relative_url }}{% endcapture %}
4
4
  {% if google_fonts %}{% capture fonts_url %}https://fonts.googleapis.com/css?family={{ google_fonts | uri_escape }}&display=swap{% endcapture %}{% endif %}
5
5
 
@@ -1,5 +1,5 @@
1
1
  {% assign google_fonts = site.google_fonts %}
2
- {% capture style_url %}{{ 'assets/css/hydejack-9.0.2.css' | relative_url }}{% endcapture %}
2
+ {% capture style_url %}{{ 'assets/css/hydejack-9.1.2.css' | relative_url }}{% endcapture %}
3
3
  {% capture icons_url %}{{ 'assets/icomoon/style.css' | relative_url }}{% endcapture %}
4
4
  {% if google_fonts %}{% capture fonts_url %}https://fonts.googleapis.com/css?family={{ google_fonts | uri_escape }}&display=swap{% endcapture %}{% endif %}
5
5
 
data/_includes/header.txt CHANGED
@@ -9,5 +9,5 @@
9
9
  * /\___/ \ \____/
10
10
  * \/__/ \/___/
11
11
  *
12
- * Powered by Hydejack v9.0.2 <https://hydejack.com/>
12
+ * Powered by Hydejack v9.1.2 <https://hydejack.com/>
13
13
  */
@@ -0,0 +1,33 @@
1
+ {% unless page.redirect %}
2
+ {% if site.google_analytics %}
3
+ <script>
4
+ window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
5
+ {% if site.hydejack.cookies_banner %}
6
+ if (navigator.CookiesOK) {
7
+ ga('create', '{{ site.google_analytics }}', 'auto');
8
+ } else if (localStorage && localStorage.getItem('hy:cookiesOK')) {
9
+ ga('create', '{{ site.google_analytics }}', {
10
+ 'storage': 'none',
11
+ 'clientId': localStorage.getItem('ga:clientId')
12
+ });
13
+ } else {
14
+ ga('create', '{{ site.google_analytics }}', {
15
+ 'storage': 'none'
16
+ });
17
+ ga('set', 'forceSSL', true);
18
+ ga('set', 'anonymizeIp', true);
19
+ }
20
+ {% else %}
21
+ ga('create', '{{ site.google_analytics }}', 'auto');
22
+ {% endif %}
23
+ ga('send', 'pageview');
24
+ loadJSDeferred('https://www.google-analytics.com/analytics.js');
25
+ </script>
26
+ {% endif %}
27
+
28
+ <!--[if gt IE 9]><!---->
29
+ {% capture js_url %}{% link assets/js/hydejack-7.5.2.js %}{% endcapture %}
30
+ <script>loadJSDeferred('{{ js_url | relative_url }}');</script>
31
+ {% include my-scripts.html %}
32
+ <!--<![endif]-->
33
+ {% endunless %}
@@ -1 +1 @@
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);
1
+ !function(r,c){"use strict";function a(e,t,n,o){e.addEventListener?e.addEventListener(t,n,o):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n}r.loadJS=function(e,t){var n=c.createElement("script");n.src=e,t&&a(n,"load",t,{once:!0});t=c.scripts[0];return t.parentNode.insertBefore(n,t),n},r._loaded=!1,r.loadJSDeferred=function(e,t){var n=c.createElement("script");function o(){r._loaded=!0,t&&a(n,"load",t,{once:!0});var e=c.scripts[0];e.parentNode.insertBefore(n,e)}return n.src=e,r._loaded?o():a(r,"load",o,{once:!0}),n},r.setRel=r.setRelStylesheet=function(e){a(c.getElementById(e),"load",function(){this.rel="stylesheet"},{once:!0})}}(window,document);
@@ -1 +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()}}();
1
+ !function(){var t,n=document.createElement("script");!("noModule"in n)&&"onbeforeload"in n&&(t=!1,document.addEventListener("beforeload",function(e){if(e.target===n)t=!0;else if(!e.target.hasAttribute("nomodule")||!t)return;e.preventDefault()},!0),n.type="module",n.src=".",document.head.appendChild(n),n.remove())}();
data/_includes/smart-url CHANGED
@@ -1 +1,10 @@
1
- {% assign url = include.url %}{% if url contains '://' %}{{ url }}{% else %}{% assign url = url | remove_first:site.baseurl %}{{ url | relative_url }}{% endif %}
1
+ {%- assign url = include.url -%}
2
+ {%- assign ch1 = url | slice:0 -%}
3
+ {%- if url contains '://' -%}
4
+ {{ url }}
5
+ {%- elsif ch1 == '/' -%}
6
+ {%- assign url = url | remove_first:site.baseurl -%}
7
+ {{ url | relative_url }}
8
+ {%- else -%}
9
+ {{ url }}
10
+ {%- endif -%}
@@ -4,6 +4,7 @@
4
4
  html {
5
5
  --accent-color: {{ color }};
6
6
  --accent-color-faded: #{fade-out({{ color }}, 0.5)};
7
+ --accent-color-highlight: #{fade-out({{ color }}, 0.9)};
7
8
  --accent-color-darkened: #{darken({{ color }}, 7.5%)};
8
9
  --theme-color: {{ theme_color }};
9
10
  }
@@ -98,5 +98,6 @@
98
98
  {% endunless %}
99
99
 
100
100
  @import "spinner";
101
+ @import "tippy";
101
102
 
102
103
  @import "syntax";