Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hydecorp/hydejack
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v9.1.8
Choose a base ref
...
head repository: hydecorp/hydejack
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Feb 5, 2021

  1. Merge branch 'v9'

    qwtel committed Feb 5, 2021
    Copy the full SHA
    7ca2865 View commit details

Commits on Feb 8, 2021

  1. Merge branch 'v9'

    qwtel committed Feb 8, 2021
    Copy the full SHA
    5fe4501 View commit details

Commits on Feb 11, 2021

  1. Merge branch 'v9'

    qwtel committed Feb 11, 2021
    Copy the full SHA
    141e409 View commit details

Commits on Mar 9, 2021

  1. Don't use include_cache on head/links.html

    This resolves an issue where the base index page would include the wrong URL for a would-be self-referencing hreflang link.
    rmgrimm authored Mar 9, 2021
    Copy the full SHA
    6758ba4 View commit details

Commits on Mar 10, 2021

  1. Fix separator for pages under multiple categories

    The variable `category_separator` was initialized after including `components/tag-list.html`, so it wasn't available when needed. This resulted in category names just being slammed together rather than separated appropriately.
    
    This commit fixes that.
    rmgrimm authored Mar 10, 2021
    Copy the full SHA
    0d81959 View commit details

Commits on Mar 28, 2021

  1. Merge pull request #266 from rmgrimm/patch-1

    Don't use include_cache on head/links.html
    qwtel authored Mar 28, 2021
    Copy the full SHA
    4398e7a View commit details
  2. Merge pull request #267 from rmgrimm/patch-2

    Fix separator for pages under multiple categories
    qwtel authored Mar 28, 2021
    Copy the full SHA
    f972d79 View commit details
  3. Merge branch 'v9'

    qwtel committed Mar 28, 2021
    Copy the full SHA
    dd37957 View commit details

Commits on Mar 30, 2021

  1. Merge branch 'v9'

    qwtel committed Mar 30, 2021
    Copy the full SHA
    bc886c2 View commit details

Commits on Nov 30, 2021

  1. Merge branch 'v9'

    qwtel committed Nov 30, 2021
    Copy the full SHA
    b014bc7 View commit details

Commits on Feb 7, 2022

  1. Merge branch 'v9'

    qwtel committed Feb 7, 2022
    Copy the full SHA
    a1d06e6 View commit details

Commits on Sep 4, 2024

  1. Merge branch 'v9'

    qwtel committed Sep 4, 2024
    Copy the full SHA
    4acb954 View commit details
  2. Restore pre-version .gitignore

    qwtel committed Sep 4, 2024
    Copy the full SHA
    67f81d2 View commit details
  3. Merge branch 'v9'

    qwtel committed Sep 4, 2024
    Copy the full SHA
    5f75589 View commit details
  4. Update README.md

    qwtel committed Sep 4, 2024
    Copy the full SHA
    97ef0a4 View commit details
  5. Update code font stack

    qwtel committed Sep 4, 2024
    Copy the full SHA
    ab07d4e View commit details
  6. Fix math warnings

    # Conflicts:
    #	_includes/styles/page-style.scss
    #	_sass/pro/_projects.scss
    #	_sass/pro/_resume.scss
    #	_sass/pro/bootstrap-mod/_functions.scss
    #	_sass/pro/bootstrap-mod/_variables.scss
    #	_sass/pro/bootstrap-mod/mixins/_grid-framework.scss
    #	_sass/pro/bootstrap-mod/mixins/_grid.scss
    qwtel committed Sep 4, 2024
    Copy the full SHA
    34cbd7c View commit details
  7. 9.1.9

    qwtel committed Sep 4, 2024
    Copy the full SHA
    0f74973 View commit details
  8. Restore pre-version .gitignore

    qwtel committed Sep 4, 2024
    Copy the full SHA
    ebcddd5 View commit details
  9. Merge branch 'v9'

    qwtel committed Sep 4, 2024
    Copy the full SHA
    28be096 View commit details

