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.
Files changed (142) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -19
  3. data/_includes/body/analytics.html +16 -9
  4. data/_includes/body/comments.html +2 -4
  5. data/_includes/body/footer.html +1 -1
  6. data/_includes/body/menu.html +2 -2
  7. data/_includes/body/scripts.html +11 -3
  8. data/_includes/body/sidebar.html +1 -1
  9. data/_includes/components/hy-img.html +3 -3
  10. data/_includes/head/links.html +11 -9
  11. data/_includes/head/meta.html +1 -1
  12. data/_includes/head/page-style.html +2 -3
  13. data/_includes/head/scripts.html +15 -15
  14. data/_includes/head/styles.html +1 -1
  15. data/_includes/header.txt +1 -1
  16. data/_includes/my-comments.html +24 -0
  17. data/_includes/styles/inline.scss +24 -27
  18. data/_includes/styles/style.scss +27 -30
  19. data/_includes/templates/back.html +1 -1
  20. data/_includes/templates/index.html +2 -2
  21. data/_includes/templates/loading.html +1 -1
  22. data/_includes/templates/{cookies-banner.html → pro/cookies-banner.html} +2 -2
  23. data/_layouts/base.html +4 -4
  24. data/_layouts/compress.html +1 -1
  25. data/_sass/_mixins.scss +23 -12
  26. data/_sass/_syntax.scss +131 -67
  27. data/_sass/_variables.scss +4 -7
  28. data/_sass/hydejack/{__inline → __inline__}/_avatar.scss +1 -1
  29. data/_sass/hydejack/{__inline → __inline__}/_base.scss +2 -2
  30. data/_sass/hydejack/{__inline → __inline__}/_break-layout.scss +1 -1
  31. data/_sass/hydejack/{__inline → __inline__}/_content.scss +2 -2
  32. data/_sass/hydejack/{__inline → __inline__}/_footer.scss +1 -1
  33. data/_sass/hydejack/{__inline → __inline__}/_images.scss +2 -2
  34. data/_sass/hydejack/{__inline → __inline__}/_katex.scss +1 -1
  35. data/_sass/hydejack/{__inline → __inline__}/_links.scss +4 -4
  36. data/_sass/hydejack/{__link → __inline__}/_mark-external.scss +1 -1
  37. data/_sass/hydejack/{__inline → __inline__}/_menu.scss +18 -16
  38. data/_sass/hydejack/{__inline → __inline__}/_sidebar.scss +2 -2
  39. data/_sass/hydejack/{__inline → __inline__}/_social.scss +1 -1
  40. data/_sass/hydejack/{__inline → __inline__}/_utilities.scss +6 -3
  41. data/_sass/hydejack/{__link → __link__}/_avatar.scss +1 -1
  42. data/_sass/hydejack/{__link → __link__}/_base.scss +1 -1
  43. data/_sass/hydejack/{__link → __link__}/_break-layout.scss +1 -1
  44. data/_sass/hydejack/{__link → __link__}/_content.scss +1 -1
  45. data/_sass/hydejack/{__link → __link__}/_footer.scss +2 -2
  46. data/_sass/hydejack/{__link → __link__}/_images.scss +7 -5
  47. data/_sass/hydejack/{__link → __link__}/_katex.scss +6 -11
  48. data/_sass/hydejack/{__link → __link__}/_links.scss +5 -5
  49. data/_sass/hydejack/{__inline → __link__}/_mark-external.scss +1 -1
  50. data/_sass/hydejack/{__link → __link__}/_menu.scss +9 -16
  51. data/_sass/hydejack/{__link → __link__}/_sidebar.scss +1 -2
  52. data/_sass/hydejack/{__link → __link__}/_social.scss +1 -1
  53. data/_sass/hydejack/{__link → __link__}/_utilities.scss +6 -3
  54. data/_sass/hydejack/_base.pre.scss +1 -1
  55. data/_sass/hydejack/_content.pre.scss +1 -1
  56. data/_sass/hydejack/_footer.pre.scss +1 -1
  57. data/_sass/hydejack/_images.pre.scss +6 -4
  58. data/_sass/hydejack/_katex.pre.scss +5 -10
  59. data/_sass/hydejack/_links.pre.scss +4 -4
  60. data/_sass/hydejack/_menu.pre.scss +25 -30
  61. data/_sass/hydejack/_sidebar.pre.scss +1 -2
  62. data/_sass/hydejack/_utilities.pre.scss +5 -2
  63. data/_sass/my-style.scss +9 -0
  64. data/_sass/my-variables.scss +1 -23
  65. data/_sass/pooleparty/{__inline → __inline__}/_base.scss +6 -4
  66. data/_sass/pooleparty/{__inline → __inline__}/_code.scss +1 -1
  67. data/_sass/pooleparty/{__inline → __inline__}/_footer.scss +1 -1
  68. data/_sass/pooleparty/{__inline → __inline__}/_footnotes.scss +1 -1
  69. data/_sass/pooleparty/{__inline → __inline__}/_message.scss +4 -3
  70. data/_sass/pooleparty/{__inline → __inline__}/_pagination.scss +1 -1
  71. data/_sass/pooleparty/{__inline → __inline__}/_posts.scss +2 -2
  72. data/_sass/pooleparty/{__inline → __inline__}/_read-more.scss +1 -1
  73. data/_sass/pooleparty/{__inline → __inline__}/_related.scss +1 -1
  74. data/_sass/pooleparty/{__inline → __inline__}/_table.scss +3 -2
  75. data/_sass/pooleparty/{__inline → __inline__}/_type.scss +10 -6
  76. data/_sass/pooleparty/{__link → __link__}/_base.scss +1 -1
  77. data/_sass/pooleparty/{__link → __link__}/_code.scss +25 -12
  78. data/_sass/pooleparty/{__link → __link__}/_footer.scss +1 -1
  79. data/_sass/pooleparty/{__link → __link__}/_footnotes.scss +7 -6
  80. data/_sass/pooleparty/{__link → __link__}/_message.scss +1 -1
  81. data/_sass/pooleparty/{__link → __link__}/_pagination.scss +9 -6
  82. data/_sass/pooleparty/{__link → __link__}/_posts.scss +2 -2
  83. data/_sass/pooleparty/{__link → __link__}/_read-more.scss +1 -1
  84. data/_sass/pooleparty/{__link → __link__}/_related.scss +1 -1
  85. data/_sass/pooleparty/{__link → __link__}/_table.scss +13 -9
  86. data/_sass/pooleparty/{__link → __link__}/_type.scss +10 -9
  87. data/_sass/pooleparty/_base.pre.scss +5 -3
  88. data/_sass/pooleparty/_code.pre.scss +24 -11
  89. data/_sass/pooleparty/_footnotes.pre.scss +6 -5
  90. data/_sass/pooleparty/_message.pre.scss +3 -2
  91. data/_sass/pooleparty/_pagination.pre.scss +8 -5
  92. data/_sass/pooleparty/_posts.pre.scss +2 -2
  93. data/_sass/pooleparty/_table.pre.scss +14 -9
  94. data/_sass/pooleparty/_type.pre.scss +18 -13
  95. data/assets/css/{hydejack-8.0.0.css → hydejack-8.1.0.css} +0 -0
  96. data/assets/icomoon/fonts/icomoon.eot +0 -0
  97. data/assets/icomoon/fonts/icomoon.svg +3 -0
  98. data/assets/icomoon/fonts/icomoon.ttf +0 -0
  99. data/assets/icomoon/fonts/icomoon.woff +0 -0
  100. data/assets/icomoon/selection.json +91 -10
  101. data/assets/icomoon/style.css +14 -5
  102. data/assets/img/{COLOURlovers.com-Hydejack.png → blog/COLOURlovers.com-Hydejack.png} +0 -0
  103. data/assets/img/blog/blog-layout.jpg +0 -0
  104. data/assets/img/{caleb-george-old.jpg → blog/caleb-george-old.jpg} +0 -0
  105. data/assets/img/{caleb-george.jpg → blog/caleb-george.jpg} +0 -0
  106. data/assets/img/blog/cover-page.jpg +0 -0
  107. data/assets/img/blog/dark-mode.jpg +0 -0
  108. data/assets/img/{example-content-ii.jpg → blog/example-content-ii.jpg} +0 -0
  109. data/assets/img/{example-content-iii.jpg → blog/example-content-iii.jpg} +0 -0
  110. data/assets/img/blog/hydejack-8.png +0 -0
  111. data/assets/img/blog/hydejack-8@0,25x.png +0 -0
  112. data/assets/img/blog/hydejack-8@0,5x.png +0 -0
  113. data/assets/img/blog/lazy-images.jpg +0 -0
  114. data/assets/img/blog/resume.png +0 -0
  115. data/assets/img/blog/w3m.png +0 -0
  116. data/assets/js/hydejack-8.1.0.js +46 -0
  117. data/assets/js/sw.js +3 -3
  118. data/assets/version.json +1 -1
  119. data/assets/video/blog-layout.mp4 +0 -0
  120. data/assets/video/cover-page.mp4 +0 -0
  121. data/assets/video/dark-mode.mp4 +0 -0
  122. data/assets/video/lazy-images.mp4 +0 -0
  123. metadata +72 -76
  124. data/assets/bower_components/fontfaceobserver/test/assets/index.html +0 -8
  125. data/assets/bower_components/fontfaceobserver/test/assets/late.css +0 -1
  126. data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.eot +0 -0
  127. data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.ttf +0 -0
  128. data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.woff +0 -0
  129. data/assets/bower_components/fontfaceobserver/test/assets/subset.eot +0 -0
  130. data/assets/bower_components/fontfaceobserver/test/assets/subset.ttf +0 -0
  131. data/assets/bower_components/fontfaceobserver/test/assets/subset.woff +0 -0
  132. data/assets/bower_components/fontfaceobserver/test/deps.js +0 -5
  133. data/assets/bower_components/fontfaceobserver/test/index.html +0 -97
  134. data/assets/bower_components/fontfaceobserver/test/observer-test.js +0 -465
  135. data/assets/bower_components/fontfaceobserver/test/ruler-test.js +0 -112
  136. data/assets/img/default-1.jpg +0 -0
  137. data/assets/img/hydejack-8.jpg +0 -0
  138. data/assets/img/hydejack-8@0,25x.jpg +0 -0
  139. data/assets/img/hydejack-8@0,5x.jpg +0 -0
  140. data/assets/img/resume.png +0 -0
  141. data/assets/img/w3m.png +0 -0
  142. 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: 975665c41d618887d2afcc15ec904b5116714682
