jekyll-theme-hydejack 6.6.1 → 7.0.0.pre.beta.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +617 -17
  3. data/README.md +18 -11
  4. data/_includes/about.html +3 -2
  5. data/_includes/author.html +18 -11
  6. data/_includes/avatar-tag.html +4 -0
  7. data/_includes/body.html +21 -31
  8. data/_includes/body/menu.html +11 -0
  9. data/_includes/body/scripts.html +18 -0
  10. data/_includes/comments.html +6 -4
  11. data/_includes/footer.html +3 -5
  12. data/_includes/head.html +4 -142
  13. data/_includes/head/links.html +25 -0
  14. data/_includes/head/meta.html +30 -0
  15. data/_includes/head/scripts.html +44 -0
  16. data/_includes/head/seo-fallback.html +13 -0
  17. data/_includes/head/seo-tag.html +4 -0
  18. data/_includes/head/styles.html +24 -0
  19. data/_includes/header.txt +1 -1
  20. data/_includes/link.html +9 -2
  21. data/_includes/message.html +12 -7
  22. data/_includes/my-scripts.html +14 -5
  23. data/_includes/nav.html +20 -13
  24. data/_includes/page-style.html +33 -3
  25. data/_includes/pagination.html +8 -12
  26. data/_includes/post-list-item.html +4 -6
  27. data/_includes/post.html +20 -13
  28. data/_includes/related-posts.html +23 -0
  29. data/_includes/scripts/load-disqus.js +1 -2
  30. data/_includes/scripts/load-disqus.min.js +1 -1
  31. data/_includes/scripts/load-js-deferred.js +47 -43
  32. data/_includes/scripts/load-js-deferred.min.js +1 -1
  33. data/_includes/sidebar.html +25 -14
  34. data/_includes/social-list-item.html +1 -1
  35. data/_includes/social.html +16 -10
  36. data/_includes/srcset-img.html +5 -5
  37. data/_includes/styles/inline.scss +31 -33
  38. data/_includes/styles/style.scss +69 -55
  39. data/_includes/tag-list.html +1 -1
  40. data/_includes/templates.html +32 -0
  41. data/_layouts/about.html +10 -3
  42. data/_layouts/base.html +17 -10
  43. data/_layouts/compress.html +3 -11
  44. data/_layouts/default.html +7 -5
  45. data/_layouts/home.html +7 -5
  46. data/_layouts/list.html +10 -4
  47. data/_layouts/not-found.html +14 -5
  48. data/_layouts/page.html +1 -1
  49. data/_layouts/post.html +12 -2
  50. data/_layouts/redirect.html +1 -1
  51. data/_sass/_mixins.scss +9 -3
  52. data/_sass/_reboot-mod.scss +286 -0
  53. data/_sass/_spinner.scss +23 -80
  54. data/_sass/_syntax.scss +1 -1
  55. data/_sass/_variables.scss +9 -11
  56. data/_sass/hydejack/__inline/_avatar.scss +27 -0
  57. data/_sass/hydejack/__inline/_base.scss +99 -0
  58. data/_sass/hydejack/__inline/_break-layout.scss +12 -0
  59. data/_sass/hydejack/__inline/_content.scss +43 -0
  60. data/_sass/hydejack/__inline/_footer.scss +12 -0
  61. data/_sass/hydejack/__inline/_katex.scss +12 -0
  62. data/_sass/hydejack/__inline/_mark-external.scss +36 -0
  63. data/_sass/hydejack/__inline/_menu.scss +50 -0
  64. data/_sass/hydejack/__inline/_sidebar.scss +129 -0
  65. data/_sass/hydejack/__inline/_social.scss +42 -0
  66. data/_sass/hydejack/__link/_avatar.scss +17 -0
  67. data/_sass/hydejack/__link/_base.scss +93 -0
  68. data/_sass/hydejack/__link/_break-layout.scss +69 -0
  69. data/_sass/hydejack/__link/_content.scss +12 -0
  70. data/_sass/hydejack/__link/_footer.scss +26 -0
  71. data/_sass/hydejack/__link/_katex.scss +45 -0
  72. data/_sass/hydejack/__link/_mark-external.scss +36 -0
  73. data/_sass/hydejack/__link/_menu.scss +37 -0
  74. data/_sass/hydejack/__link/_sidebar.scss +156 -0
  75. data/_sass/hydejack/__link/_social.scss +12 -0
  76. data/_sass/hydejack/_avatar.pre.scss +18 -0
  77. data/_sass/hydejack/_base.pre.scss +133 -0
  78. data/_sass/hydejack/_break-layout.pre.scss +58 -0
  79. data/_sass/hydejack/{_content-inline.scss → _content.pre.scss} +5 -5
  80. data/_sass/hydejack/{_footer-inline.scss → _footer.pre.scss} +2 -5
  81. data/_sass/hydejack/{_katex.scss → _katex.pre.scss} +6 -3
  82. data/_sass/hydejack/_mark-external.pre.scss +25 -0
  83. data/_sass/hydejack/_menu.pre.scss +53 -0
  84. data/_sass/hydejack/_sidebar.pre.scss +188 -0
  85. data/_sass/hydejack/{_social-inline.scss → _social.pre.scss} +6 -11
  86. data/_sass/pooleparty/{_base-inline.scss → __inline/_base.scss} +15 -17
  87. data/_sass/pooleparty/__inline/_code.scss +17 -0
  88. data/_sass/pooleparty/__inline/_footer.scss +12 -0
  89. data/_sass/pooleparty/__inline/_footnotes.scss +16 -0
  90. data/_sass/pooleparty/__inline/_message.scss +26 -0
  91. data/_sass/pooleparty/__inline/_pagination.scss +17 -0
  92. data/_sass/pooleparty/__inline/_posts.scss +41 -0
  93. data/_sass/pooleparty/__inline/_related.scss +25 -0
  94. data/_sass/pooleparty/__inline/_table.scss +39 -0
  95. data/_sass/pooleparty/__inline/_type.scss +83 -0
  96. data/_sass/pooleparty/__link/_base.scss +26 -0
  97. data/_sass/pooleparty/__link/_code.scss +54 -0
  98. data/_sass/pooleparty/__link/_footer.scss +12 -0
  99. data/_sass/pooleparty/__link/_footnotes.scss +57 -0
  100. data/_sass/pooleparty/__link/_message.scss +17 -0
  101. data/_sass/pooleparty/__link/_pagination.scss +78 -0
  102. data/_sass/pooleparty/__link/_posts.scss +30 -0
  103. data/_sass/pooleparty/__link/_related.scss +14 -0
  104. data/_sass/pooleparty/{_table.scss → __link/_table.scss} +71 -46
  105. data/_sass/pooleparty/__link/_type.scss +144 -0
  106. data/_sass/pooleparty/_base.pre.scss +54 -0
  107. data/_sass/pooleparty/_code.pre.scss +43 -0
  108. data/_sass/pooleparty/_footer.pre.scss +1 -0
  109. data/_sass/pooleparty/{_footnotes.scss → _footnotes.pre.scss} +17 -4
  110. data/_sass/pooleparty/{_message-inline.scss → _message.pre.scss} +2 -0
  111. data/_sass/pooleparty/{_pagination.scss → _pagination.pre.scss} +7 -6
  112. data/_sass/pooleparty/{_posts-inline.scss → _posts.pre.scss} +16 -15
  113. data/_sass/pooleparty/{_related-inline.scss → _related.pre.scss} +5 -6
  114. data/_sass/pooleparty/_table.pre.scss +161 -0
  115. data/_sass/pooleparty/_type.pre.scss +198 -0
  116. data/assets/icomoon/fonts/icomoon.eot +0 -0
  117. data/assets/icomoon/fonts/icomoon.svg +9 -3
  118. data/assets/icomoon/fonts/icomoon.ttf +0 -0
  119. data/assets/icomoon/fonts/icomoon.woff +0 -0
  120. data/assets/icomoon/selection.json +250 -76
  121. data/assets/icomoon/style.css +26 -8
  122. data/assets/icons/apple-touch-icon.png +0 -0
  123. data/assets/icons/favicon.ico +0 -0
  124. data/assets/icons/icon.png +0 -0
  125. data/assets/icons/icon@0,25x.png +0 -0
  126. data/assets/icons/icon@0,5x.png +0 -0
  127. data/assets/icons/icon@0,75x.png +0 -0
  128. data/assets/icons/icon@2x.png +0 -0
  129. data/assets/icons/icon@3x.png +0 -0
  130. data/assets/icons/tile-large.png +0 -0
  131. data/assets/icons/tile-medium.png +0 -0
  132. data/assets/icons/tile-small.png +0 -0
  133. data/assets/icons/tile-wide.png +0 -0
  134. data/assets/ieconfig.xml +15 -0
  135. data/assets/img/sidebar-bg.jpg +0 -0
  136. data/assets/js/hydejack.js +2 -2
  137. data/assets/manifest.json +45 -0
  138. data/assets/version.json +1 -1
  139. data/licenses/Apache-2.0.md +55 -47
  140. data/licenses/GPL-3.0.md +623 -0
  141. data/licenses/MIT.md +1 -0
  142. data/licenses/PRO.md +142 -0
  143. metadata +103 -99
  144. data/_includes/related.html +0 -41
  145. data/_includes/scripts.html +0 -17
  146. data/_sass/hydejack/_base-inline.scss +0 -143
  147. data/_sass/hydejack/_base.scss +0 -143
  148. data/_sass/hydejack/_drawer-inline.scss +0 -19
  149. data/_sass/hydejack/_drawer.scss +0 -19
  150. data/_sass/hydejack/_me-inline.scss +0 -24
  151. data/_sass/hydejack/_menu-inline.scss +0 -56
  152. data/_sass/hydejack/_menu.scss +0 -56
  153. data/_sass/hydejack/_sidebar-inline.scss +0 -118
  154. data/_sass/hydejack/_sidebar.scss +0 -115
  155. data/_sass/hydejack/_social.scss +0 -36
  156. data/_sass/hydejack/_toc.scss +0 -2
  157. data/_sass/pooleparty/_base.scss +0 -60
  158. data/_sass/pooleparty/_code.scss +0 -82
  159. data/_sass/pooleparty/_footer-inline.scss +0 -3
  160. data/_sass/pooleparty/_posts.scss +0 -41
  161. data/_sass/pooleparty/_table-inline.scss +0 -130
  162. data/_sass/pooleparty/_type-inline.scss +0 -124
  163. data/_sass/pooleparty/_type.scss +0 -124
  164. data/assets/icomoon/Read Me.txt +0 -7
  165. data/assets/icomoon/demo-files/demo.css +0 -152
  166. data/assets/icomoon/demo-files/demo.js +0 -30
  167. data/assets/icomoon/demo.html +0 -1206
  168. data/assets/img/nap.jpg +0 -0
  169. data/assets/img/projects/hyde-v1.jpg +0 -0
  170. data/assets/img/projects/hyde-v1@0,25x.jpg +0 -0
  171. data/assets/img/projects/hyde-v1@0,5x.jpg +0 -0
  172. data/assets/img/projects/hyde-v2.jpg +0 -0
  173. data/assets/img/projects/hyde-v2@0,25x.jpg +0 -0
  174. data/assets/img/projects/hyde-v2@0,5x.jpg +0 -0
  175. data/licenses/PRO-license.md +0 -147
