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.
- checksums.yaml +4 -4
- data/LICENSE.md +617 -17
- data/README.md +18 -11
- data/_includes/about.html +3 -2
- data/_includes/author.html +18 -11
- data/_includes/avatar-tag.html +4 -0
- data/_includes/body.html +21 -31
- data/_includes/body/menu.html +11 -0
- data/_includes/body/scripts.html +18 -0
- data/_includes/comments.html +6 -4
- data/_includes/footer.html +3 -5
- data/_includes/head.html +4 -142
- data/_includes/head/links.html +25 -0
- data/_includes/head/meta.html +30 -0
- data/_includes/head/scripts.html +44 -0
- data/_includes/head/seo-fallback.html +13 -0
- data/_includes/head/seo-tag.html +4 -0
- data/_includes/head/styles.html +24 -0
- data/_includes/header.txt +1 -1
- data/_includes/link.html +9 -2
- data/_includes/message.html +12 -7
- data/_includes/my-scripts.html +14 -5
- data/_includes/nav.html +20 -13
- data/_includes/page-style.html +33 -3
- data/_includes/pagination.html +8 -12
- data/_includes/post-list-item.html +4 -6
- data/_includes/post.html +20 -13
- data/_includes/related-posts.html +23 -0
- data/_includes/scripts/load-disqus.js +1 -2
- data/_includes/scripts/load-disqus.min.js +1 -1
- data/_includes/scripts/load-js-deferred.js +47 -43
- data/_includes/scripts/load-js-deferred.min.js +1 -1
- data/_includes/sidebar.html +25 -14
- data/_includes/social-list-item.html +1 -1
- data/_includes/social.html +16 -10
- data/_includes/srcset-img.html +5 -5
- data/_includes/styles/inline.scss +31 -33
- data/_includes/styles/style.scss +69 -55
- data/_includes/tag-list.html +1 -1
- data/_includes/templates.html +32 -0
- data/_layouts/about.html +10 -3
- data/_layouts/base.html +17 -10
- data/_layouts/compress.html +3 -11
- data/_layouts/default.html +7 -5
- data/_layouts/home.html +7 -5
- data/_layouts/list.html +10 -4
- data/_layouts/not-found.html +14 -5
- data/_layouts/page.html +1 -1
- data/_layouts/post.html +12 -2
- data/_layouts/redirect.html +1 -1
- data/_sass/_mixins.scss +9 -3
- data/_sass/_reboot-mod.scss +286 -0
- data/_sass/_spinner.scss +23 -80
- data/_sass/_syntax.scss +1 -1
- data/_sass/_variables.scss +9 -11
- data/_sass/hydejack/__inline/_avatar.scss +27 -0
- data/_sass/hydejack/__inline/_base.scss +99 -0
- data/_sass/hydejack/__inline/_break-layout.scss +12 -0
- data/_sass/hydejack/__inline/_content.scss +43 -0
- data/_sass/hydejack/__inline/_footer.scss +12 -0
- data/_sass/hydejack/__inline/_katex.scss +12 -0
- data/_sass/hydejack/__inline/_mark-external.scss +36 -0
- data/_sass/hydejack/__inline/_menu.scss +50 -0
- data/_sass/hydejack/__inline/_sidebar.scss +129 -0
- data/_sass/hydejack/__inline/_social.scss +42 -0
- data/_sass/hydejack/__link/_avatar.scss +17 -0
- data/_sass/hydejack/__link/_base.scss +93 -0
- data/_sass/hydejack/__link/_break-layout.scss +69 -0
- data/_sass/hydejack/__link/_content.scss +12 -0
- data/_sass/hydejack/__link/_footer.scss +26 -0
- data/_sass/hydejack/__link/_katex.scss +45 -0
- data/_sass/hydejack/__link/_mark-external.scss +36 -0
- data/_sass/hydejack/__link/_menu.scss +37 -0
- data/_sass/hydejack/__link/_sidebar.scss +156 -0
- data/_sass/hydejack/__link/_social.scss +12 -0
- data/_sass/hydejack/_avatar.pre.scss +18 -0
- data/_sass/hydejack/_base.pre.scss +133 -0
- data/_sass/hydejack/_break-layout.pre.scss +58 -0
- data/_sass/hydejack/{_content-inline.scss → _content.pre.scss} +5 -5
- data/_sass/hydejack/{_footer-inline.scss → _footer.pre.scss} +2 -5
- data/_sass/hydejack/{_katex.scss → _katex.pre.scss} +6 -3
- data/_sass/hydejack/_mark-external.pre.scss +25 -0
- data/_sass/hydejack/_menu.pre.scss +53 -0
- data/_sass/hydejack/_sidebar.pre.scss +188 -0
- data/_sass/hydejack/{_social-inline.scss → _social.pre.scss} +6 -11
- data/_sass/pooleparty/{_base-inline.scss → __inline/_base.scss} +15 -17
- data/_sass/pooleparty/__inline/_code.scss +17 -0
- data/_sass/pooleparty/__inline/_footer.scss +12 -0
- data/_sass/pooleparty/__inline/_footnotes.scss +16 -0
- data/_sass/pooleparty/__inline/_message.scss +26 -0
- data/_sass/pooleparty/__inline/_pagination.scss +17 -0
- data/_sass/pooleparty/__inline/_posts.scss +41 -0
- data/_sass/pooleparty/__inline/_related.scss +25 -0
- data/_sass/pooleparty/__inline/_table.scss +39 -0
- data/_sass/pooleparty/__inline/_type.scss +83 -0
- data/_sass/pooleparty/__link/_base.scss +26 -0
- data/_sass/pooleparty/__link/_code.scss +54 -0
- data/_sass/pooleparty/__link/_footer.scss +12 -0
- data/_sass/pooleparty/__link/_footnotes.scss +57 -0
- data/_sass/pooleparty/__link/_message.scss +17 -0
- data/_sass/pooleparty/__link/_pagination.scss +78 -0
- data/_sass/pooleparty/__link/_posts.scss +30 -0
- data/_sass/pooleparty/__link/_related.scss +14 -0
- data/_sass/pooleparty/{_table.scss → __link/_table.scss} +71 -46
- data/_sass/pooleparty/__link/_type.scss +144 -0
- data/_sass/pooleparty/_base.pre.scss +54 -0
- data/_sass/pooleparty/_code.pre.scss +43 -0
- data/_sass/pooleparty/_footer.pre.scss +1 -0
- data/_sass/pooleparty/{_footnotes.scss → _footnotes.pre.scss} +17 -4
- data/_sass/pooleparty/{_message-inline.scss → _message.pre.scss} +2 -0
- data/_sass/pooleparty/{_pagination.scss → _pagination.pre.scss} +7 -6
- data/_sass/pooleparty/{_posts-inline.scss → _posts.pre.scss} +16 -15
- data/_sass/pooleparty/{_related-inline.scss → _related.pre.scss} +5 -6
- data/_sass/pooleparty/_table.pre.scss +161 -0
- data/_sass/pooleparty/_type.pre.scss +198 -0
- data/assets/icomoon/fonts/icomoon.eot +0 -0
- data/assets/icomoon/fonts/icomoon.svg +9 -3
- data/assets/icomoon/fonts/icomoon.ttf +0 -0
- data/assets/icomoon/fonts/icomoon.woff +0 -0
- data/assets/icomoon/selection.json +250 -76
- data/assets/icomoon/style.css +26 -8
- data/assets/icons/apple-touch-icon.png +0 -0
- data/assets/icons/favicon.ico +0 -0
- data/assets/icons/icon.png +0 -0
- data/assets/icons/icon@0,25x.png +0 -0
- data/assets/icons/icon@0,5x.png +0 -0
- data/assets/icons/icon@0,75x.png +0 -0
- data/assets/icons/icon@2x.png +0 -0
- data/assets/icons/icon@3x.png +0 -0
- data/assets/icons/tile-large.png +0 -0
- data/assets/icons/tile-medium.png +0 -0
- data/assets/icons/tile-small.png +0 -0
- data/assets/icons/tile-wide.png +0 -0
- data/assets/ieconfig.xml +15 -0
- data/assets/img/sidebar-bg.jpg +0 -0
- data/assets/js/hydejack.js +2 -2
- data/assets/manifest.json +45 -0
- data/assets/version.json +1 -1
- data/licenses/Apache-2.0.md +55 -47
- data/licenses/GPL-3.0.md +623 -0
- data/licenses/MIT.md +1 -0
- data/licenses/PRO.md +142 -0
- metadata +103 -99
- data/_includes/related.html +0 -41
- data/_includes/scripts.html +0 -17
- data/_sass/hydejack/_base-inline.scss +0 -143
- data/_sass/hydejack/_base.scss +0 -143
- data/_sass/hydejack/_drawer-inline.scss +0 -19
- data/_sass/hydejack/_drawer.scss +0 -19
- data/_sass/hydejack/_me-inline.scss +0 -24
- data/_sass/hydejack/_menu-inline.scss +0 -56
- data/_sass/hydejack/_menu.scss +0 -56
- data/_sass/hydejack/_sidebar-inline.scss +0 -118
- data/_sass/hydejack/_sidebar.scss +0 -115
- data/_sass/hydejack/_social.scss +0 -36
- data/_sass/hydejack/_toc.scss +0 -2
- data/_sass/pooleparty/_base.scss +0 -60
- data/_sass/pooleparty/_code.scss +0 -82
- data/_sass/pooleparty/_footer-inline.scss +0 -3
- data/_sass/pooleparty/_posts.scss +0 -41
- data/_sass/pooleparty/_table-inline.scss +0 -130
- data/_sass/pooleparty/_type-inline.scss +0 -124
- data/_sass/pooleparty/_type.scss +0 -124
- data/assets/icomoon/Read Me.txt +0 -7
- data/assets/icomoon/demo-files/demo.css +0 -152
- data/assets/icomoon/demo-files/demo.js +0 -30
- data/assets/icomoon/demo.html +0 -1206
- data/assets/img/nap.jpg +0 -0
- data/assets/img/projects/hyde-v1.jpg +0 -0
- data/assets/img/projects/hyde-v1@0,25x.jpg +0 -0
- data/assets/img/projects/hyde-v1@0,5x.jpg +0 -0
- data/assets/img/projects/hyde-v2.jpg +0 -0
- data/assets/img/projects/hyde-v2@0,25x.jpg +0 -0
- data/assets/img/projects/hyde-v2@0,5x.jpg +0 -0
- data/licenses/PRO-license.md +0 -147
data/_includes/social.html
CHANGED
@@ -1,14 +1,20 @@
|
|
1
|
-
<span class="sr-only">Social
|
1
|
+
<span class="sr-only">{{ site.data.strings.social | default:"Social" }}{{ site.data.strings.colon }}</span>
|
2
2
|
<ul>
|
3
|
-
{%
|
4
|
-
{%
|
5
|
-
|
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
|
-
{%
|
8
|
-
{%
|
9
|
-
|
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
|
-
{%
|
12
|
-
{% include social-list-item.html platform=
|
13
|
-
{%
|
17
|
+
{% for link in include.author.social %}
|
18
|
+
{% include social-list-item.html platform=link.first username=link.last %}
|
19
|
+
{% endfor %}
|
14
20
|
</ul>
|
data/_includes/srcset-img.html
CHANGED
@@ -1,23 +1,23 @@
|
|
1
|
-
{% if include.img.src or include.img.
|
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 "
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
@import "pooleparty/
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
@import "pooleparty/
|
13
|
-
@import "pooleparty/posts
|
14
|
-
|
15
|
-
|
16
|
-
@import "pooleparty/
|
17
|
-
|
18
|
-
|
19
|
-
@import "hydejack/
|
20
|
-
|
21
|
-
@import "hydejack/
|
22
|
-
|
23
|
-
@import "hydejack/
|
24
|
-
|
25
|
-
@import "hydejack/
|
26
|
-
|
27
|
-
|
28
|
-
@import "hydejack/
|
29
|
-
|
30
|
-
|
31
|
-
//
|
32
|
-
|
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
|
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 %}
|
data/_includes/styles/style.scss
CHANGED
@@ -1,69 +1,83 @@
|
|
1
1
|
@import "variables";
|
2
2
|
@import "mixins";
|
3
3
|
|
4
|
-
|
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
|
-
|
20
|
-
@import "
|
21
|
-
|
22
|
-
@import "
|
23
|
-
|
24
|
-
@import "
|
25
|
-
|
26
|
-
@import "
|
27
|
-
|
28
|
-
|
29
|
-
|
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 "
|
36
|
-
@import "
|
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
|
-
|
39
|
-
@import "
|
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
|
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 %}
|
data/_includes/tag-list.html
CHANGED
@@ -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 }}"
|
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>
|
data/_layouts/about.html
CHANGED
@@ -2,16 +2,23 @@
|
|
2
2
|
layout: base
|
3
3
|
---
|
4
4
|
|
5
|
-
{% assign
|
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="
|
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"
|
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>
|
data/_layouts/base.html
CHANGED
@@ -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
|
8
|
-
|
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.
|
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>
|
data/_layouts/compress.html
CHANGED
@@ -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
|
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>
|
data/_layouts/default.html
CHANGED
@@ -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 }}"
|
33
|
+
<a href="{{ page.url | relative_url }}" class="flip-title">
|
32
34
|
<span>{{ page.title }}</span>
|
33
35
|
</a>
|
34
36
|
</li>
|