4
- data.tar.gz: f3cb153ded0a15f3fcfe16fc0f1712c74d11a9c8
3
+ metadata.gz: d78aae92cc731b703480a50915a7ecde7dee7ef5
4
+ data.tar.gz: ebb8f52a142083bfaff6ee3a04147a4941cff2cb
5
5
  SHA512:
6
- metadata.gz: fad6141a332020bfd7dade9f48d3a43c4c36b3a4d5af141e5604a7291b53721fb078840b40615a88c77942c8bbee84d9c1a5a0cdc6a898fc4794e16e0baddb17
7
- data.tar.gz: 7408eb629862fa4ad0b314b6bf2ecf4d8701b08a0e223793be4ce8ce682acfb1ea5c33264475a3297259b7c92b8c0376860fdc921503dafad6be8a044aba02b8
6
+ metadata.gz: a75d81d88e30b329edcb9fd576fdd2959125f9617f5981ac188bd6b0e869b4d5f0363bd0b4a91ca144693389684bd3b37829eeacaf1a7c2763a6de252b646e5a
7
+ data.tar.gz: a0967aed8dd8114704522c4bfea80a786a86bde4f8380f3bc88ee29cfce35ebbeb9acd737f9d72ff7530acbf8c4636e69279e34adcc01d9da90eb0104dd4e82e
data/README.md CHANGED
@@ -1,15 +1,15 @@
1
1
  # Hydejack