data/README.md CHANGED
@@ -57,16 +57,23 @@ A [portfolio], a [resume] layout and a [welcome] page to feature your favorite p
57
57
 
58
58
  This table details what is and isn't included in each respective version.
59
59
 
60
- | Version | Free | PRO |
61
- |:---------------------------------|:------------------:|:------------------:|
62
- | Blog | ✔ | ✔ |
63
- | Features (see below) | ✔ | ✔ |
64
- | [Portfolio] Layout | | ✔ |
65
- | [Resume] Layout | | ✔ |
66
- | [Welcome] Layout | | ✔ |
67
- | License | [MIT][license] | [PRO] |
68
- | Price | Free | $34 |
69
- | | [**Download on GitHub**][download]<br/> – or – <br/>[**Use the RubyGem**][gem] | [**Buy Now – $34**][buy] [^3] |
60
+ | | Free | PRO |
61
+ |:------------------------------------|:------------------:|:------------------:|
62
+ | Blog | &#x2714; | &#x2714; |
63
+ | Features (see below) | &#x2714; | &#x2714; |
64
+ | [Portfolio] Layout | | &#x2714; |
65
+ | [Resume] Layout | | &#x2714; |
66
+ | [Welcome] Layout | | &#x2714; |
67
+ | Newsletter Subscription Box | | &#x2714; |
68
+ | Form Element Styles | | &#x2714; |
69
+ | Search Functionality | | &#x2714; |
70
+ | Offline Support[^4] | | &#x2714; |
71
+ | Latest issue of "Fishing Quarterly" | | |
72
+ | Three months supply of cat food | | |
73
+ | 10 free scuba diving coupons | | |
74
+ | License | [GPL-3.0][license] | [PRO] |
75
+ | Price | Free | $59 |
76
+ || [**Download on GitHub**][github]<br/> -- or -- <br/>[**Use the RubyGem**][gem] | [Buy Now – $59][buy] [^3] |
70
77
 
