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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/_config.yml +5 -4
- data/_includes/body/breadcrumbs.html +19 -0
- data/_includes/body/footer.html +1 -1
- data/_includes/body/index.html +3 -2
- data/_includes/body/main.html +1 -0
- data/_includes/body/nav.html +3 -3
- data/_includes/body/scripts.html +2 -2
- data/_includes/body/sidebar.html +1 -1
- data/_includes/components/dingbat.html +12 -0
- data/_includes/components/hy-img.html +1 -1
- data/_includes/components/post.html +35 -9
- data/_includes/components/tag-list.html +24 -24
- data/_includes/head/links-static.html +3 -2
- data/_includes/head/meta-static.html +1 -1
- data/_includes/head/scripts.html +7 -2
- data/_includes/head/styles-inline.html +1 -1
- data/_includes/head/styles-no-inline.html +1 -1
- data/_includes/header.txt +1 -1
- data/_includes/scripts.html +33 -0
- data/_includes/scripts/load-js.min.js +1 -1
- data/_includes/scripts/nomodule.min.js +1 -1
- data/_includes/smart-url +10 -1
- data/_includes/styles/page-style.scss +1 -0
- data/_includes/styles/style.scss +1 -0
- data/_includes/styles/variables.scss +10 -6
- data/_includes/templates/animation.html +1 -0
- data/_includes/templates/index.html +20 -2
- data/_layouts/about.html +4 -1
- data/_layouts/base.html +3 -12
- data/_layouts/compress.html +1 -1
- data/_layouts/list.html +1 -1
- data/_layouts/page.html +4 -2
- data/_layouts/plain.html +29 -0
- data/_layouts/post.html +6 -1
- data/_sass/_mixins.scss +26 -3
- data/_sass/_tippy.scss +40 -0
- data/_sass/html.scss +1 -7
- data/_sass/hydejack/__inline__/_base.scss +23 -4
- data/_sass/hydejack/__inline__/_content.scss +8 -5
- data/_sass/hydejack/__inline__/_sidebar.scss +18 -4
- data/_sass/hydejack/__inline__/_toc.scss +11 -11
- data/_sass/hydejack/__inline__/_utilities.scss +25 -0
- data/_sass/hydejack/__link__/_base.scss +9 -2
- data/_sass/hydejack/__link__/_break-layout.scss +8 -1
- data/_sass/hydejack/__link__/_content.scss +10 -4
- data/_sass/hydejack/__link__/_images.scss +1 -1
- data/_sass/hydejack/__link__/_sidebar.scss +15 -5
- data/_sass/hydejack/__link__/_toc.scss +4 -2
- data/_sass/hydejack/__link__/_utilities.scss +25 -0
- data/_sass/hydejack/_base.pre.scss +38 -8
- data/_sass/hydejack/_break-layout.pre.scss +8 -1
- data/_sass/hydejack/_content.pre.scss +12 -12
- data/_sass/hydejack/_images.pre.scss +1 -1
- data/_sass/hydejack/_sidebar.pre.scss +29 -5
- data/_sass/hydejack/_toc.pre.scss +14 -14
- data/_sass/hydejack/_utilities.pre.scss +25 -0
- data/_sass/pooleparty/__inline__/_base.scss +2 -0
- data/_sass/pooleparty/__inline__/_code.scss +1 -1
- data/_sass/pooleparty/__inline__/_message.scss +2 -2
- data/_sass/pooleparty/__inline__/_posts.scss +19 -3
- data/_sass/pooleparty/__inline__/_type.scss +4 -2
- data/_sass/pooleparty/__link__/_code.scss +138 -27
- data/_sass/pooleparty/__link__/_footnotes.scss +2 -1
- data/_sass/pooleparty/__link__/_posts.scss +12 -0
- data/_sass/pooleparty/__link__/_read-more.scss +1 -0
- data/_sass/pooleparty/__link__/_table.scss +30 -36
- data/_sass/pooleparty/__link__/_type.scss +4 -2
- data/_sass/pooleparty/_base.pre.scss +2 -0
- data/_sass/pooleparty/_code.pre.scss +138 -27
- data/_sass/pooleparty/_footnotes.pre.scss +2 -1
- data/_sass/pooleparty/_message.pre.scss +2 -2
- data/_sass/pooleparty/_posts.pre.scss +31 -3
- data/_sass/pooleparty/_read-more.pre.scss +1 -0
- data/_sass/pooleparty/_table.pre.scss +30 -36
- data/_sass/pooleparty/_type.pre.scss +6 -4
- data/_sass/tippyjs/_mixins.scss +25 -0
- data/_sass/tippyjs/_vars.scss +6 -0
- data/_sass/tippyjs/animations/fade.scss +8 -0
- data/_sass/tippyjs/index.scss +90 -0
- data/assets/bower.json +2 -1
- data/assets/bower_components/MathJax/.bower.json +5 -5
- data/assets/bower_components/MathJax/es5/a11y/assistive-mml.js +1 -1
- data/assets/bower_components/MathJax/es5/a11y/complexity.js +1 -1
- data/assets/bower_components/MathJax/es5/a11y/explorer.js +1 -1
- data/assets/bower_components/MathJax/es5/a11y/semantic-enrich.js +1 -1
- data/assets/bower_components/MathJax/es5/adaptors/liteDOM.js +1 -1
- data/assets/bower_components/MathJax/es5/core.js +1 -1
- data/assets/bower_components/MathJax/es5/input/asciimath.js +1 -1
- data/assets/bower_components/MathJax/es5/input/mml.js +1 -1
- data/assets/bower_components/MathJax/es5/input/mml/entities.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex-base.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex-full.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/action.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/all-packages.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/ams.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/amscd.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/autoload.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/bbox.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/boldsymbol.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/braket.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/bussproofs.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/cancel.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/color.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/colorV2.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/configMacros.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/enclose.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/extpfeil.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/html.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/mhchem.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/newcommand.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/noerrors.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/noundefined.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/physics.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/require.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/tagFormat.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/textmacros.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/unicode.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/verb.js +1 -1
- data/assets/bower_components/MathJax/es5/latest.js +1 -1
- data/assets/bower_components/MathJax/es5/loader.js +1 -1
- data/assets/bower_components/MathJax/es5/mml-chtml.js +1 -1
- data/assets/bower_components/MathJax/es5/mml-svg.js +1 -1
- data/assets/bower_components/MathJax/es5/node-main.js +1 -1
- data/assets/bower_components/MathJax/es5/output/chtml.js +1 -1
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/tex.js +1 -1
- data/assets/bower_components/MathJax/es5/output/svg.js +1 -1
- data/assets/bower_components/MathJax/es5/output/svg/fonts/tex.js +1 -1
- data/assets/bower_components/MathJax/es5/sre/mathmaps/de.js +104 -0
- data/assets/bower_components/MathJax/es5/sre/mathmaps/en.js +11 -5
- data/assets/bower_components/MathJax/es5/sre/mathmaps/es.js +1 -1
- data/assets/bower_components/MathJax/es5/sre/mathmaps/mathmaps_ie.js +117 -9
- data/assets/bower_components/MathJax/es5/sre/mathmaps/nemeth.js +3 -3
- data/assets/bower_components/MathJax/es5/sre/sre-node.js +11 -0
- data/assets/bower_components/MathJax/es5/sre/sre_browser.js +1110 -1186
- data/assets/bower_components/MathJax/es5/startup.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-chtml-full.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-chtml.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-mml-chtml.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-mml-svg.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-svg-full.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-svg.js +1 -1
- data/assets/bower_components/MathJax/es5/ui/menu.js +1 -1
- data/assets/bower_components/MathJax/es5/ui/safe.js +1 -0
- data/assets/bower_components/MathJax/package.json +3 -3
- data/assets/bower_components/katex/.bower.json +7 -6
- data/assets/bower_components/katex/dist/contrib/render-a11y-string.js +858 -0
- data/assets/bower_components/katex/dist/contrib/render-a11y-string.min.js +1 -0
- data/assets/bower_components/katex/dist/contrib/render-a11y-string.mjs +741 -0
- data/assets/bower_components/katex/dist/katex.css +1 -10
- data/assets/bower_components/katex/dist/katex.js +1228 -612
- data/assets/bower_components/katex/dist/katex.min.css +1 -1
- data/assets/bower_components/katex/dist/katex.min.js +1 -1
- data/assets/bower_components/katex/dist/katex.mjs +1270 -591
- data/assets/bower_components/katex/docs/cli.md.template +21 -0
- data/assets/bower_components/katex/flow-typed/npm/jest_v24.x.x.js +1201 -0
- data/assets/bower_components/katex/yarn.lock +233 -172
- data/assets/css/{hydejack-9.0.2.css → hydejack-9.1.2.css} +0 -0
- data/assets/icomoon/fonts/icomoon.eot +0 -0
- data/assets/icomoon/fonts/icomoon.svg +6 -3
- data/assets/icomoon/fonts/icomoon.ttf +0 -0
- data/assets/icomoon/fonts/icomoon.woff +0 -0
- data/assets/icomoon/selection.json +1 -1
- data/assets/icomoon/style.css +17 -8
- data/assets/icons/favicon.ico +0 -0
- data/assets/icons/icon-128x128.png +0 -0
- data/assets/icons/icon-144x144.png +0 -0
- data/assets/icons/icon-152x152.png +0 -0
- data/assets/icons/icon-192x192.png +0 -0
- data/assets/icons/icon-384x384.png +0 -0
- data/assets/icons/icon-512x512.png +0 -0
- data/assets/icons/icon-72x72.png +0 -0
- data/assets/icons/icon-96x96.png +0 -0
- data/assets/img/logo.png +0 -0
- data/assets/img/sidebar-bg.jpg +0 -0
- data/assets/img/swipe.svg +1 -22
- data/assets/js/LEGACY-clap-button-hydejack-9.1.2.js +14 -0
- data/assets/js/LEGACY-drawer-hydejack-9.1.2.js +14 -0
- data/assets/js/{LEGACY-fetch-hydejack-9.0.2.js → LEGACY-fetch-hydejack-9.1.2.js} +2 -2
- data/assets/js/LEGACY-hydejack-9.1.2.js +27 -0
- data/assets/js/LEGACY-navbar-hydejack-9.1.2.js +14 -0
- data/assets/js/LEGACY-push-state-hydejack-9.1.2.js +14 -0
- data/assets/js/{resize-observer-hydejack-9.0.2.js → LEGACY-resize-observer-hydejack-9.1.2.js} +2 -2
- data/assets/js/{LEGACY-shadydom-hydejack-9.0.2.js → LEGACY-shadydom-hydejack-9.1.2.js} +2 -2
- data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.2.js +182 -0
- data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.2.js +48 -0
- data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.2.js +214 -0
- data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.2.js +14 -0
- data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.1.2.js +14 -0
- data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.2.js +34 -0
- data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.2.js +155 -0
- data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.0.2.js → LEGACY-vendors~webanimations-hydejack-9.1.2.js} +2 -2
- data/assets/js/{LEGACY-vendors~webcomponents-hydejack-9.0.2.js → LEGACY-vendors~webcomponents-hydejack-9.1.2.js} +4 -4
- data/assets/js/{LEGACY-webcomponents-hydejack-9.0.2.js → LEGACY-webcomponents-hydejack-9.1.2.js} +2 -2
- data/assets/js/clap-button-hydejack-9.1.2.js +14 -0
- data/assets/js/drawer-hydejack-9.1.2.js +14 -0
- data/assets/js/{shadydom-hydejack-9.0.2.js → fetch-hydejack-9.1.2.js} +2 -2
- data/assets/js/hydejack-9.1.2.js +28 -0
- data/assets/js/navbar-hydejack-9.1.2.js +14 -0
- data/assets/js/push-state-hydejack-9.1.2.js +14 -0
- data/assets/js/{LEGACY-resize-observer-hydejack-9.0.2.js → resize-observer-hydejack-9.1.2.js} +2 -2
- data/assets/js/shadydom-hydejack-9.1.2.js +14 -0
- data/assets/js/vendors~clap-button-hydejack-9.1.2.js +222 -0
- data/assets/js/vendors~drawer-hydejack-9.1.2.js +48 -0
- data/assets/js/vendors~drawer~push-state-hydejack-9.1.2.js +163 -0
- data/assets/js/vendors~fetch-hydejack-9.1.2.js +14 -0
- data/assets/js/vendors~intersection-observer-hydejack-9.1.2.js +14 -0
- data/assets/js/vendors~push-state-hydejack-9.1.2.js +34 -0
- data/assets/js/vendors~shadydom-hydejack-9.1.2.js +146 -0
- data/assets/js/{vendors~webanimations-hydejack-9.0.2.js → vendors~webanimations-hydejack-9.1.2.js} +2 -2
- data/assets/js/{webcomponents-hydejack-9.0.2.js → webcomponents-hydejack-9.1.2.js} +2 -2
- data/assets/site.webmanifest +1 -1
- data/assets/version.json +2 -2
- metadata +59 -38
- data/_includes/templates/back.html +0 -6
- data/_includes/templates/forward.html +0 -6
- data/assets/js/LEGACY-drawer-hydejack-9.0.2.js +0 -14
- data/assets/js/LEGACY-hydejack-9.0.2.js +0 -28
- data/assets/js/LEGACY-navbar-hydejack-9.0.2.js +0 -14
- data/assets/js/LEGACY-push-state-hydejack-9.0.2.js +0 -14
- data/assets/js/LEGACY-vendors~drawer-hydejack-9.0.2.js +0 -47
- data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.2.js +0 -215
- data/assets/js/LEGACY-vendors~fetch-hydejack-9.0.2.js +0 -14
- data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.0.2.js +0 -14
- data/assets/js/LEGACY-vendors~push-state-hydejack-9.0.2.js +0 -33
- data/assets/js/LEGACY-vendors~shadydom-hydejack-9.0.2.js +0 -155
- data/assets/js/drawer-hydejack-9.0.2.js +0 -14
- data/assets/js/fetch-hydejack-9.0.2.js +0 -14
- data/assets/js/hydejack-9.0.2.js +0 -28
- data/assets/js/navbar-hydejack-9.0.2.js +0 -14
- data/assets/js/push-state-hydejack-9.0.2.js +0 -14
- data/assets/js/vendors~drawer-hydejack-9.0.2.js +0 -47
- data/assets/js/vendors~drawer~push-state-hydejack-9.0.2.js +0 -163
- data/assets/js/vendors~intersection-observer-hydejack-9.0.2.js +0 -14
- data/assets/js/vendors~push-state-hydejack-9.0.2.js +0 -33
- 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6aa3e01819aef26156f5a1f3883ac559c2054b39e9d6ee0889bce06a2d2e510d
|
4
|
+
data.tar.gz: 8bec5f7e78821bc6ee1a7ad571c968af712838507dcf8b477039bfd2e4405e5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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-
|
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/
|
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
|
-
|
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
|
-
|
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:
|
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>
|
data/_includes/body/footer.html
CHANGED
@@ -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.
|
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 %}
|
data/_includes/body/index.html
CHANGED
@@ -9,10 +9,11 @@
|
|
9
9
|
duration="500"
|
10
10
|
hashchange
|
11
11
|
>
|
12
|
-
{%
|
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 %}{
|
16
|
+
{% unless page.cover %}{{ sidebar }}{% endunless %}
|
16
17
|
</hy-push-state>
|
17
18
|
|
18
19
|
{% unless page.redirect %}
|
data/_includes/body/main.html
CHANGED
data/_includes/body/nav.html
CHANGED
@@ -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.
|
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"
|
36
|
+
<a href="{{ node.redirect_to }}" class="sidebar-nav-item external">{{ node.title }}</a>
|
37
37
|
</li>
|
38
38
|
{% endunless %}
|
39
39
|
{% endfor %}
|
data/_includes/body/scripts.html
CHANGED
@@ -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.
|
4
|
-
<script src="{{ '/assets/js/LEGACY-hydejack-9.
|
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]-->
|
data/_includes/body/sidebar.html
CHANGED
@@ -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
|
-
{%
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
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
|
-
{
|
2
|
-
{
|
3
|
-
{
|
4
|
-
{
|
5
|
-
{
|
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
|
-
{
|
7
|
+
{%- assign content = '' -%}
|
8
8
|
|
9
|
-
{
|
10
|
-
{
|
11
|
-
{
|
12
|
-
{
|
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
|
-
{
|
15
|
-
{
|
16
|
-
{
|
17
|
-
{
|
18
|
-
{
|
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
|
-
{
|
21
|
-
{
|
22
|
-
{
|
23
|
-
{
|
24
|
-
{
|
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
|
-
{
|
27
|
-
{
|
28
|
-
{
|
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'
|
4
|
-
<link rel="apple-touch-icon" href="{{ '/assets/icons/icon-192x192.png'
|
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 %}
|
data/_includes/head/scripts.html
CHANGED
@@ -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
|
-
|
10
|
-
|
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.
|
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.
|
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
@@ -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(
|
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
|
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
|
-
{
|
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 -%}
|