Commits on Sep 6, 2024

  1. Add more social media icons

    qwtel committed Sep 6, 2024
    Copy the full SHA
    27d1385 View commit details
  2. Copy the full SHA
    c5b6802 View commit details
  3. Remove newsletter mentions

    qwtel committed Sep 6, 2024
    Copy the full SHA
    87eb593 View commit details
  4. Tag price

    qwtel committed Sep 6, 2024
    Copy the full SHA
    d5a72bb View commit details
  5. Update table

    qwtel committed Sep 6, 2024
    Copy the full SHA
    476703d View commit details
  6. Add dark mode

    qwtel committed Sep 6, 2024
    Copy the full SHA
    588ed76 View commit details

Commits on Sep 8, 2024

  1. Fix scrollbar issue

    qwtel committed Sep 8, 2024
    Copy the full SHA
    8452940 View commit details
  2. Mark dark mode as free

    qwtel committed Sep 8, 2024
    Copy the full SHA
    3795f10 View commit details
  3. Fix dark mode rendering

    qwtel committed Sep 8, 2024
    Copy the full SHA
    1e7a55c View commit details
  4. Update README.md

    qwtel committed Sep 8, 2024
    Copy the full SHA
    f294b00 View commit details
  5. Update README.md

    qwtel committed Sep 8, 2024
    Copy the full SHA
    fcd16eb View commit details
  6. Update README.md

    qwtel committed Sep 8, 2024
    Copy the full SHA
    49cdbb6 View commit details
  7. Remove unused

    qwtel committed Sep 8, 2024
    Copy the full SHA
    6e1cf0b View commit details
  8. 9.2.0

    qwtel committed Sep 8, 2024
    Copy the full SHA
    60e1108 View commit details
  9. Restore pre-version .gitignore

    qwtel committed Sep 8, 2024
    Copy the full SHA
    b9a2917 View commit details
  10. Merge branch 'v9'

    qwtel committed Sep 8, 2024
    Copy the full SHA
    200623b View commit details
  11. Fix copy button newlines

    qwtel committed Sep 8, 2024
    Copy the full SHA
    70606fe View commit details
  12. Revert "9.2.0"

    This reverts commit 60e1108.
    qwtel committed Sep 8, 2024
    Copy the full SHA
    6c5b8a1 View commit details
  13. 9.2.0

    qwtel committed Sep 8, 2024
    Copy the full SHA
    c1fba94 View commit details
  14. Restore pre-version .gitignore

    qwtel committed Sep 8, 2024
    Copy the full SHA
    401886f View commit details
  15. Merge branch 'v9'

    qwtel committed Sep 8, 2024
    Copy the full SHA
    3f013db View commit details

Commits on Sep 14, 2024

  1. Fix

    qwtel committed Sep 14, 2024
    Copy the full SHA
    0bc5bb6 View commit details
  2. Commit

    qwtel committed Sep 14, 2024
    Copy the full SHA
    37b9d27 View commit details
  3. 9.2.1

    qwtel committed Sep 14, 2024
    Copy the full SHA
    60dc339 View commit details
  4. Merge branch 'v9'

    qwtel committed Sep 14, 2024
    Copy the full SHA
    c78296b View commit details