71
78
 
72
79
  [^1]: Applies after the initial page load.
@@ -81,7 +88,7 @@ usage of 3rd party plugins.
81
88
 
82
89
  [license]: LICENSE.md
83
90
  [pro]: licenses/PRO-license.md
84
- [docs]: docs/6.6.1/index.md
91
+ [docs]: docs/7.0.0-beta.0/index.md
85
92
 
86
93
  [download]: https://github.com/qwtel/hydejack/releases
87
94
  [gem]: https://rubygems.org/gems/jekyll-theme-hydejack
@@ -1,7 +1,8 @@
1
1
  {% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] | default:site.author %}
2
2
 
3
3
  {% if author.about %}
4
- <aside class="author" role="complementary">
5
- {% include author.html author=author heading='About' heading_tag='h2' %}
4
+ <aside class="author related mb4" role="complementary">
5
+ {% assign about_heading = site.data.strings.about | default:"About" %}
6
+ {% include author.html author=author heading=about_heading heading_tag='h2' %}
6
7
  </aside>
7
8
  {% endif %}
@@ -1,17 +1,24 @@
1
+ {% assign plugins = site.plugins | default:site.gems %}
2
+
1
3
  <div class="author">
2
- {% if include.author.picture %}
3
- {% include srcset-img.html class="me" img=include.author.picture alt=include.author.name %}
4
+ {% assign author = include.author %}
5
+
6
+ {% if author.picture %}
7
+ {% include srcset-img.html class="avatar" img=author.picture alt=author.name %}
8
+ {% elsif plugins contains 'jekyll-avatar' %}
9
+ {% assign avatar = author.social.github | default:author.github.username | default:author.github %}
10
+ {% include avatar-tag.html user=avatar %}
4
11
  {% endif %}