2
2
 
3
- > "Best Jekyll Theme by a Mile"
3
+ The "Best Jekyll Theme by a Mile".
4
4
 
5
5
 
6
- ![Screenshot](assets/img/hydejack-8.jpg)
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
- ## The Basics of Blogging
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] | | &#x2714; |
132
132
  | [Newsletter Box][news] | | &#x2714; |
133
133
  | [Custom Forms][forms] | | &#x2714; |
134
+ | Dark Mode | | &#x2714; |
135
+ | Cookie Banner | | &#x2714; |
136
+ | Offline Support | | &#x2714; |
134
137
  | No Hydejack Branding | | &#x2714; |
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/8.0.0/README.md
164
+ [docs]: docs/README.md
162
165
 
163
- [kit]: https://github.com/qwtel/hydejack-starter-kit/archive/v8.0.0.zip
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
- window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
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 (document.cookie.indexOf("hy--cookies-ok=true") > -1) {
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 = document.getElementsByTagName('hy-push-state')[0];
24
+ var pushStateEl = d.getElementsByTagName('hy-push-state')[0];
25
25
  var timeoutId;
26
26
  pushStateEl.addEventListener('hy-push-state-load', function() {
27
- window.clearTimeout(timeoutId);
28
- timeoutId = window.setTimeout(function() {
29
- ga('set', 'page', window.location.pathname);
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
- window.loadJSDeferred('https://www.google-analytics.com/analytics.js');
35
- </script>
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
- {% assign disqus = site.disqus | default:site.disqus_shortname %}
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
- <div id="disqus_thread"></div>
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 %}
@@ -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.0.0</span></small></p>
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 %}
@@ -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>
@@ -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 gt IE 9]><!---->
3
- <script>window.loadJSDeferred(document.getElementById('_hrefJS').href);</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('{{ "sw.js" | relative_url }}')
20
+ navigator.serviceWorker.register(document.getElementById('_hrefSW').href)
13
21
  .then(r => r.update())
14
22
  .catch(() => {});
15
23
  {% else %}
@@ -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 }}" re-ignore />
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 re-ignore {{ attrs }}/></noscript>
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 %}
@@ -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">
@@ -27,4 +27,4 @@
27
27
  <meta name="theme-color" content="{{ theme_color | default:'#193747' }}">
