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
@@ -27,7 +27,7 @@
27
27
  {% endif %}
28
28
 
29
29
  <li>
30
- <a href="{{ url }}" title="{{ name }}">
30
+ <a href="{{ url }}" title="{{ name }}" class="no-mark-external">
31
31
  <span class="{{ icon }}"></span>
32
32
  <span class="sr-only">{{ name }}</span>
33
33
  </a>
@@ -1,14 +1,20 @@
1
- <span class="sr-only">Social:</span>
1
+ <span class="sr-only">{{ site.data.strings.social | default:"Social" }}{{ site.data.strings.colon }}</span>
2
2
  <ul>
3
- {% for link in include.social %}
4
- {% include social-list-item.html platform=link.first username=link.last %}
5
- {% endfor %}
3
+ {% unless include.author.social.twitter %}
4
+ {% assign twitter_username = author.twitter.username | default: author.twitter | default:site.twitter.username | default:site.twitter | default:site.twitter_username %}
5
+ {% if twitter_username %}
6
+ {% include social-list-item.html platform="twitter" username=twitter_username %}
7
+ {% endif %}
8
+ {% endunless %}
6
9
 
7
- {% if site.twitter_username and include.social.twitter == null %}
8
- {% include social-list-item.html platform="twitter" username=site.twitter_username %}
9
- {% endif %}
10
+ {% unless include.author.social.github %}
11
+ {% assign github_username = author.github.username | default: author.github | default:site.github.username | default:site.github | default:site.github_username %}
12
+ {% if github_username %}
13
+ {% include social-list-item.html platform="github" username=github_username %}
14
+ {% endif %}
15
+ {% endunless %}
10
16
 
11
- {% if site.github_username and include.social.github == null %}
12
- {% include social-list-item.html platform="github" username=site.github_username %}
13
- {% endif %}
17
+ {% for link in include.author.social %}
18
+ {% include social-list-item.html platform=link.first username=link.last %}
19
+ {% endfor %}
14
20
  </ul>
@@ -1,23 +1,23 @@
1
- {% if include.img.src or include.img.srcset %}
1
+ {% if include.img.src or include.img.path %}
2
2
  {% assign srcset = null %}
3
3
 
4
4
  {% if include.img.srcset %}