5
12
 
6
- <{{ include.heading_tag | default:'h2' }} class="page-title hr">
7
- {{ include.heading | default:include.author.name }}
8
- </{{ include.heading_tag | default:'h2' }}>
13
+ {% assign heading_tag = include.heading_tag | default:'h2' %}
14
+ {% assign heading_id = include.heading_id %}
15
+ <{{ heading_tag }} {% if heading_id %}id="{{ heading_id }}"{% endif %} class="page-title hr">
16
+ {{ include.heading | default:author.name }}
17
+ </{{ heading_tag }}>
9
18
 
10
- {{ include.author.about | markdownify }}
19
+ {{ .author.about | markdownify }}
11
20
 
12
- {% if include.author.social %}
13
- <div class="sidebar-social">
14
- {% include social.html social=include.author.social %}
15
- </div>
16
- {% endif %}
21
+ <div class="sidebar-social">
22
+ {% include social.html author=author %}
23
+ </div>
17
24
  </div>
@@ -0,0 +1,4 @@
1
+ {% comment %}<!--
2
+ Including `avatar` in a partial prevents a parse error when `jekyll-avatar` is not included.
3
+ -->{% endcomment %}
4
+ {% avatar user=include.user size=128 %}
@@ -1,34 +1,24 @@
1
- {% comment %}---------------------------
2
- MENU
3
- ------------------------{% endcomment %}
4
- <div class="navbar fixed-top">
5
- <div class="content">
6
- <span class="sr-only">Jump to:</span>
7
- <a id="_menu" class="menu no-hover" href="#_title">
8
- <span class="sr-only">Menu</span>
9
- </a>
10
- </div>
11
- </div>
1
+ {% include body/menu.html %}
12
2
 