28
28
  {% endunless %}
29
29
 
30
- <meta name="generator" content="Hydejack v8.0.0" />
30
+ <meta name="generator" content="Hydejack v8.1.0" />
@@ -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>
@@ -1,15 +1,15 @@
1
- <script>
2
- {% include scripts/load-js.min.js %}{% include scripts/loadCSS.min.js %}{% include scripts/cssrelpreload.min.js %}
3
- window._noPushState = {{ site.hydejack.no_push_state | default:site.disable_push_state | default:false }};
4
- window._noDrawer = {{ site.hydejack.no_drawer | default:site.disable_drawer | default:false }};
5
- {% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
6
- !function(w, d) {
7
- loadJS(document.getElementById('_hrefFFO').href, function() {
8
- if ('Promise' in w) Promise.all([
9
- new FontFaceObserver('{{ font | split:',' | first }}').load(),
10
- new FontFaceObserver('{{ font_heading | split:',' | first }}').load(),
11
- ]).then(function f() { d.body.className += ' font-active'; }, function() {});
12
- });
13
- }(window, document);
14
- {% endunless %}
15
- </script>
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>
@@ -1,5 +1,5 @@
1
1
  <!--[if gt IE 8]><!---->
2
- {% capture style_url %}{% link assets/css/hydejack-8.0.0.css %}{% endcapture %}
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
 
@@ -9,5 +9,5 @@
9
9
  * /\___/ \ \____/
10
10
  * \/__/ \/___/
11
11
  *
12
- * Powered by Hydejack v8.0.0 <https://hydejack.com/>
12
+ * Powered by Hydejack v8.1.0 <https://hydejack.com/>
13
13
  */
@@ -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
- {% assign font_heading = site.font_heading | default:"Roboto Slab, Helvetica, Arial, sans-serif" %}
22
- {% assign font = site.font | default:"Noto Sans, Helvetica, Arial, sans-serif" %}
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/__inline/base";
32
- @import "pooleparty/__inline/type";
33
- @import "pooleparty/__inline/table";
34
- @import "pooleparty/__inline/footer";
35
- @import "pooleparty/__inline/footnotes";
36
- @import "pooleparty/__inline/code";
37
- @import "pooleparty/__inline/posts";
38
- @import "pooleparty/__inline/related";
39
- @import "pooleparty/__inline/read-more";
40
- @import "pooleparty/__inline/message";
41
- @import "pooleparty/__inline/pagination";
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/__inline/base";
44
- @import "hydejack/__inline/utilities";
45
- @import "hydejack/__inline/links";
46
- @import "hydejack/__inline/images";
47
- @import "hydejack/__inline/sidebar";
48
- @import "hydejack/__inline/social";
49
- @import "hydejack/__inline/menu";
50
- @import "hydejack/__inline/content";
51
- @import "hydejack/__inline/avatar";
52
- @import "hydejack/__inline/katex";
53
- @import "hydejack/__inline/footer";
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";