Showing with 695 additions and 1,153 deletions.
  1. +0 −3 .babelrc
  2. +1 −0 .gitignore
  3. +53 −90 README.md
  4. +1 −4 _config.yml
  5. +1 −1 _includes/body/footer.html
  6. +1 −1 _includes/body/index.html
  7. +2 −2 _includes/body/scripts.html
  8. +1 −1 _includes/head/meta-static.html
  9. +8 −0 _includes/head/meta.html
  10. +1 −1 _includes/head/styles-inline.html
  11. +1 −1 _includes/head/styles-no-inline.html
  12. +1 −1 _includes/header.txt
  13. +7 −0 _includes/pro/dark-mode-fix.html
  14. +0 −33 _includes/scripts.html
  15. +10 −0 _includes/scripts/dark-mode-fix.js
  16. +1 −0 _includes/scripts/dark-mode-fix.min.js
  17. +6 −0 _includes/styles/inline.scss
  18. +9 −2 _includes/styles/page-style.scss
  19. +10 −0 _includes/styles/style.scss
  20. +10 −9 _includes/styles/variables.scss
  21. +3 −0 _includes/templates/index.html
  22. +6 −0 _includes/templates/pro/dark-mode.html
  23. +1 −1 _js/lib/version.js
  24. +4 −4 _js/src/entry.js
  25. +58 −0 _js/src/pro/dark-mode.js
  26. +4 −2 _js/src/upgrades.js
  27. +1 −1 _layouts/compress.html
  28. +6 −2 _sass/_mixins.scss
  29. +0 −2 _sass/html.scss
  30. +24 −4 _sass/hydejack/__link__/_break-layout.scss
  31. +24 −4 _sass/hydejack/_break-layout.pre.scss
  32. +1 −0 _sass/pooleparty/__link__/_code.scss
  33. +1 −0 _sass/pooleparty/_code.pre.scss
  34. +9 −0 _sass/pro/_dark-mode-dynamic-syntax.scss
  35. +20 −0 _sass/pro/_dark-mode-dynamic.scss
  36. +32 −0 _sass/pro/_dark-mode.scss
  37. +139 −0 _sass/pro/_syntax-dark.scss
  38. 0 assets/css/{hydejack-9.1.8.css → hydejack-9.2.1.css}
  39. BIN assets/icomoon/fonts/icomoon.eot
  40. +15 −1 assets/icomoon/fonts/icomoon.svg
  41. BIN assets/icomoon/fonts/icomoon.ttf
  42. BIN assets/icomoon/fonts/icomoon.woff
  43. +1 −1 assets/icomoon/selection.json
  44. +48 −6 assets/icomoon/style.css
  45. +2 −2 assets/js/{LEGACY-clap-button-hydejack-9.1.8.js → LEGACY-clap-button-hydejack-9.2.1.js}
  46. +2 −2 assets/js/{LEGACY-drawer-hydejack-9.1.8.js → LEGACY-drawer-hydejack-9.2.1.js}
  47. +2 −2 assets/js/{LEGACY-fetch-hydejack-9.1.8.js → LEGACY-fetch-hydejack-9.2.1.js}
  48. +0 −13 assets/js/LEGACY-hydejack-9.1.8.js
  49. +13 −0 assets/js/LEGACY-hydejack-9.2.1.js
  50. +2 −2 assets/js/{LEGACY-navbar-hydejack-9.1.8.js → LEGACY-navbar-hydejack-9.2.1.js}
  51. +2 −2 assets/js/{LEGACY-push-state-hydejack-9.1.8.js → LEGACY-push-state-hydejack-9.2.1.js}
  52. +2 −2 assets/js/{resize-observer-hydejack-9.1.8.js → LEGACY-resize-observer-hydejack-9.2.1.js}
  53. +2 −2 assets/js/{LEGACY-shadydom-hydejack-9.1.8.js → LEGACY-shadydom-hydejack-9.2.1.js}
  54. +2 −2 .../js/{LEGACY-vendors~clap-button-hydejack-9.1.8.js → LEGACY-vendors~clap-button-hydejack-9.2.1.js}
  55. +4 −4 assets/js/{LEGACY-vendors~drawer-hydejack-9.1.8.js → LEGACY-vendors~drawer-hydejack-9.2.1.js}
  56. +13 −13 ...vendors~drawer~push-state-hydejack-9.1.8.js → LEGACY-vendors~drawer~push-state-hydejack-9.2.1.js}
  57. +2 −2 assets/js/{LEGACY-vendors~fetch-hydejack-9.1.8.js → LEGACY-vendors~fetch-hydejack-9.2.1.js}
  58. +2 −2 ...intersection-observer-hydejack-9.1.8.js → LEGACY-vendors~intersection-observer-hydejack-9.2.1.js}
  59. +3 −3 ...ts/js/{LEGACY-vendors~push-state-hydejack-9.1.8.js → LEGACY-vendors~push-state-hydejack-9.2.1.js}
  60. +2 −2 assets/js/{LEGACY-vendors~shadydom-hydejack-9.1.8.js → LEGACY-vendors~shadydom-hydejack-9.2.1.js}
  61. +2 −2 ...{LEGACY-vendors~webanimations-hydejack-9.1.8.js → LEGACY-vendors~webanimations-hydejack-9.2.1.js}
  62. +4 −4 ...{LEGACY-vendors~webcomponents-hydejack-9.1.8.js → LEGACY-vendors~webcomponents-hydejack-9.2.1.js}
  63. +2 −2 assets/js/{LEGACY-webcomponents-hydejack-9.1.8.js → LEGACY-webcomponents-hydejack-9.2.1.js}
  64. +0 −14 assets/js/clap-button-hydejack-9.1.8.js
  65. +14 −0 assets/js/clap-button-hydejack-9.2.1.js
  66. +0 −14 assets/js/drawer-hydejack-9.1.8.js
  67. +14 −0 assets/js/drawer-hydejack-9.2.1.js
  68. +2 −2 assets/js/{shadydom-hydejack-9.1.8.js → fetch-hydejack-9.2.1.js}
  69. +0 −13 assets/js/hydejack-9.1.8.js
  70. +13 −0 assets/js/hydejack-9.2.1.js
  71. +0 −14 assets/js/navbar-hydejack-9.1.8.js
  72. +14 −0 assets/js/navbar-hydejack-9.2.1.js
  73. +0 −14 assets/js/push-state-hydejack-9.1.8.js
  74. +14 −0 assets/js/push-state-hydejack-9.2.1.js
  75. +2 −2 assets/js/{LEGACY-resize-observer-hydejack-9.1.8.js → resize-observer-hydejack-9.2.1.js}
  76. +2 −2 assets/js/{fetch-hydejack-9.1.8.js → shadydom-hydejack-9.2.1.js}
  77. +2 −2 assets/js/{vendors~clap-button-hydejack-9.1.8.js → vendors~clap-button-hydejack-9.2.1.js}
  78. +4 −4 assets/js/{vendors~drawer-hydejack-9.1.8.js → vendors~drawer-hydejack-9.2.1.js}
  79. +11 −11 ...ts/js/{vendors~drawer~push-state-hydejack-9.1.8.js → vendors~drawer~push-state-hydejack-9.2.1.js}
  80. +2 −2 assets/js/{vendors~fetch-hydejack-9.1.8.js → vendors~fetch-hydejack-9.2.1.js}
  81. +2 −2 ...endors~intersection-observer-hydejack-9.1.8.js → vendors~intersection-observer-hydejack-9.2.1.js}
  82. +3 −3 assets/js/{vendors~push-state-hydejack-9.1.8.js → vendors~push-state-hydejack-9.2.1.js}
  83. +2 −2 assets/js/{vendors~shadydom-hydejack-9.1.8.js → vendors~shadydom-hydejack-9.2.1.js}
  84. +2 −2 assets/js/{vendors~webanimations-hydejack-9.1.8.js → vendors~webanimations-hydejack-9.2.1.js}
  85. +2 −2 assets/js/{webcomponents-hydejack-9.1.8.js → webcomponents-hydejack-9.2.1.js}
  86. +2 −2 assets/version.json
  87. +0 −802 forms-by-example.md
  88. +1 −1 jekyll-theme-hydejack.gemspec
  89. +2 −2 package-lock.json
  90. +1 −1 package.json
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@ vendor
.sass-cache
.jekyll-metadata
.jekyll-cache
.ruby-lsp
*.gem