13
- {% comment %}---------------------------
14
- CONTENT
15
- ------------------------{% endcomment %}
16
- <div id="_yPushState">
17
- <div class="fade-in">
18
- <main id="_main" class="content" role="main" data-color="{{ color | escape }}" data-image="{{ image | escape }}">
19
- {{ content }}
20
-
21
- {% if site.disqus_shortname and page.comments %}
22
- {% include comments.html %}
23
- {% endif %}
24
-
25
- {% include footer.html %}
26
- </main>
27
- </div>
3
+ <hy-push-state>
4
+ <main
5
+ id="_main"
6
+ class="content fade-in layout-{{ page.layout }}"
7
+ role="main"
8
+ data-color="{{ color | escape }}"
9
+ {% unless image.background %}
10
+ data-image="{{ image | escape }}"
11
+ {% if image != 'none' %}data-overlay{% endif %}
12
+ {% else %}
13
+ data-background="{{ image.background | escape }}"
14
+ {% if image.overlay %}data-overlay{% endif %}
15
+ {% endunless %}
16
+ >
17
+ {{ content }}
18
+ {% include comments.html %}
19
+ {% include footer.html %}
20
+ </main>
28
21
  {% include sidebar.html %}
29
- </div>
22
+ </hy-push-state>
30
23
 
31
- {% comment %}---------------------------
32
- SCRIPTS
33
- ------------------------{% endcomment %}
34
- {% include scripts.html %}
24
+ {% include body/scripts.html %}
@@ -0,0 +1,11 @@
1
+ <div class="navbar fixed-top">
2
+ <div class="content">
3
+ <div class="nav-btn-bar">
4
+ <span class="sr-only">{{ site.data.strings.jump_to | default:"Jump to" }}{{ site.data.strings.colon }}</span>
5
+ <a id="_menu" class="nav-btn no-hover" href="#_title">
6
+ <span class="sr-only">{{ site.data.strings.navigation | default:"Navigation" }}</span>
7
+ <span class="icon-menu"></span>
8
+ </a>
9
+ </div>
10
+ </div>
11
+ </div>
@@ -0,0 +1,18 @@
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
+ ga('create', '{{ site.google_analytics }}', 'auto');
6
+ ga('send', 'pageview');
7
+ loadJSDeferred('https://www.google-analytics.com/analytics.js');
8
+ </script>
9
+ {% endif %}
10
+
11
+ <!--[if gt IE 9]><!---->
12
+ {% capture js_url %}{% link assets/js/hydejack.js %}?v=7.0.0-beta.0{% endcapture %}
13
+ <script>loadJSDeferred('{{ js_url | relative_url }}');</script>
14
+
15
+ {% include my-scripts.html %}
16
+
17
+ <!--<![endif]-->
18
+ {% endunless %}
@@ -1,11 +1,13 @@
1
- <aside class="comments" role="complementary">
2
- <h2>Comments</h2>
3
- <hr/>
1
+ {% assign disqus = site.disqus | default:site.disqus_shortname %}
2
+ {% if disqus and page.comments %}
3
+ <aside class="comments related" role="complementary">
4
+ <h2 class="hr">{{ site.data.strings.comments | default:"Comments" }}</h2>
4
5
 
5
6
  <div id="disqus_thread"></div>
6
7
 
7
8
  <script>
8
- {% include scripts/load-disqus.min.js %}
9
+ {% include scripts/load-disqus.min.js disqus=disqus %}
9
10
  </script>
10
11
  <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
11
12
  </aside>
13
+ {% endif %}
@@ -1,9 +1,7 @@
1
- <footer>
1
+ <footer role="contentinfo">
2
2
  <hr/>