5
- {% capture srcset %}
6
- {% for hash in include.img.srcset %}{{ hash[1]}} {{ hash[0] }}{% unless forloop.last %},{% endunless %}{% endfor %}
7
- {% endcapture %}
5
+ {% capture srcset %}{% for hash in include.img.srcset %}{{ hash[1]}} {{ hash[0] }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
8
6
  {% endif %}
9
7
 
10
8
  <img
11
- src="{{ include.img.src }}"
9
+ src="{{ include.img.src | default:include.img.path }}"
12
10
  {% if include.class %}class="{{ include.class }}"{% endif %}
13
11
  {% if include.alt %}alt="{{ include.alt }}"{% endif %}
14
12
  {% if srcset %}srcset="{{ srcset | strip }}"{% endif %}
15
13
  {% if include.sizes %}sizes="{{ include.sizes }}"{% endif %}
14
+ {% if include.property %}property="{{ include.property }}"{% endif %}
16
15
  />
17
16
  {% else %}
18
17
  <img
19
18
  src="{{ include.img }}"
20
19
  {% if include.class %}class="{{ include.class }}"{% endif %}
21
20
  {% if include.alt %}alt="{{ include.alt }}"{% endif %}
21
+ {% if include.property %}property="{{ include.property }}"{% endif %}
22
22
  />
23
23
  {% endif %}
@@ -1,36 +1,35 @@
1
1
  @import "variables";
2
2
  @import "mixins";
3
3
 
4
- @import "pooleparty/base-inline";
5
- // @import "pooleparty/base";
6
- @import "pooleparty/type-inline";
7
- // @import "pooleparty/type";
8
- @import "pooleparty/table-inline";
9
- // @import "pooleparty/table";
10
- // @import "pooleparty/footnotes";
11
- // @import "pooleparty/code";
12
- @import "pooleparty/footer-inline";
13
- @import "pooleparty/posts-inline";
14
- // @import "pooleparty/posts";
15
- // @import "pooleparty/pagination";
16
- @import "pooleparty/related-inline";
17
- @import "pooleparty/message-inline";
18
-
19
- @import "hydejack/base-inline";
20
- // @import "hydejack/base";
21
- @import "hydejack/sidebar-inline";
22
- // @import "hydejack/sidebar";
23
- @import "hydejack/drawer-inline";
24
- // @import "hydejack/drawer";
25
- @import "hydejack/social-inline";
26
- // @import "hydejack/social";
27
- @import "hydejack/menu-inline";
28
- @import "hydejack/menu";
29
- @import "hydejack/content-inline";
30
- @import "hydejack/me-inline";
31
- // @import "hydejack/katex";
32
- @import "hydejack/footer-inline";
33
- // @import "hydejack/toc";
4
+ // @import "reboot-mod";
5
+
6
+
7
+ @import "pooleparty/__inline/base";
8
+ @import "pooleparty/__inline/type";
9
+ @import "pooleparty/__inline/table";
10
+ @import "pooleparty/__inline/footer";
11
+ @import "pooleparty/__inline/footnotes";
12
+ @import "pooleparty/__inline/code";
13
+ @import "pooleparty/__inline/posts";
14
+ @import "pooleparty/__inline/related";
15
+ @import "pooleparty/__inline/message";
16
+ @import "pooleparty/__inline/pagination";
17
+
18
+ @import "hydejack/__inline/base";
19
+ @import "hydejack/__inline/sidebar";
20
+ @import "hydejack/__inline/social";
21
+ @import "hydejack/__inline/menu";
22
+ @import "hydejack/__inline/content";
23
+ @import "hydejack/__inline/avatar";
24
+ @import "hydejack/__inline/katex";
25
+ @import "hydejack/__inline/footer";
26
+
27
+ // {% unless site.hydejack.no_mark_external or site.no_mark_external %}
28
+ // @import "hydejack/__link/mark-external";
29
+ // {% endunless %}
30
+ // {% unless site.hydejack.no_break_layout %}
31
+ // @import "hydejack/__link/break-layout";
32
+ // {% endunless %}
34
33
 
35
34
  // @import "syntax";
36
35
  // @import "spinner";
@@ -38,11 +37,10 @@
38
37
  @import "my-inline";
39
38
  // @import "my-style";
40
39
 
41
- {% assign font = site.font | default:"'Noto Sans', Helvetica, Arial, sans-serif" %}
42
40
  {% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
43
- {% assign google_fonts = site.google_fonts | default:"Roboto+Slab:700|Noto+Sans:400,400i,700,700i" %}
41
+ {% assign font = site.font | default:"'Noto Sans', Helvetica, Arial, sans-serif" %}
44
42
 
45
- {% unless site.no_google_fonts %}
43
+ {% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
46
44
  {% assign font = font | split:',' | shift | join:',' %}
47
45
  {% assign font_heading = font_heading | split:',' | shift | join:',' %}
48
46
  {% endunless %}
@@ -1,69 +1,83 @@
1
1
  @import "variables";
2
2
  @import "mixins";
3
3
 
4
- // @import "pooleparty/base-inline";
5
- @import "pooleparty/base";
6
- // @import "pooleparty/type-inline";
7
- @import "pooleparty/type";
8
- // @import "pooleparty/table-inline";
9
- @import "pooleparty/table";
10
- @import "pooleparty/footnotes";
11
- @import "pooleparty/code";
12
- // @import "pooleparty/footer-inline";
13
- // @import "pooleparty/posts-inline";
14
- @import "pooleparty/posts";
15
- @import "pooleparty/pagination";
16
- // @import "pooleparty/related-inline";
17
- // @import "pooleparty/message-inline";
4
+ @import "reboot-mod";
18
5
 
19
- // @import "hydejack/base-inline";
20
- @import "hydejack/base";
21
- // @import "hydejack/sidebar-inline";
22
- @import "hydejack/sidebar";
23
- // @import "hydejack/drawer-inline";
24
- @import "hydejack/drawer";
25
- // @import "hydejack/social-inline";
26
- @import "hydejack/social";
27
- // @import "hydejack/menu-inline";
28
- // @import "hydejack/menu";
29
- // @import "hydejack/content-inline";
30
- // @import "hydejack/me-inline";
31
- @import "hydejack/katex";
32
- // @import "hydejack/footer-inline";
33
- @import "hydejack/toc";
6
+ {% unless site.hydejack.no_inline_css or jekyll.environment == 'development' %}
7
+ @import "pooleparty/__link/base";
8
+ @import "pooleparty/__link/type";
9
+ @import "pooleparty/__link/table";
10
+ @import "pooleparty/__link/footer";
11
+ @import "pooleparty/__link/footnotes";
12
+ @import "pooleparty/__link/code";
13
+ @import "pooleparty/__link/posts";
14
+ @import "pooleparty/__link/related";
15
+ @import "pooleparty/__link/message";
16
+ @import "pooleparty/__link/pagination";
34
17
 
35
- @import "syntax";
36
- @import "spinner";
18
+ @import "hydejack/__link/base";
19
+ @import "hydejack/__link/sidebar";
20
+ @import "hydejack/__link/social";
21
+ @import "hydejack/__link/menu";
22
+ @import "hydejack/__link/content";
23
+ @import "hydejack/__link/avatar";
24
+ @import "hydejack/__link/katex";
25
+ @import "hydejack/__link/footer";
37
26
 
38
- // @import "my-inline";
39
- @import "my-style";
27
+ {% unless site.hydejack.no_mark_external or site.no_mark_external %}
28
+ @import "hydejack/__link/mark-external";
29
+ {% endunless %}
30
+ {% unless site.hydejack.no_break_layout %}
31
+ @import "hydejack/__link/break-layout";
32
+ {% endunless %}
33
+
34
+ @import "syntax";
35
+ @import "spinner";
36
+
37
+ // @import "my-inline";
38
+ @import "my-style";
39
+
40
+ {% else %}
41
+ @import "pooleparty/_base.pre.scss";
42
+ @import "pooleparty/_type.pre.scss";
43
+ @import "pooleparty/_table.pre.scss";
44
+ @import "pooleparty/_footer.pre.scss";
45
+ @import "pooleparty/_footnotes.pre.scss";
46
+ @import "pooleparty/_code.pre.scss";
47
+ @import "pooleparty/_posts.pre.scss";
48
+ @import "pooleparty/_related.pre.scss";
49
+ @import "pooleparty/_message.pre.scss";
50
+ @import "pooleparty/_pagination.pre.scss";
51
+
52
+ @import "hydejack/_base.pre.scss";
53
+ @import "hydejack/_sidebar.pre.scss";
54
+ @import "hydejack/_social.pre.scss";
55
+ @import "hydejack/_menu.pre.scss";
56
+ @import "hydejack/_content.pre.scss";
57
+ @import "hydejack/_avatar.pre.scss";
58
+ @import "hydejack/_katex.pre.scss";
59
+ @import "hydejack/_footer.pre.scss";
60
+
61
+ {% unless site.hydejack.no_mark_external or site.no_mark_external %}
62
+ @import "hydejack/_mark-external.pre.scss";
63
+ {% endunless %}
64
+ {% unless site.hydejack.no_break_layout %}
65
+ @import "hydejack/_break-layout.pre.scss";
66
+ {% endunless %}
67
+
68
+ @import "syntax";
69
+ @import "spinner";
70
+
71
+ @import "my-inline";
72
+ @import "my-style";
73
+ {% endunless %}
40
74
 
41
- {% assign font = site.font | default:"'Noto Sans', Helvetica, Arial, sans-serif" %}
42
75
  {% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
43
- {% assign google_fonts = site.google_fonts | default:"Roboto+Slab:700|Noto+Sans:400,400i,700,700i" %}
76
+ {% assign font = site.font | default:"'Noto Sans', Helvetica, Arial, sans-serif" %}
44
77
 
45
- {% unless site.no_google_fonts %}
78
+ {% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
46
79
  .wf-active {
47
80
  font-family: {{ font | default:"serif" }};
48
81
  h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: {{ font_heading | default:"serif" }}; }
49
82
  }
50
83
  {% endunless %}
51
-
52
- {% unless site.no_mark_external %}
53
- @media screen {
54
- a[href*="//"]::after, a.no-push-state::after {
55
- content: "\00A0\ea7e";
56
- font-family: 'icomoon' !important;
57
- speak: none;
58
- font-style: normal;
59
- font-weight: normal;
60
- font-variant: normal;
61
- text-transform: none;
62
- line-height: 1;
63
- font-size: smaller;
64
- -webkit-font-smoothing: antialiased;
65
- -moz-osx-font-smoothing: grayscale;
66
- opacity: 0.5;
67
- }
68
- }
69
- {% endunless %}
@@ -14,7 +14,7 @@
14
14
  {% assign tag = meta | where: "slug", tag_slug | first %}
15
15
 
16
16
  {% if tag %}
17
- {% capture content_temp %}{{ content }}<a href="{{ tag.url | relative_url }}" data-flip="title">{{ tag.title }}</a>{{ iter_separator }}{% endcapture %}
17
+ {% capture content_temp %}{{ content }}<a href="{{ tag.url | relative_url }}" class="flip-title">{{ tag.title }}</a>{{ iter_separator }}{% endcapture %}
18
18
  {% else %}
19
19
  {% capture content_temp %}{{ content }}<span>{{ tag_slug | capitalize }}</span>{{ iter_separator }}{% endcapture %}
20
20
  {% endif %}
@@ -0,0 +1,32 @@
1
+ <template id="_animation-template">
2
+ <div class="animation-main fixed-top">
3
+ <div class="content">
4
+ <div class="page"></div>
5
+ </div>
6
+ </div>
7
+ </template>
8
+
9
+ <template id="_loading-template">
10
+ <div class="loading">
11
+ <span class="sr-only">{{ site.data.strings.loading | default:"Loading…" }}</span>
12
+ <span class="icon-cog"></span>
13
+ </div>
14
+ </template>
15
+
16
+ <template id="_error-template">
17
+ <div class="page">
18
+ <h1 class="page-title">{{ site.data.strings.error.title | default:"Error" }}</h1>
19
+ {% capture link %}<a class="this-link" href=""></a>{% endcapture %}
20
+ {% assign text = site.data.strings.error.message | default:"Sorry, an error occurred while loading: <!--link-->." %}
21
+ <p class="lead">
22
+ {{ text | replace:"<!--link-->",link }}
23
+ </p>
24
+ </div>
25
+ </template>
26
+
27
+ <template id="_back-template">
28
+ <a id="_back" class="back nav-btn no-hover">
29
+ <span class="sr-only">{{ site.data.strings.back | default:"Back" }}</span>
30
+ <span class="icon-arrow-left2"></span>
31
+ </a>
32
+ </template>
@@ -2,16 +2,23 @@
2
2
  layout: base
3
3
  ---
4
4
 
5
- {% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] | default:site.author %}
5
+ {% assign plugins = site.plugins | default:site.gems %}
6
6
 
7
7
  <article class="page" role="article">
8
+ {% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] | default:site.author %}
9
+
8
10
  {% if author.picture %}
9
- {% include srcset-img.html class="me" img=author.picture alt=author.name %}
11
+ {% include srcset-img.html class="avatar" img=author.picture alt=author.name %}
12
+ {% elsif plugins contains 'jekyll-avatar' %}
13
+ {% assign avatar = author.social.github | default:author.github.username | default:author.github %}
14
+ {% include avatar-tag.html user=avatar %}
10
15
  {% endif %}
11
16
 
12
- <h1 class="page-title hr" style="padding-bottom:1rem">{{ page.title }}</h1>
17
+ <h1 class="page-title hr">{{ page.title }}</h1>
13
18
 
14
19
  {{ author.about | markdownify }}
15
20
 
21
+ {% include message.html text=page.description hide=page.no_description alt="" %}
22
+
16
23
  {{ content }}
17
24
  </article>
@@ -4,26 +4,32 @@ layout: compress
4
4
 
5
5
  {% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] | default:site.author %}
6
6
 
7
- {% assign image = site.image %}
8
- {% assign color = site.color | default:'#4f86aa' %}
7
+ {% assign plugins = site.plugins | default:site.gems %}
8
+
9
+ {% assign image = site.accent_image | default:site.image %}
10
+ {% assign color = site.accent_color | default:site.color | default:'#4fb1ba' %}
9
11
 
10
12
  {% if page.categories.size > 0 %}
11
13
  {% assign category_name = page.categories.first %}
12
14
  {% assign category = site.featured_categories | where: "slug", category_name | first %}
13
- {% if category.color %}{% assign color = category.color %}{% endif %}
14
- {% if category.image %}{% assign image = category.image %}{% endif %}
15
+ {% if category.accent_color or category.color %}{% assign color = category.accent_color | default:category.color %}{% endif %}
16
+ {% if category.accent_image or category.image %}{% assign image = category.accent_image | default:category.image %}{% endif %}
15
17
  {% elsif page.tags.size > 0 %}
16
18
  {% assign tag_name = page.tags.first %}
17
19
  {% assign tag = site.featured_tags | where: "slug", tag_name | first %}
18
- {% if tag.color %}{% assign color = tag.color %}{% endif %}
19
- {% if tag.image %}{% assign image = tag.image %}{% endif %}
20
+ {% if tag.accent_color or tag.color %}{% assign color = tag.accent_color | default:tag.color %}{% endif %}
21
+ {% if tag.accent_image or tag.image %}{% assign image = tag.accent_image | default:tag.image %}{% endif %}
20
22
  {% elsif author %}
21
- {% if author.color %}{% assign color = author.color %}{% endif %}
22
- {% if author.image %}{% assign image = author.image %}{% endif %}
23
+ {% if author.accent_color or author.color %}{% assign color = author.accent_color | default:author.color %}{% endif %}
24
+ {% if author.accent_image or author.image %}{% assign image = author.accent_image | default:author.image %}{% endif %}
23
25
  {% endif %}
24
26
 
25
- {% if page.color %}{% assign color = page.color %}{% endif %}
26
- {% if page.image %}{% assign image = page.image %}{% endif %}
27
+ {% if page.accent_color or page.color %}{% assign color = page.accent_color | default:page.color %}{% endif %}
28
+ {% if page.accent_image %}
29
+ {% assign image = page.accent_image %}
30
+ {% elsif page.image %}
31
+ {% unless plugins contains 'jekyll-seo-tag' %}{% assign image = page.image %}{% endunless %}
32
+ {% endif %}
27
33
 
28
34
  <head>
29
35
  {% include head.html %}
@@ -31,4 +37,5 @@ layout: compress
31
37
 
32
38
  <body>
33
39
  {% include body.html %}
40
+ {% include templates.html %}
34
41
  </body>
@@ -1,12 +1,5 @@
1
- ---
2
- # Jekyll layout that compresses HTML
3
- # v3.0.2
4
- # http://jch.penibelst.de/
5
- # © 2014–2015 Anatol Broder
6
- # MIT License
7
- ---
8
1
  <!DOCTYPE html>
9
- <html lang="{{ page.lang | default:site.lang | default:'en' }}"><!--
2
+ <html lang="{{ page.lang | default:site.lang | default:'en' | split:'-' | first | split:'_' | first }}"><!--
10
3
  __ __ __ __
11
4
  /\ \/\ \ /\ \ __ /\ \
12
5
  \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
@@ -17,7 +10,6 @@
17
10
  /\___/ \ \____/
18
11
  \/__/ \/___/
19
12
 
20
- Powered by Hydejack v6.6.1 <https://qwtel.com/hydejack/>
13
+ Powered by Hydejack v7.0.0-beta.0 <https://qwtel.com/hydejack/>
21
14
  -->{% capture _LINE_FEED %}
22
- {% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
23
- </html>
15
+ {% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}</html>
@@ -2,10 +2,12 @@
2
2
  layout: base
3
3
  ---
4
4
 
5
+ {% assign strings = site.data.strings %}
6
+
5
7
  <article class="page" role="article">
6
8
  <header>
7
- <h1 class="page-title">{{ page.title | default:"Home"}}</h1>
8
- {% include message.html text=page.description %}
9
+ <h1 class="page-title">{{ page.title | default:strings.home | default:"Home"}}</h1>
10
+ {% include message.html text=page.description hide=page.no_description %}
9
11
  </header>
10
12
 
11
13
  {{ content }}
@@ -13,7 +15,7 @@ layout: base
13
15
  <hr class="dingbat"/>
14
16
 
15
17
  {% if site.posts.size > 0 %}
16
- <h2 class="hr">Posts</h2>
18
+ <h2 class="hr">{{ strings.posts | default:"Posts" }}</h2>
17
19
  <ul class="related-posts">
18
20
  {% for post in site.posts limit:5 %}
19
21
  {% include post-list-item.html post=post %}
@@ -23,12 +25,12 @@ layout: base
23
25
 
24
26
  {% assign pages = site.html_pages | where:"layout","page" %}
25
27
  {% if pages.size > 0 %}
26
- <h2 class="hr">Pages</h2>
28
+ <h2 class="hr">{{ strings.pages | default:"Pages" }}</h2>
27
29
  <ul class="related-posts">
28
30
  {% for page in pages limit:5 %}
29
31
  {% if page.layout == 'page' %}
30
32
  <li class="h4">
31
- <a href="{{ page.url | relative_url }}" data-flip="title">
33
+ <a href="{{ page.url | relative_url }}" class="flip-title">
32
34
  <span>{{ page.title }}</span>
33
35
  </a>
34
36
  </li>