jekyll-theme-hydejack 8.0.0 → 8.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +22 -19
- data/_includes/body/analytics.html +16 -9
- data/_includes/body/comments.html +2 -4
- data/_includes/body/footer.html +1 -1
- data/_includes/body/menu.html +2 -2
- data/_includes/body/scripts.html +11 -3
- data/_includes/body/sidebar.html +1 -1
- data/_includes/components/hy-img.html +3 -3
- data/_includes/head/links.html +11 -9
- data/_includes/head/meta.html +1 -1
- data/_includes/head/page-style.html +2 -3
- data/_includes/head/scripts.html +15 -15
- data/_includes/head/styles.html +1 -1
- data/_includes/header.txt +1 -1
- data/_includes/my-comments.html +24 -0
- data/_includes/styles/inline.scss +24 -27
- data/_includes/styles/style.scss +27 -30
- data/_includes/templates/back.html +1 -1
- data/_includes/templates/index.html +2 -2
- data/_includes/templates/loading.html +1 -1
- data/_includes/templates/{cookies-banner.html → pro/cookies-banner.html} +2 -2
- data/_layouts/base.html +4 -4
- data/_layouts/compress.html +1 -1
- data/_sass/_mixins.scss +23 -12
- data/_sass/_syntax.scss +131 -67
- data/_sass/_variables.scss +4 -7
- data/_sass/hydejack/{__inline → __inline__}/_avatar.scss +1 -1
- data/_sass/hydejack/{__inline → __inline__}/_base.scss +2 -2
- data/_sass/hydejack/{__inline → __inline__}/_break-layout.scss +1 -1
- data/_sass/hydejack/{__inline → __inline__}/_content.scss +2 -2
- data/_sass/hydejack/{__inline → __inline__}/_footer.scss +1 -1
- data/_sass/hydejack/{__inline → __inline__}/_images.scss +2 -2
- data/_sass/hydejack/{__inline → __inline__}/_katex.scss +1 -1
- data/_sass/hydejack/{__inline → __inline__}/_links.scss +4 -4
- data/_sass/hydejack/{__link → __inline__}/_mark-external.scss +1 -1
- data/_sass/hydejack/{__inline → __inline__}/_menu.scss +18 -16
- data/_sass/hydejack/{__inline → __inline__}/_sidebar.scss +2 -2
- data/_sass/hydejack/{__inline → __inline__}/_social.scss +1 -1
- data/_sass/hydejack/{__inline → __inline__}/_utilities.scss +6 -3
- data/_sass/hydejack/{__link → __link__}/_avatar.scss +1 -1
- data/_sass/hydejack/{__link → __link__}/_base.scss +1 -1
- data/_sass/hydejack/{__link → __link__}/_break-layout.scss +1 -1
- data/_sass/hydejack/{__link → __link__}/_content.scss +1 -1
- data/_sass/hydejack/{__link → __link__}/_footer.scss +2 -2
- data/_sass/hydejack/{__link → __link__}/_images.scss +7 -5
- data/_sass/hydejack/{__link → __link__}/_katex.scss +6 -11
- data/_sass/hydejack/{__link → __link__}/_links.scss +5 -5
- data/_sass/hydejack/{__inline → __link__}/_mark-external.scss +1 -1
- data/_sass/hydejack/{__link → __link__}/_menu.scss +9 -16
- data/_sass/hydejack/{__link → __link__}/_sidebar.scss +1 -2
- data/_sass/hydejack/{__link → __link__}/_social.scss +1 -1
- data/_sass/hydejack/{__link → __link__}/_utilities.scss +6 -3
- data/_sass/hydejack/_base.pre.scss +1 -1
- data/_sass/hydejack/_content.pre.scss +1 -1
- data/_sass/hydejack/_footer.pre.scss +1 -1
- data/_sass/hydejack/_images.pre.scss +6 -4
- data/_sass/hydejack/_katex.pre.scss +5 -10
- data/_sass/hydejack/_links.pre.scss +4 -4
- data/_sass/hydejack/_menu.pre.scss +25 -30
- data/_sass/hydejack/_sidebar.pre.scss +1 -2
- data/_sass/hydejack/_utilities.pre.scss +5 -2
- data/_sass/my-style.scss +9 -0
- data/_sass/my-variables.scss +1 -23
- data/_sass/pooleparty/{__inline → __inline__}/_base.scss +6 -4
- data/_sass/pooleparty/{__inline → __inline__}/_code.scss +1 -1
- data/_sass/pooleparty/{__inline → __inline__}/_footer.scss +1 -1
- data/_sass/pooleparty/{__inline → __inline__}/_footnotes.scss +1 -1
- data/_sass/pooleparty/{__inline → __inline__}/_message.scss +4 -3
- data/_sass/pooleparty/{__inline → __inline__}/_pagination.scss +1 -1
- data/_sass/pooleparty/{__inline → __inline__}/_posts.scss +2 -2
- data/_sass/pooleparty/{__inline → __inline__}/_read-more.scss +1 -1
- data/_sass/pooleparty/{__inline → __inline__}/_related.scss +1 -1
- data/_sass/pooleparty/{__inline → __inline__}/_table.scss +3 -2
- data/_sass/pooleparty/{__inline → __inline__}/_type.scss +10 -6
- data/_sass/pooleparty/{__link → __link__}/_base.scss +1 -1
- data/_sass/pooleparty/{__link → __link__}/_code.scss +25 -12
- data/_sass/pooleparty/{__link → __link__}/_footer.scss +1 -1
- data/_sass/pooleparty/{__link → __link__}/_footnotes.scss +7 -6
- data/_sass/pooleparty/{__link → __link__}/_message.scss +1 -1
- data/_sass/pooleparty/{__link → __link__}/_pagination.scss +9 -6
- data/_sass/pooleparty/{__link → __link__}/_posts.scss +2 -2
- data/_sass/pooleparty/{__link → __link__}/_read-more.scss +1 -1
- data/_sass/pooleparty/{__link → __link__}/_related.scss +1 -1
- data/_sass/pooleparty/{__link → __link__}/_table.scss +13 -9
- data/_sass/pooleparty/{__link → __link__}/_type.scss +10 -9
- data/_sass/pooleparty/_base.pre.scss +5 -3
- data/_sass/pooleparty/_code.pre.scss +24 -11
- data/_sass/pooleparty/_footnotes.pre.scss +6 -5
- data/_sass/pooleparty/_message.pre.scss +3 -2
- data/_sass/pooleparty/_pagination.pre.scss +8 -5
- data/_sass/pooleparty/_posts.pre.scss +2 -2
- data/_sass/pooleparty/_table.pre.scss +14 -9
- data/_sass/pooleparty/_type.pre.scss +18 -13
- data/assets/css/{hydejack-8.0.0.css → hydejack-8.1.0.css} +0 -0
- data/assets/icomoon/fonts/icomoon.eot +0 -0
- data/assets/icomoon/fonts/icomoon.svg +3 -0
- data/assets/icomoon/fonts/icomoon.ttf +0 -0
- data/assets/icomoon/fonts/icomoon.woff +0 -0
- data/assets/icomoon/selection.json +91 -10
- data/assets/icomoon/style.css +14 -5
- data/assets/img/{COLOURlovers.com-Hydejack.png → blog/COLOURlovers.com-Hydejack.png} +0 -0
- data/assets/img/blog/blog-layout.jpg +0 -0
- data/assets/img/{caleb-george-old.jpg → blog/caleb-george-old.jpg} +0 -0
- data/assets/img/{caleb-george.jpg → blog/caleb-george.jpg} +0 -0
- data/assets/img/blog/cover-page.jpg +0 -0
- data/assets/img/blog/dark-mode.jpg +0 -0
- data/assets/img/{example-content-ii.jpg → blog/example-content-ii.jpg} +0 -0
- data/assets/img/{example-content-iii.jpg → blog/example-content-iii.jpg} +0 -0
- data/assets/img/blog/hydejack-8.png +0 -0
- data/assets/img/blog/hydejack-8@0,25x.png +0 -0
- data/assets/img/blog/hydejack-8@0,5x.png +0 -0
- data/assets/img/blog/lazy-images.jpg +0 -0
- data/assets/img/blog/resume.png +0 -0
- data/assets/img/blog/w3m.png +0 -0
- data/assets/js/hydejack-8.1.0.js +46 -0
- data/assets/js/sw.js +3 -3
- data/assets/version.json +1 -1
- data/assets/video/blog-layout.mp4 +0 -0
- data/assets/video/cover-page.mp4 +0 -0
- data/assets/video/dark-mode.mp4 +0 -0
- data/assets/video/lazy-images.mp4 +0 -0
- metadata +72 -76
- data/assets/bower_components/fontfaceobserver/test/assets/index.html +0 -8
- data/assets/bower_components/fontfaceobserver/test/assets/late.css +0 -1
- data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.eot +0 -0
- data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.ttf +0 -0
- data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.woff +0 -0
- data/assets/bower_components/fontfaceobserver/test/assets/subset.eot +0 -0
- data/assets/bower_components/fontfaceobserver/test/assets/subset.ttf +0 -0
- data/assets/bower_components/fontfaceobserver/test/assets/subset.woff +0 -0
- data/assets/bower_components/fontfaceobserver/test/deps.js +0 -5
- data/assets/bower_components/fontfaceobserver/test/index.html +0 -97
- data/assets/bower_components/fontfaceobserver/test/observer-test.js +0 -465
- data/assets/bower_components/fontfaceobserver/test/ruler-test.js +0 -112
- data/assets/img/default-1.jpg +0 -0
- data/assets/img/hydejack-8.jpg +0 -0
- data/assets/img/hydejack-8@0,25x.jpg +0 -0
- data/assets/img/hydejack-8@0,5x.jpg +0 -0
- data/assets/img/resume.png +0 -0
- data/assets/img/w3m.png +0 -0
- data/assets/js/hydejack-8.0.0.js +0 -46
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d78aae92cc731b703480a50915a7ecde7dee7ef5
|
4
|
+
data.tar.gz: ebb8f52a142083bfaff6ee3a04147a4941cff2cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a75d81d88e30b329edcb9fd576fdd2959125f9617f5981ac188bd6b0e869b4d5f0363bd0b4a91ca144693389684bd3b37829eeacaf1a7c2763a6de252b646e5a
|
7
|
+
data.tar.gz: a0967aed8dd8114704522c4bfea80a786a86bde4f8380f3bc88ee29cfce35ebbeb9acd737f9d72ff7530acbf8c4636e69279e34adcc01d9da90eb0104dd4e82e
|
data/README.md
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# Hydejack
|
2
2
|
|
3
|
-
|
3
|
+
The "Best Jekyll Theme by a Mile".
|
4
4
|
|
5
5
|
|
6
|
-
![Screenshot](assets/img/hydejack-8.
|
6
|
+
![Screenshot](assets/img/blog/hydejack-8.png)
|
7
7
|
Hydejack's cover page on a variety of screens.
|
8
8
|
|
9
9
|
|
10
10
|
**Hydejack** is your presence on the web. It gives you a *blog* that is suitable for both prose and technical documentation, a *portfolio* to showcase your projects, and a beautiful *resume* template that looks amazing on the web and in print.
|
11
11
|
|
12
|
-
> Your presence on the web — A [blog], a [portfolio] and a [resume].
|
12
|
+
> Your presence on the web — A [blog], a [portfolio], and a [resume].
|
13
13
|
|
14
14
|
|
15
15
|
There are two versions of **Hydejack**: The base version is free, while features that are specific to *professionals* are a payed upgrade.
|
@@ -19,7 +19,7 @@ There are two versions of **Hydejack**: The base version is free, while features
|
|
19
19
|
[**Buy PRO**][buy]
|
20
20
|
|
21
21
|
|
22
|
-
##
|
22
|
+
## A Free Blogging Theme
|
23
23
|
**Hydejack** started out as a free blogging theme for Jekyll — and continues to be so.
|
24
24
|
|
25
25
|
<!--posts-->
|
@@ -34,7 +34,7 @@ A portfolio that's guaranteed to be impressive — no matter what you put into i
|
|
34
34
|
## A Printable Resume
|
35
35
|
Get a resume that's consistent across the board — whether it's on the web, mobile, print, or [PDF](assets/Resume.pdf).
|
36
36
|
|
37
|
-
![Resume PDF](assets/img/resume.png)
|
37
|
+
![Resume PDF](assets/img/blog/resume.png)
|
38
38
|
Front and center page of a print resume generated by Hydejack.
|
39
39
|
|
40
40
|
|
@@ -42,10 +42,11 @@ Front and center page of a print resume generated by Hydejack.
|
|
42
42
|
## Just Markup
|
43
43
|
**Hydejack** boasts a plethora of modern JavaScript, but make no mistake: It's still a plain old *web page* at its core. It works without JavaScript, and you can even view it in a text-based browser like `w3m`:
|
44
44
|
|
45
|
-
![w3m Screenshot](assets/img/w3m.png)
|
45
|
+
![w3m Screenshot](assets/img/blog/w3m.png)
|
46
46
|
The Hydejack blog, as seen by the text browser `w3m`.
|
47
47
|
|
48
48
|
|
49
|
+
|
49
50
|
## Syntax Highlighting
|
50
51
|
**Hydejack** features syntax highlighting, powered by [Rouge].
|
51
52
|
|
@@ -59,26 +60,26 @@ document.getElementsByTagName("hy-push-state")[0].addEventListener("hy-push-stat
|
|
59
60
|
## Beautiful Math
|
60
61
|
They say math is beautiful — and with **Hydejack**'s [math support][latex] it's also guaranteed to *look* beautiful.
|
61
62
|
|
62
|
-
![Math Screenshot](assets/img/example-content-iii.jpg)
|
63
|
+
![Math Screenshot](assets/img/blog/example-content-iii.jpg)
|
63
64
|
Hydejack uses KaTeX to efficiently render math.
|
64
65
|
|
65
66
|
|
66
67
|
<!-- $$
|
67
|
-
\begin
|
68
|
-
\phi(x,y) &= \phi \left(\sum_^n y_je_j \right) \\[2em]
|
69
|
-
&= \sum_^n x_i y_j \phi(e_i, e_j) \\[2em]
|
68
|
+
\begin{aligned}
|
69
|
+
\phi(x,y) &= \phi \left(\sum_{i=1}^n x_ie_i, \sum_{j=1}^n y_je_j \right) \\[2em]
|
70
|
+
&= \sum_{i=1}^n \sum_{j=1}^n x_i y_j \phi(e_i, e_j) \\[2em]
|
70
71
|
&= (x_1, \ldots, x_n)
|
71
|
-
\left(\begin
|
72
|
+
\left(\begin{array}{ccc}
|
72
73
|
\phi(e_1, e_1) & \cdots & \phi(e_1, e_n) \\
|
73
74
|
\vdots & \ddots & \vdots \\
|
74
75
|
\phi(e_n, e_1) & \cdots & \phi(e_n, e_n)
|
75
|
-
\end\right)
|
76
|
-
\left(\begin
|
76
|
+
\end{array}\right)
|
77
|
+
\left(\begin{array}{c}
|
77
78
|
y_1 \\
|
78
79
|
\vdots \\
|
79
80
|
y_n
|
80
|
-
\end\right)
|
81
|
-
\end
|
81
|
+
\end{array}\right)
|
82
|
+
\end{aligned}
|
82
83
|
$$ -->
|
83
84
|
|
84
85
|
|
@@ -87,7 +88,7 @@ The PRO version has built-in support for customizable [Tinyletter] newsletter su
|
|
87
88
|
|
88
89
|
If you are using a different service like MailChimp, you can build a custom newsletter subscription box using [Custom Forms][forms].
|
89
90
|
|
90
|
-
|
91
|
+
{% include pro/newsletter.html %}
|
91
92
|
|
92
93
|
|
93
94
|
## A Personal Site That Belongs to You
|
@@ -112,7 +113,6 @@ An incomplete list of features included in all versions of **Hydejack**:
|
|
112
113
|
* Author section below each article and support for multiple authors
|
113
114
|
* Google Analytics and Google Fonts support
|
114
115
|
* Disqus comments
|
115
|
-
* Optional cookies banner
|
116
116
|
|
117
117
|
|
118
118
|
## Download
|
@@ -131,6 +131,9 @@ This table below shows what's included in each version:
|
|
131
131
|
| [Welcome] | | ✔ |
|
132
132
|
| [Newsletter Box][news] | | ✔ |
|
133
133
|
| [Custom Forms][forms] | | ✔ |
|
134
|
+
| Dark Mode | | ✔ |
|
135
|
+
| Cookie Banner | | ✔ |
|
136
|
+
| Offline Support | | ✔ |
|
134
137
|
| No Hydejack Branding | | ✔ |
|
135
138
|
| License | [GPL-3.0][lic] | [PRO] |
|
136
139
|
| Source | [GitHub][src] | Included |
|
@@ -158,9 +161,9 @@ This table below shows what's included in each version:
|
|
158
161
|
|
159
162
|
[lic]: LICENSE.md
|
160
163
|
[pro]: licenses/PRO.md
|
161
|
-
[docs]: docs/
|
164
|
+
[docs]: docs/README.md
|
162
165
|
|
163
|
-
[kit]: https://github.com/qwtel/
|
166
|
+
[kit]: https://github.com/qwtel/hy-starter-kit/archive/v8.1.0.zip
|
164
167
|
[src]: https://github.com/qwtel/hydejack
|
165
168
|
[gem]: https://rubygems.org/gems/jekyll-theme-hydejack
|
166
169
|
[buy]: https://app.simplegoods.co/i/NATYVLYT
|
@@ -1,11 +1,11 @@
|
|
1
1
|
{% if site.google_analytics %}
|
2
|
-
<script
|
3
|
-
|
2
|
+
<script>!function(w, d) {
|
3
|
+
w.ga=w.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
4
4
|
|
5
5
|
/*{% if site.hydejack.cookies_banner %}*/
|
6
6
|
if (navigator.CookiesOK) {
|
7
7
|
ga('create', '{{ site.google_analytics }}', 'auto');
|
8
|
-
} else if (
|
8
|
+
} else if (d.cookie.indexOf("hy--cookies-ok=true") > -1) {
|
9
9
|
ga('create', '{{ site.google_analytics }}', {
|
10
10
|
'storage': 'none',
|
11
11
|
'clientId': localStorage ? localStorage.getItem('ga--client-id') : undefined
|
@@ -21,16 +21,23 @@
|
|
21
21
|
ga('create', '{{ site.google_analytics }}', 'auto');
|
22
22
|
/*{% endif %}*/
|
23
23
|
|
24
|
-
var pushStateEl =
|
24
|
+
var pushStateEl = d.getElementsByTagName('hy-push-state')[0];
|
25
25
|
var timeoutId;
|
26
26
|
pushStateEl.addEventListener('hy-push-state-load', function() {
|
27
|
-
|
28
|
-
timeoutId =
|
29
|
-
ga('set', 'page',
|
27
|
+
w.clearTimeout(timeoutId);
|
28
|
+
timeoutId = w.setTimeout(function() {
|
29
|
+
ga('set', 'page', w.location.pathname);
|
30
30
|
ga('send', 'pageview');
|
31
31
|
}, 500);
|
32
32
|
});
|
33
33
|
|
34
|
-
|
35
|
-
|
34
|
+
d.addEventListener('hy--cookies-ok', function () {
|
35
|
+
w.ga(function(tracker) {
|
36
|
+
w.ga("set", "anonymizeIp", undefined);
|
37
|
+
localStorage && localStorage.setItem("ga--client-id", tracker.get("clientId"));
|
38
|
+
});
|
39
|
+
});
|
40
|
+
|
41
|
+
w.loadJSDeferred('https://www.google-analytics.com/analytics.js');
|
42
|
+
}(window, document);</script>
|
36
43
|
{% endif %}
|
@@ -1,8 +1,6 @@
|
|
1
|
-
{%
|
2
|
-
{% if disqus and page.comments %}
|
1
|
+
{% if page.comments %}
|
3
2
|
<aside class="comments related" role="complementary">
|
4
3
|
<h2 class="hr">{{ site.data.strings.comments | default:"Comments" }}</h2>
|
5
|
-
|
6
|
-
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
4
|
+
{% include my-comments.html %}
|
7
5
|
</aside>
|
8
6
|
{% endif %}
|
data/_includes/body/footer.html
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
{% endfor %}
|
13
13
|
</small></nav>
|
14
14
|
{% endif %}
|
15
|
-
<p><small>Powered by <a class="external" href="https://hydejack.com/">Hydejack</a> v<span id="_version">8.
|
15
|
+
<p><small>Powered by <a class="external" href="https://hydejack.com/">Hydejack</a> v<span id="_version">8.1.0</span></small></p>
|
16
16
|
<hr class="sr-only"/>
|
17
17
|
</footer>
|
18
18
|
{% endif %}
|
data/_includes/body/menu.html
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
<div class="navbar fixed-top">
|
1
|
+
<div id="_navbar" class="navbar fixed-top">
|
2
2
|
<div class="content">
|
3
3
|
<div class="nav-btn-bar">
|
4
4
|
<span class="sr-only">{{ site.data.strings.jump_to | default:"Jump to" }}{{ site.data.strings.colon | default:":" }}</span>
|
5
|
-
<a id="_menu" class="nav-btn no-hover" href="#_navigation">
|
5
|
+
<a id="_menu" class="nav-btn no-hover fl" href="#_navigation">
|
6
6
|
<span class="sr-only">{{ site.data.strings.navigation | default:"Navigation" }}</span>
|
7
7
|
<span class="icon-menu"></span>
|
8
8
|
</a>
|
data/_includes/body/scripts.html
CHANGED
@@ -1,6 +1,14 @@
|
|
1
|
+
{% if site.hydejack.dark_mode.dynamic %}
|
2
|
+
<script>!function(w, d) {
|
3
|
+
var h = new Date().getHours();
|
4
|
+
var m = h <= {{ site.hydejack.dark_mode.sunrise | default:"6" }} || h >= {{ site.hydejack.dark_mode.sunset | default:"18" }} ? 'add' : 'remove';
|
5
|
+
d.body.classList[m]('dark-mode');
|
6
|
+
}(window, document);</script>
|
7
|
+
{% endif %}
|
8
|
+
|
1
9
|
{% unless page.redirect %}
|
2
|
-
<!--[if
|
3
|
-
<script>
|
10
|
+
<!--[if !IE]><!---->
|
11
|
+
<script>loadJSDeferred(document.getElementById('_hrefJS').href);</script>
|
4
12
|
{% include my-scripts.html %}
|
5
13
|
<!--<![endif]-->
|
6
14
|
|
@@ -9,7 +17,7 @@
|
|
9
17
|
<script>
|
10
18
|
if ('serviceWorker' in navigator) {
|
11
19
|
{% if site.hydejack.offline.enabled %}
|
12
|
-
navigator.serviceWorker.register(
|
20
|
+
navigator.serviceWorker.register(document.getElementById('_hrefSW').href)
|
13
21
|
.then(r => r.update())
|
14
22
|
.catch(() => {});
|
15
23
|
{% else %}
|
data/_includes/body/sidebar.html
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
<div class="sidebar-about">
|
21
21
|
{% if site.logo %}
|
22
22
|
<a class="no-hover" href="{{ '/' | relative_url }}" tabindex="-1">
|
23
|
-
<img src="{{ site.logo | relative_url }}" class="avatar" alt="{{ site.short_title | default:site.title }}"
|
23
|
+
<img src="{{ site.logo | relative_url }}" class="avatar" alt="{{ site.short_title | default:site.title }}" data-ignore />
|
24
24
|
</a>
|
25
25
|
{% endif %}
|
26
26
|
<h2 class="h1"><a href="{{ '/' | relative_url }}">{{ site.short_title | default:site.title }}</a></h2>
|
@@ -27,14 +27,14 @@
|
|
27
27
|
{% if include.property %}property="{{ include.property }}"{% endif %}
|
28
28
|
root-margin="512px"
|
29
29
|
>
|
30
|
-
<noscript><img
|
30
|
+
<noscript><img data-ignore {{ attrs }}/></noscript>
|
31
31
|
<span class="loading" slot="loading" hidden>
|
32
32
|
<span class="icon-cog"></span>
|
33
33
|
</span>
|
34
34
|
</hy-img>
|
35
35
|
{% else %}
|
36
|
-
<img
|
36
|
+
<img
|
37
37
|
{{ attrs }}
|
38
38
|
{% if include.property %}property="{{ include.property }}"{% endif %}
|
39
39
|
/>
|
40
|
-
{% endunless %}
|
40
|
+
{% endunless %}
|
data/_includes/head/links.html
CHANGED
@@ -16,16 +16,18 @@
|
|
16
16
|
<link rel="dns-prefetch" href="https://www.google-analytics.com">
|
17
17
|
{% endif %}
|
18
18
|
|
19
|
+
{% comment %}<!--
|
20
|
+
This is to avoid hard-coding URLs in JS (where they can't be discovered by automated tools).
|
21
|
+
-->{% endcomment %}
|
22
|
+
<link rel="dns-prefetch" href="{{ '/' | relative_url }}" id="_baseURL">
|
23
|
+
<link rel="dns-prefetch" href="{{ '/assets/js/hydejack-8.1.0.js' | relative_url }}" id="_hrefJS">
|
24
|
+
<link rel="dns-prefetch" href="{{ '/sw.js' | relative_url }}" id="_hrefSW">
|
25
|
+
<link rel="dns-prefetch" href="{{ '/assets/bower_components/fontfaceobserver/fontfaceobserver.standalone.js'| relative_url }}" id="_hrefFFO">
|
26
|
+
<link rel="dns-prefetch" href="{{ '/assets/bower_components/katex/dist/katex.min.js' | relative_url }}" id="_hrefKatexJS">
|
27
|
+
<link rel="dns-prefetch" href="{{ '/assets/bower_components/katex/dist/katex.min.css' | relative_url }}" id="_hrefKatexCSS">
|
28
|
+
<link rel="dns-prefetch" href="{{ '/assets/img/swipe.svg' | relative_url }}" id="_hrefSwipeSVG">
|
29
|
+
|
19
30
|
{% assign disqus = site.disqus | default:site.disqus_shortname %}
|
20
31
|
{% if disqus %}
|
21
32
|
<link rel="dns-prefetch" href="https://{{ disqus }}.disqus.com" id="_hrefDisqus">
|
22
33
|
{% endif %}
|
23
|
-
|
24
|
-
{% comment %}<!--
|
25
|
-
This is to avoid hard-coding URLs in JS (where they can't be discovered by automated tools).
|
26
|
-
-->{% endcomment %}
|
27
|
-
<link href="{{ '/assets/js/hydejack-8.0.0.js' | relative_url }}" id="_hrefJS">
|
28
|
-
<link href="{{ '/assets/bower_components/fontfaceobserver/fontfaceobserver.standalone.js'| relative_url }}" id="_hrefFFO">
|
29
|
-
<link href="{{ '/assets/bower_components/katex/dist/katex.min.js' | relative_url }}" id="_hrefKatexJS">
|
30
|
-
<link href="{{ '/assets/bower_components/katex/dist/katex.min.css' | relative_url }}" id="_hrefKatexCSS">
|
31
|
-
<link href="{{ '/assets/img/swipe.svg' | relative_url }}" id="_hrefSwipeSVG">
|
data/_includes/head/meta.html
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
}
|
14
14
|
|
15
15
|
:focus {
|
16
|
-
outline-color: {{ color }};
|
16
|
+
outline-color: {{ color }}!important;
|
17
17
|
}
|
18
18
|
|
19
19
|
.btn-primary {
|
@@ -53,6 +53,5 @@
|
|
53
53
|
color: #fff;
|
54
54
|
background: {{ color }};
|
55
55
|
}
|
56
|
-
{% endcapture %}
|
57
|
-
{{ page_style | scssify }}
|
56
|
+
{% endcapture %}{{ page_style | scssify }}
|
58
57
|
</style>
|
data/_includes/head/scripts.html
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
<script>
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
});
|
13
|
-
}
|
14
|
-
|
15
|
-
|
1
|
+
<script>{% include scripts/load-js.min.js %}{% include scripts/loadCSS.min.js %}{% include scripts/cssrelpreload.min.js %}</script>
|
2
|
+
|
3
|
+
<script>!function(w, d) {
|
4
|
+
w._noPushState = {{ site.hydejack.no_push_state | default:site.disable_push_state | default:false }};
|
5
|
+
w._noDrawer = {{ site.hydejack.no_drawer | default:site.disable_drawer | default:false }};
|
6
|
+
|
7
|
+
/*{% unless site.hydejack.no_google_fonts or site.no_google_fonts %}*/
|
8
|
+
loadJS(d.getElementById('_hrefFFO').href, function() {
|
9
|
+
if ('Promise' in w) Promise.all([
|
10
|
+
new FontFaceObserver('{{ font | split:',' | first }}').load(),
|
11
|
+
new FontFaceObserver('{{ font_heading | split:',' | first }}').load(),
|
12
|
+
]).then(function f() { d.body.classList.add('font-active'); }, function() {});
|
13
|
+
});
|
14
|
+
/*{% endunless %}*/
|
15
|
+
}(window, document);</script>
|
data/_includes/head/styles.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<!--[if gt IE 8]><!---->
|
2
|
-
{% capture style_url %}{% link assets/css/hydejack-8.
|
2
|
+
{% capture style_url %}{% link assets/css/hydejack-8.1.0.css %}{% endcapture %}
|
3
3
|
{% capture icons_url %}{% link assets/icomoon/style.css %}{% endcapture %}
|
4
4
|
{% capture fonts_url %}https://fonts.googleapis.com/css?family={{ google_fonts }}{% endcapture %}
|
5
5
|
|
data/_includes/header.txt
CHANGED
@@ -0,0 +1,24 @@
|
|
1
|
+
{% assign disqus = site.disqus | default:site.disqus_shortname %}
|
2
|
+
{% if disqus %}
|
3
|
+
<div id="disqus_thread"></div>
|
4
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
5
|
+
<script>!function(w, d) {
|
6
|
+
if (d.getElementById("disqus_thread")) {
|
7
|
+
if (w.DISQUS) {
|
8
|
+
w.DISQUS.reset({
|
9
|
+
reload: true,
|
10
|
+
config() {
|
11
|
+
this.page.url = w.location.href;
|
12
|
+
this.page.title = d.title;
|
13
|
+
},
|
14
|
+
});
|
15
|
+
} else {
|
16
|
+
w.disqus_config = function disqusConfig() {
|
17
|
+
this.page.url = w.location.href;
|
18
|
+
this.page.title = d.title;
|
19
|
+
};
|
20
|
+
w.loadJSDeferred(d.getElementById("_hrefDisqus").href + '/embed.js');
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}(window, document);</script>
|
24
|
+
{% endif %}
|
@@ -18,39 +18,36 @@
|
|
18
18
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
19
|
// SOFTWARE.
|
20
20
|
|
21
|
-
{
|
22
|
-
{
|
23
|
-
|
24
|
-
$font-family-heading: {{ font_heading }};
|
25
|
-
$font-family: {{ font }};
|
21
|
+
$font-family-heading: {{ site.font_heading | default:"Roboto Slab, Helvetica, Arial, sans-serif" }};
|
22
|
+
$font-family: {{ site.font | default:"Noto Sans, Helvetica, Arial, sans-serif" }};
|
26
23
|
|
27
24
|
@import "variables";
|
28
25
|
@import "my-variables";
|
29
26
|
@import "mixins";
|
30
27
|
|
31
|
-
@import "pooleparty/
|
32
|
-
@import "pooleparty/
|
33
|
-
@import "pooleparty/
|
34
|
-
@import "pooleparty/
|
35
|
-
@import "pooleparty/
|
36
|
-
@import "pooleparty/
|
37
|
-
@import "pooleparty/
|
38
|
-
@import "pooleparty/
|
39
|
-
@import "pooleparty/
|
40
|
-
@import "pooleparty/
|
41
|
-
@import "pooleparty/
|
28
|
+
@import "pooleparty/__inline__/base";
|
29
|
+
@import "pooleparty/__inline__/type";
|
30
|
+
@import "pooleparty/__inline__/table";
|
31
|
+
@import "pooleparty/__inline__/footer";
|
32
|
+
@import "pooleparty/__inline__/footnotes";
|
33
|
+
@import "pooleparty/__inline__/code";
|
34
|
+
@import "pooleparty/__inline__/posts";
|
35
|
+
@import "pooleparty/__inline__/related";
|
36
|
+
@import "pooleparty/__inline__/read-more";
|
37
|
+
@import "pooleparty/__inline__/message";
|
38
|
+
@import "pooleparty/__inline__/pagination";
|
42
39
|
|
43
|
-
@import "hydejack/
|
44
|
-
@import "hydejack/
|
45
|
-
@import "hydejack/
|
46
|
-
@import "hydejack/
|
47
|
-
@import "hydejack/
|
48
|
-
@import "hydejack/
|
49
|
-
@import "hydejack/
|
50
|
-
@import "hydejack/
|
51
|
-
@import "hydejack/
|
52
|
-
@import "hydejack/
|
53
|
-
@import "hydejack/
|
40
|
+
@import "hydejack/__inline__/base";
|
41
|
+
@import "hydejack/__inline__/utilities";
|
42
|
+
@import "hydejack/__inline__/links";
|
43
|
+
@import "hydejack/__inline__/images";
|
44
|
+
@import "hydejack/__inline__/sidebar";
|
45
|
+
@import "hydejack/__inline__/social";
|
46
|
+
@import "hydejack/__inline__/menu";
|
47
|
+
@import "hydejack/__inline__/content";
|
48
|
+
@import "hydejack/__inline__/avatar";
|
49
|
+
@import "hydejack/__inline__/katex";
|
50
|
+
@import "hydejack/__inline__/footer";
|
54
51
|
|
55
52
|
@import "my-inline";
|
56
53
|
// @import "my-style";
|