3
3
  {% if site.copyright.size > 0 %}
4
- {{ site.copyright | markdownify }}
4
+ <p><small class="copyright">{{ site.copyright }}</small></p>
5
5
  {% endif %}
6
- <p>
7
- <code>Powered by <a href="https://qwtel.com/hydejack/">Hydejack</a> v<span id="_version">6.6.1</span></code>
8
- </p>
6
+ <p><small>Powered by <a href="https://qwtel.com/hydejack/">Hydejack</a> v<span id="_version">7.0.0-beta.0</span></small></p>
9
7
  </footer>
@@ -1,143 +1,5 @@
1
- {% comment %}---------------------------
2
- META
3
- ------------------------{% endcomment %}
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <meta name="format-detection" content="telephone=no">
7
- <meta http-equiv="x-ua-compatible" content="ie=edge">
8
-
9
- {% capture title %}
10
- {% if page.url == "/" %}
11
- {{ site.title }}{% if site.tagline %} &middot; {{ site.tagline }}{% endif %}
12
- {% elsif page.title.size > 0 %}
13
- {{ page.title }} &middot; {{ site.title }}
14
- {% else %}
15
- {{ site.title }}
16
- {% endif %}
17
- {% endcapture %}
18
-
19
- {% unless page.redirect %}
20
- <title>{{ title | strip }}</title>
21
- {% else %}
22
- <meta http-equiv="refresh" content="0; url={{ page.redirect.to }}">
23
- <title>Redirecting...</title>
24
- {% endunless %}
25
-
26
- {% if page.description.size > 0 %}
27
- {% assign description = page.description | markdownify %}
28
- {% elsif page.excerpt.size > 0 %}
29
- {% assign description = page.excerpt %}
30
- {% else %}
31
- {% assign description = site.description | markdownify %}
32
- {% endif %}
33
- <meta name="description" content="{{ description | strip_html | truncatewords:50 }}">
34
-
35
- {% if site.keywords or page.keywords %}
36
- <meta name="keywords" content="{{ site.keywords | default: page.keywords | join:',' }}">
37
- {% endif %}
38
-
39
- {% comment %}---------------------------
40
- LINKS
41
- ------------------------{% endcomment %}
42
- <link rel="canonical" href="{{ page.url | absolute_url }}">
43
-
44
- <link rel="alternate" type="application/atom+xml" title="{{ site.title }} Feed" href="{{ site.feed.path | default:'feed.xml' | absolute_url }}">
45
-
46
- {% if page.previous %}
47
- <link rel="prev" href="{{ page.previous.url | absolute_url }}">
48
- {% endif %}
49
-
50
- {% if page.next %}
51
- <link rel="next" href="{{ page.next.url | absolute_url }}">
52
- {% endif %}
53
-
54
- <link rel="apple-touch-icon" href="{{ 'apple-touch-icon.png' | relative_url }}">
55
- <!-- Place favicon.ico in the root directory -->
56
-
57
- {% comment %}
58
- The links below are only here because we want to use the `href` property in JS (see `_js/src/katex.js`).
59
- We want to avoid building the URL dynamically in JS, because it depends on your `baseurl` and CDN optimizers can't find and modify it there.
60
- {% endcomment %}
61
- <link id="_katexJS" rel="dns-prefetch" href="{{ '/assets/bower_components/katex/dist/katex.min.js' | relative_url }}">
62
- <link id="_katexCSS" rel="dns-prefetch" href="{{ '/assets/bower_components/katex/dist/katex.min.css' | relative_url }}">
63
-
64
- {% comment %}---------------------------
65
- SCRIPTS
66
- ------------------------{% endcomment %}
67
- <!--[if gt IE 8]><!---->
68
- {% assign google_fonts = site.google_fonts | default:"Roboto+Slab:700|Noto+Sans:400,400i,700,700i" %}
69
- {% capture icons_url %}{% link assets/icomoon/style.css %}{% endcapture %}
70
- <script>
71
- WebFontConfig = {
72
- {% unless site.no_google_fonts %}
73
- google: {
74
- families: '{{ google_fonts }}'.split('|')
75
- },
76
- {% endunless %}
77
-
78
- custom: {
79
- families: ['icomoon'],
80
- urls: ['{{ icons_url | relative_url }}']
81
- }
82
- };
83
- </script>
84
- <!--<![endif]-->
85
-
86
- <script>
87
- {% include scripts/load-js-deferred.min.js %}
88
- {% include scripts/loadCSS.min.js %}
89
- {% include scripts/cssrelpreload.min.js %}
90
- window.disablePushState = {{ site.disable_push_state | default:false}};
91
- window.disableDrawer = {{ site.disable_drawer | default:false}};
92
- </script>
93
-
94
- <!--[if lt IE 9]>
95
- <script src="{{ '/assets/bower_components/html5shiv/dist/html5shiv.min.js' | relative_url }}"></script>
96
- <![endif]-->
97
-
98
- {% comment %}---------------------------
99
- STYLES
100
- ------------------------{% endcomment %}
101
- <!--[if gt IE 8]><!---->
102
- <style>
103
- {% capture include_to_scssify %}
104
- {% include styles/inline.scss %}
105
- {% endcapture %}
106
- {{ include_to_scssify | scssify }}
107
- </style>
108
-
109
- {% capture style_url %}{% link assets/css/hydejack.css %}?v=6.6.1{% endcapture %}
110
- <link id="_stylePreload" rel="preload" as="style" href="{{ style_url | relative_url }}">
111
- <script>document.getElementById('_stylePreload').onload=function(){this.rel='stylesheet'}</script>
112
-
113
- {% include page-style.html %}
114
-
115
- <noscript>
116
- <link rel="stylesheet" href="{{ style_url | relative_url }}">
117
-
118
- {% assign font = site.font | default:"'Noto Sans', Helvetica, Arial, sans-serif" %}
119
- {% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
120
- {% assign google_fonts = site.google_fonts | default:"Roboto+Slab:700|Noto+Sans:400,400i,700,700i" %}
121
-
122
- {% unless site.no_google_fonts %}
123
- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family={{ google_fonts }}">
124
- <style>
125
- html { font-family: {{ font }} }
126
- h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: {{ font_heading }} }
127
- </style>
128
- {% endunless %}
129
-
130
- {% capture icons_url %}{% link assets/icomoon/style.css %}{% endcapture %}
131
- <link rel="stylesheet" href="{{ icons_url | relative_url }}">
132
- </noscript>
133
- <!--<![endif]-->
134
-
135
- {% comment %}---------------------------
136
- CUSTOMIZATION
137
- ------------------------{% endcomment %}
138
-
1
+ {% include head/meta.html %}
2
+ {% include head/links.html %}
3
+ {% include head/scripts.html %}
4
+ {% include head/styles.html %}
139
5
  {% include my-head.html %}