#<removed/js>
143 changes: 53 additions & 90 deletions README.md
Original file line number Diff line number Diff line change
@@ -7,10 +7,9 @@ A boutique Jekyll theme for hackers, nerds, and academics.




[![Screenshot](https://hydejack.com/assets/img/blog/hydejack-9.jpg)][welcome]

Hydejack's cover page on a variety of screens.
<p align="center">Hydejack's cover page on a variety of screen sizes.



@@ -26,40 +25,10 @@ It includes a blog that is suitable for both prose and technical documentation,

**Hydejack** is 100% built on Open Source software, and is Open Source itself, save for parts of the PRO version. The PRO version is a one-time payment that gives you the right to use it forever.

Hydejack is all static sites. _HTML_. All you need is a web server --- any web server --- to have a professional web presence that lasts a lifetime.

## Download

There are two versions of **Hydejack**: The *Free Version* includes basic blogging functionality and most of Hydejack's [Features], such as dynamic page loading and advanced animations.

The *PRO Version* includes additional features for professionals, such as a [portfolio], [resume], [Dark Mode][dark], [Forms], [Built-In Search][search] and customizable cookie banners.

The table below shows what's included in each version:

| | Free | PRO |
|:------------------------------|:--------------:|:-------------------:|
| [Blog] | &#x2714; | &#x2714; |
| [Features] | &#x2714; | &#x2714; |
| [Documentation][docs] | &#x2714; | &#x2714; |
| [Portfolio] | | &#x2714; |
| Printable [Resume] | | &#x2714; |
| [Dark Mode][dark] | | &#x2714; |
| [Built-In Search][search] | | &#x2714; |
| [Custom Forms][forms] | | &#x2714; |
| [Newsletter Box][news] | | &#x2714; |
| [Grid layout][grid] | | &#x2714; |
| [Offline Support][ofln] | | &#x2714; |
| Table of Contents[^2] | | &#x2714; |
| Cookie Banner | | &#x2714; |
| No Hydejack Branding | | &#x2714; |
| License | [GPL-3.0][lic] | [PRO] |
| Source | [GitHub][src] | Included |
| __Price__ / Upgrade | __Free__ | __$99__ / $39 [^3] |
| | [__Download__][kit] <br/>-- or --<br/> [__Deploy to Netlify__][nfy] | [__Buy PRO__][buy] |


Hydejack is all static sites. _HTML_. All you need is a web server — any web server — to have a professional web presence that lasts a lifetime.


## A Free Blogging Theme
**Hydejack** started out as a free blogging theme for Jekyll — and continues to be so.

<!--posts-->
@@ -76,7 +45,7 @@ Get a resume that's consistent across the board — whether it's on the web, mob

[![Resume PDF](https://hydejack.com/assets/img/blog/resume.png)][resume]

Front and center page of a print resume generated by Hydejack.
<p align="center">Front and center page of a print resume generated by Hydejack.



@@ -89,21 +58,23 @@ Write all content with Markdown. __Hydejack__ gives you [additional CSS classes]

![w3m Screenshot](https://hydejack.com/assets/img/blog/w3m.png)

The Hydejack blog, as seen by the text browser `w3m`.
<p align="center">The Hydejack blog, as seen by the text browser `w3m`.



## Syntax Highlighting
**Hydejack** features syntax highlighting, powered by [Rouge].

```js
// file: `example.js`
document.querySelector("hy-push-state").addEventListener("hy-push-state-load", () => {
const supportsCodeHighlights = true; //!!
});
```html
<!-- file: `_includes/my-body.html` -->
<script type="module">
document.querySelector("hy-push-state").addEventListener("hy-push-state-load", () => {
const supportsCodeHighlights = false; // TBD!!
});
</script>
```

Code blocks can have a filename and a caption.
<p align="center">Code blocks can have a filename and a caption.



@@ -112,16 +83,7 @@ They say math is beautiful — and with **Hydejack**'s [math support][math] it's

![Math example](https://hydejack.com/assets/img/blog/example-content-iii.jpg)

Hydejack uses KaTeX to efficiently render math.




## Build an Audience
The PRO version has built-in support for customizable [Tinyletter] newsletter subscription boxes.

If you are using a different service like MailChimp, you can build a custom newsletter subscription box using [Custom Forms][forms].

<p align="center">Hydejack uses KaTeX to efficiently render math.



@@ -130,61 +92,67 @@ If you are using a different service like MailChimp, you can build a custom news
An incomplete list of features included in all versions of **Hydejack**:

* Responsive layout with unique design features for every screen size
* Cover Pages for a stunning fist impression.
* Cover Pages for a stunning first impression.
* Customizable sidebar and touch-enabled drawer menu
* Single Page Web App-style page loading
* Advanced FLIP animations, inspired by Material Design
* Good [Google PageSpeed Score][gpss][^1]
* Good [Google PageSpeed Score][gpss][^11]
* [Syntax highlighting][syntax], powered by [Rouge]
* [LaTeX math blocks][latex], rendered with ether [KaTeX] or [MathJax] at your choice
* Soft-coded labels: Change wording or translate to other languages via a single file
* Support for categories and tags
* Author section below each article and support for multiple authors
* Built-in icons for many social networks
* Simple and semantic HTML + Structured Data
* Google Analytics and Google Fonts support
* Works with GitHub Pages out of the box[^12]

[^11]: Actual page load speed depends on your hosting provider, location, resolution and format of images, usage of 3rd party plugins, and other factors.

[^12]: Some limitations apply, most notably the need to use use MathJax instead of KaTeX for math block rendering.

*[FLIP]: First-Last-Invert-Play. A coding technique to achieve performant page transition animations.


## Comparison
## Download

There are two versions of **Hydejack**: The *Free Version* includes basic blogging functionality and most of Hydejack's [Features], such as dynamic page loading and advanced animations.

The *PRO Version* includes additional features for professionals, such as a [portfolio], [resume], [Dark Mode][dark], [Forms], [Built-In Search][search] and customizable cookie banners.

The table below shows what's included in each version:

| | Free | PRO |
|:------------------------------|:--------------:|:-------------------:|
| [Blog] | &#x2714; | &#x2714; |
| [Features] | &#x2714; | &#x2714; |
| [Documentation][docs] | &#x2714; | &#x2714; |
| [Portfolio] | | &#x2714; |
| Printable [Resume] | | &#x2714; |
| [Dark Mode][dark] | | &#x2714; |
| [Built-In Search][search] | | &#x2714; |
| [Custom Forms][forms] | | &#x2714; |
| [Newsletter Box][news] | | &#x2714; |
| [Grid layout][grid] | | &#x2714; |
| [Offline Support][ofln] | | &#x2714; |
| Table of Contents[^2] | | &#x2714; |
| Cookie Banner | | &#x2714; |
| No Hydejack Branding | | &#x2714; |
| License | [GPL-3.0][lic] | [PRO] |
| Source | [GitHub][src] | Included |
| __Price__ / Upgrade | __Free__ | __$99__ / $39 [^3] |
| | [__Download__][kit] <br/>-- or --<br/> [__Deploy to Netlify__][nfy] | [__Buy PRO__][buy] |

[^1]: Actual page load speed depends on your hosting provider, resolution of embedded images and usage of 3rd party plugins.

[^2]: Large screens (> 1664px width) only.

[^3]: Upgrading from Hydejack 8? Find your discount code in the latest zip download!
| | Free | PRO |
|:------------------------------|:-------------------:|:-------------------:|
| [Blog] | &#x2714; | &#x2714; |
| [Features] | &#x2714; | &#x2714; |
| [Documentation][docs] | &#x2714; | &#x2714; |
| [Dark Mode][dark] | &#x2714; | &#x2714; |
| [Portfolio] | | &#x2714; |
| Printable [Resume] | | &#x2714; |
| [Built-In Search][search] | | &#x2714; |
| [Custom Forms][forms] | | &#x2714; |
| [Grid layout][grid] | | &#x2714; |
| [Offline Support][ofln] | | &#x2714; |
| Table of Contents[^21] | | &#x2714; |
| Cookie Banner | | &#x2714; |
| No Hydejack Branding | | &#x2714; |
| License | [GPL-3.0][lic] | [PRO] |
| Source | [GitHub][src] | Included |
| __Price__ | __Free__ | __$99__ <small>One-Time Purchase</small>[^xx] |
| | [__Download__][kit] | [__Buy PRO__][buy] |


[^21]: Large screens (> 1664px width) only.

[^xx]:
Discounts may apply, check [Gumroad][buy] for up-to-date pricing.



*[FLIP]: First-Last-Invert-Play. A coding technique to achieve performant page transition animations.


[blog]: https://hydejack.com/blog/
[portfolio]: https://hydejack.com/projects/
[portfolio]: https://hydejack.com/showcase/
[resume]: https://hydejack.com/resume/
[download]: https://hydejack.com/download/
[welcome]: https://hydejack.com/
@@ -208,13 +176,8 @@ The table below shows what's included in each version:
[src]: https://github.com/hydecorp/hydejack
[gem]: https://rubygems.org/gems/jekyll-theme-hydejack
[buy]: https://gum.co/nuOluY
[nfy]: https://app.netlify.com/start/deploy?repository=https://github.com/hydecorp/hydejack-starter-kit
[dtn]: https://www.netlify.com/img/deploy/button.svg

[gpss]: https://developers.google.com/speed/pagespeed/insights/?url=https://hydejack.com/
[hy-push-state]: https://hydecorp.github.io/hy-push-state/
[hy-drawer]: https://hydecorp.github.io/hy-drawer/
[gpss]: https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fhydejack.com%2Fdocs%2F
[rouge]: http://rouge.jneen.net
[katex]: https://khan.github.io/KaTeX/
[mathjax]: https://www.mathjax.org/
[tinyletter]: https://tinyletter.com/
5 changes: 1 addition & 4 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -6,10 +6,7 @@ accent_image: /assets/img/sidebar-bg.jpg
accent_color: rgb(79,177,186)
theme_color: rgb(25,55,71)

google_fonts: Roboto+Slab:700|Noto+Sans:400,400i,700,700i
font: Noto Sans, Helvetica, Arial, sans-serif
font_heading: Roboto Slab, Helvetica, Arial, sans-serif
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;
google_fonts: false

hydejack:
post_addons: [about, newsletter, related, random, comments]
2 changes: 1 addition & 1 deletion _includes/body/footer.html
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
{% endfor %}
</small></nav>
{% endif %}
<p><small>Powered by <a class="external" href="https://hydejack.com/">Hydejack</a> v<span id="_version">9.1.8</span></small></p>
<p><small>Powered by <a class="external" href="https://hydejack.com/">Hydejack</a> v<span id="_version">9.2.1</span></small></p>
<hr class="sr-only"/>
</footer>
{% endif %}
2 changes: 1 addition & 1 deletion _includes/body/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

{% include_cached pro/dark-mode-fix.html %}

{% assign assets_url = "/assets/" | relative_url %}
<hy-push-state
4 changes: 2 additions & 2 deletions _includes/body/scripts.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--[if gt IE 10]><!---->
<script nomodule>{% include scripts/nomodule.min.js %}</script>
<script src="{{ '/assets/js/hydejack-9.1.8.js' | relative_url }}" type="module"></script>
<script src="{{ '/assets/js/LEGACY-hydejack-9.1.8.js' | relative_url }}" nomodule defer></script>
<script src="{{ '/assets/js/hydejack-9.2.1.js' | relative_url }}" type="module"></script>
<script src="{{ '/assets/js/LEGACY-hydejack-9.2.1.js' | relative_url }}" nomodule defer></script>
{% include my-scripts.html %}
{% include body/analytics.html %}
<!--<![endif]-->
2 changes: 1 addition & 1 deletion _includes/head/meta-static.html
Original file line number Diff line number Diff line change
@@ -10,4 +10,4 @@

<meta name="application-name" content="{{ site.title }}">

<meta name="generator" content="Hydejack v9.1.8" />
<meta name="generator" content="Hydejack v9.2.1" />
8 changes: 8 additions & 0 deletions _includes/head/meta.html
Original file line number Diff line number Diff line change
@@ -17,6 +17,14 @@
<title>{{ site.data.strings.redirecting | default:"Redirecting..." }}</title>
{% endunless %}

{% if site.hydejack.dark_mode.dynamic %}
<meta name="color-scheme" content="dark light">
{% elsif site.hydejack.dark_mode.always %}
<meta name="color-scheme" content="dark">
{% else %}
<meta name="color-scheme" content="light">
{% endif %}

{% unless site.hydejack.no_theme_color %}
<meta name="theme-color" content="{{ theme_color | default:'rgb(8,46,57)' }}">
{% endunless %}
2 changes: 1 addition & 1 deletion _includes/head/styles-inline.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% assign google_fonts = site.google_fonts %}
{% capture style_url %}{{ 'assets/css/hydejack-9.1.8.css' | relative_url }}{% endcapture %}
{% capture style_url %}{{ 'assets/css/hydejack-9.2.1.css' | relative_url }}{% endcapture %}
{% capture icons_url %}{{ 'assets/icomoon/style.css' | relative_url }}{% endcapture %}
{% if google_fonts %}
{% capture fonts_url %}{{ site.google_fonts_url | default:'https://fonts.googleapis.com' }}/css?family={{ google_fonts | uri_escape }}&display=swap{% endcapture %}
2 changes: 1 addition & 1 deletion _includes/head/styles-no-inline.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% assign google_fonts = site.google_fonts %}
{% capture style_url %}{{ 'assets/css/hydejack-9.1.8.css' | relative_url }}{% endcapture %}
{% capture style_url %}{{ 'assets/css/hydejack-9.2.1.css' | relative_url }}{% endcapture %}
{% capture icons_url %}{{ 'assets/icomoon/style.css' | relative_url }}{% endcapture %}
{% if google_fonts %}
{% capture fonts_url %}{{ site.google_fonts_url | default:'https://fonts.googleapis.com' }}/css?family={{ google_fonts | uri_escape }}&display=swap{% endcapture %}
2 changes: 1 addition & 1 deletion _includes/header.txt
Original file line number Diff line number Diff line change
@@ -9,5 +9,5 @@
* /\___/ \ \____/
* \/__/ \/___/
*
* Powered by Hydejack v9.1.8 <https://hydejack.com/>
* Powered by Hydejack v9.2.1 <https://hydejack.com/>
*/
7 changes: 7 additions & 0 deletions _includes/pro/dark-mode-fix.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{% if site.hydejack.dark_mode.dynamic %}
<script>
window._sunrise = {{ site.hydejack.dark_mode.sunrise | default:"6" }};
window._sunset = {{ site.hydejack.dark_mode.sunset | default:"18" }};
{% include scripts/dark-mode-fix.min.js %}
</script>
{% endif %}
33 changes: 0 additions & 33 deletions _includes/scripts.html

This file was deleted.

10 changes: 10 additions & 0 deletions _includes/scripts/dark-mode-fix.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
!function (window, document) {
var LM = 'light-mode';
var DM = 'dark-mode';
var h = new Date().getHours();
if ('matchMedia' in window && window.matchMedia('(prefers-color-scheme)')) return;
var m = h <= window._sunrise || h >= window._sunset ? DM : LM;
var n = m === DM ? LM : DM;
document.body.classList.add(m);
document.body.classList.remove(n);
}(window, document);
1 change: 1 addition & 0 deletions _includes/scripts/dark-mode-fix.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions _includes/styles/inline.scss
Original file line number Diff line number Diff line change
@@ -18,6 +18,12 @@
@import "my-variables";
@import "mixins";

{% if site.hydejack.dark_mode.dynamic %}
@import "pro/dark-mode-dynamic";
{% else %}
@import "pro/dark-mode";
{% endif %}

@import "html";

@import "pooleparty/__inline__/base";
Loading