140
-
141
- <!--[if gt IE 8]><!---->
142
- <script async src="{{ '/assets/bower_components/webfontloader/webfontloader.js' | relative_url }}"></script>
143
- <!--<![endif]-->
@@ -0,0 +1,25 @@
1
+ {% comment %}<!-- Canonical link will be generated by SEO tag -->{% endcomment %}
2
+ <link rel="alternate" type="application/atom+xml" title="{{ site.title }} Feed" href="{{ site.feed.path | default:'feed.xml' | absolute_url }}">
3
+
4
+ {% assign lang = page.lang | default:site.lang | default:'en' %}
5
+ <link rel="alternate" href="{{ page.url | absolute_url }}" hreflang="{{ lang | downcase | replace:'_','-' }}">
6
+
7
+ <link rel="shortcut icon" href="{{ '/assets/icons/favicon.ico' | relative_url }}">
8
+ <link rel="apple-touch-icon" href="{{ '/assets/icons/apple-touch-icon.png' | relative_url }}">
9
+
10
+ <link rel="manifest" href="{{ '/assets/manifest.json' | relative_url }}">
11
+
12
+ {% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
13
+ <link rel="dns-prefetch" href="https://fonts.googleapis.com">
14
+ <link rel="dns-prefetch" href="https://fonts.gstatic.com">
15
+ {% endunless %}
16
+ {% if site.google_analytics %}
17
+ <link rel="dns-prefetch" href="https://www.google-analytics.com">
18
+ {% endif %}
19
+
20
+ {% comment %}<!--
21
+ The links below are here so that we can use their `href` in JS (see `_js/src/katex.js`).
22
+ This way, CDN optimizers or other tools can modify the URL and we avoid hard-coding it in JavaScript.
23
+ -->{% endcomment %}
24
+ <link id="_katexJS" rel="dns-prefetch" href="{{ '/assets/bower_components/katex/dist/katex.min.js' | relative_url }}">
25
+ <link id="_katexCSS" rel="dns-prefetch" href="{{ '/assets/bower_components/katex/dist/katex.min.css' | relative_url }}">
@@ -0,0 +1,30 @@
1
+ <meta charset="utf-8">
2
+ <meta name="viewport" content="width=device-width, initial-scale=1">
3
+ <meta http-equiv="x-ua-compatible" content="ie=edge">
4
+
5
+ {% unless page.redirect %}
6
+ {% if plugins contains 'jekyll-seo-tag' %}{% include head/seo-tag.html %}
7
+ {% else %}{% include head/seo-fallback.html %}{% endif %}
8
+
9
+ {% if site.keywords or page.keywords %}
10
+ <meta name="keywords" content="{{ page.keywords | default:site.keywords | join:',' }}">
11
+ {% endif %}
12
+ {% else %}
13
+ <meta http-equiv="refresh" content="0; url={{ page.redirect.to }}">
14
+ <title>{{ site.data.strings.redirecting | default:"Redirecting..." }}</title>
15
+ {% endunless %}
16
+
17
+ <meta name="mobile-web-app-capable" content="yes">
18
+
19
+ <meta name="apple-mobile-web-app-capable" content="yes">
20
+ <meta name="apple-mobile-web-app-title" content="{{ site.title }}">
21
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
22
+
23
+ <meta name="application-name" content="{{ site.title }}">
24
+ <meta name="msapplication-config" content="{{ '/assets/ieconfig.xml' | relative_url }}">
25
+
26
+ {% unless site.hydejack.no_theme_color %}
27
+ <meta name="theme-color" content="{{ color | default:'#4fb1ba' }}">
28
+ {% endunless %}
29
+
30
+ <meta name="generator" content="Hydejack v7.0.0-beta.0" />
@@ -0,0 +1,44 @@
1
+ <script>
2
+ {% include scripts/load-js-deferred.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
+ </script>
6
+
7
+ <!--[if gt IE 8]><!---->
8
+ {% assign google_fonts = site.google_fonts | default:"Roboto+Slab:700|Noto+Sans:400,400i,700,700i" %}
9
+ {% capture icons_url %}{% link assets/icomoon/style.css %}{% endcapture %}
10
+ <script>
11
+ WebFontConfig = {
12
+ {% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
13
+ google: {
14
+ families: ['{{ google_fonts | split:"|" | join:"','" }}']
15
+ },
16
+ {% endunless %}
17
+
18
+ custom: {
19
+ families: ['icomoon'],
20
+ urls: ['{{ icons_url | relative_url }}']
21
+ }
22
+ };
23
+ (function(d) {
24
+ var wf = d.createElement('script'), s = d.scripts[0];
25
+ wf.src = "{{ '/assets/bower_components/webfontloader/webfontloader.js' | relative_url }}";
26
+ s.parentNode.insertBefore(wf, s);
27
+ }(document));
28
+ </script>
29
+ <!--<![endif]-->
30
+
31
+ <noscript>
32
+ {% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
33
+ {% assign font = site.font | default:"'Noto Sans', Helvetica, Arial, sans-serif" %}
34
+
35
+ {% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
36
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css?family={{ google_fonts | uri_escape }}">
37
+ <style>
38
+ html { font-family: {{ font }} }
39
+ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: {{ font_heading }} }
40
+ </style>
41
+ {% endunless %}
42
+
43
+ <link rel="stylesheet" href="{{ icons_url | relative_url }}">
44
+ </noscript>