jekyll-theme-hydejack 7.4.2 → 7.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +31 -22
- data/_includes/body.html +2 -2
- data/_includes/comments.html +0 -5
- data/_includes/footer.html +10 -2
- data/_includes/head/links.html +5 -0
- data/_includes/head/meta.html +1 -1
- data/_includes/head/styles.html +1 -1
- data/_includes/header.txt +1 -1
- data/_includes/{body/menu.html → menu.html} +0 -0
- data/_includes/{body/scripts.html → scripts.html} +1 -1
- data/_includes/smart-url +1 -1
- data/_includes/styles/inline.scss +3 -0
- data/_includes/styles/style.scss +7 -4
- data/_includes/templates.html +6 -45
- data/_includes/templates/animation.html +7 -0
- data/_includes/templates/back.html +6 -0
- data/_includes/templates/cookies-banner.html +12 -0
- data/_includes/templates/error.html +10 -0
- data/_includes/templates/loading.html +6 -0
- data/_includes/templates/permalink.html +6 -0
- data/_layouts/compress.html +1 -1
- data/_sass/_variables.scss +1 -0
- data/_sass/hydejack/__inline/_base.scss +1 -2
- data/_sass/hydejack/__inline/_content.scss +1 -0
- data/_sass/hydejack/__inline/_mark-external.scss +1 -1
- data/_sass/hydejack/__inline/_sidebar.scss +0 -2
- data/_sass/hydejack/__inline/_social.scss +2 -0
- data/_sass/hydejack/__link/_base.scss +1 -1
- data/_sass/hydejack/__link/_content.scss +7 -0
- data/_sass/hydejack/__link/_footer.scss +15 -4
- data/_sass/hydejack/__link/_mark-external.scss +1 -1
- data/_sass/hydejack/__link/_sidebar.scss +0 -7
- data/_sass/hydejack/__link/_social.scss +8 -0
- data/_sass/hydejack/_base.pre.scss +1 -2
- data/_sass/hydejack/_content.pre.scss +7 -0
- data/_sass/hydejack/_footer.pre.scss +15 -4
- data/_sass/hydejack/_mark-external.pre.scss +1 -1
- data/_sass/hydejack/_sidebar.pre.scss +0 -7
- data/_sass/hydejack/_social.pre.scss +8 -0
- data/_sass/pooleparty/__inline/_related.scss +2 -0
- data/_sass/pooleparty/__link/_base.scss +3 -2
- data/_sass/pooleparty/__link/_footnotes.scss +7 -5
- data/_sass/pooleparty/__link/_related.scss +8 -0
- data/_sass/pooleparty/__link/_type.scss +1 -2
- data/_sass/pooleparty/_base.pre.scss +3 -2
- data/_sass/pooleparty/_footnotes.pre.scss +7 -5
- data/_sass/pooleparty/_related.pre.scss +8 -0
- data/_sass/pooleparty/_type.pre.scss +1 -2
- data/assets/css/{hydejack-7.4.2.css → hydejack-7.5.0.css} +0 -0
- data/assets/img/sidebar-bg.jpg +0 -0
- data/assets/js/hydejack-7.5.0.js +14 -0
- data/assets/version.json +1 -1
- metadata +12 -8
- data/_includes/scripts/load-disqus.js +0 -56
- data/_includes/scripts/load-disqus.min.js +0 -1
- data/assets/js/hydejack-7.4.2.js +0 -14
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a261dc43bb519018672c3064e7e815b9338a9f1f
|
|
4
|
+
data.tar.gz: 39a2da53b56bc041deeff24fa2a802f7e60b4da1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 45781ee209617108af591ccbfa1f23ff4bfc4ac155d05f65473a8bffa04ffe1971e97416c64d18afff87a7cb4f830d6778361e8b5e3430f1daaef96861197628
|
|
7
|
+
data.tar.gz: 2d57f9afccdc8415c99dd21db2f2e32c4830e50c1f4e1263d9cc4a00b836e2e83a3b6c048efa087114a54d8e2241045e943fc3322c6f295e445fd0efc2fb341f
|
data/README.md
CHANGED
|
@@ -17,12 +17,12 @@ a showcase for your projects, and a resume that fits with the rest of the design
|
|
|
17
17
|
It's best to just [see it in action](https://qwtel.com/hydejack/).
|
|
18
18
|
|
|
19
19
|
## Features
|
|
20
|
-
Both versions include
|
|
20
|
+
Both versions include these features:
|
|
21
21
|
|
|
22
22
|
* Full in-app page loading, powered by [hy-push-state]
|
|
23
23
|
* A customizable sidebar that turns into a drawer menu on mobile, powered by [hy-drawer]
|
|
24
24
|
* Advanced FLIP animations, inspired by Material Design
|
|
25
|
-
* Good [Google PageSpeed Score][gpss][^
|
|
25
|
+
* Good [Google PageSpeed Score][gpss][^3]
|
|
26
26
|
* Higher *perceived speed* thanks to content pre-fetching
|
|
27
27
|
* [Syntax highlighting][syntax], powered by [Rouge]
|
|
28
28
|
* [LaTeX math blocks][latex], powered by [KaTeX]
|
|
@@ -51,24 +51,32 @@ A [portfolio], a [resume] layout and a [welcome] page to feature your favorite p
|
|
|
51
51
|
|
|
52
52
|
This table details what is and isn't included in each respective version.
|
|
53
53
|
|
|
54
|
-
| | Free | PRO
|
|
55
|
-
|
|
56
|
-
| Blog | ✔ | ✔
|
|
57
|
-
| [Features][feat] | ✔ | ✔
|
|
58
|
-
| [Portfolio] Layout | | ✔
|
|
59
|
-
| [Resume] Layout | | ✔
|
|
60
|
-
| [Welcome] Layout | | ✔
|
|
61
|
-
| [Newsletter Box][news] | | ✔
|
|
62
|
-
| [Custom Forms][forms] | | ✔
|
|
63
|
-
| No Hydejack Branding | | ✔
|
|
64
|
-
| License | [GPL-3.0][license] | [PRO]
|
|
65
|
-
|
|
|
66
|
-
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
54
|
+
| | Free | PRO |
|
|
55
|
+
|:------------------------------------|:--------------------------------------:|:--------------------------------------------:|
|
|
56
|
+
| Blog | ✔ | ✔ |
|
|
57
|
+
| [Features][feat] | ✔ | ✔ |
|
|
58
|
+
| [Portfolio] Layout | | ✔ |
|
|
59
|
+
| [Resume] Layout | | ✔ |
|
|
60
|
+
| [Welcome] Layout | | ✔ |
|
|
61
|
+
| [Newsletter Box][news] | | ✔ |
|
|
62
|
+
| [Custom Forms][forms] | | ✔ |
|
|
63
|
+
| No Hydejack Branding | | ✔ |
|
|
64
|
+
| License | [GPL-3.0][license] | [PRO] |
|
|
65
|
+
| Source | [GitHub][src] | Included |
|
|
66
|
+
| Support[^1] | No | No |
|
|
67
|
+
| Price | Free | $29 |
|
|
68
|
+
| | [**Download**][kit] | [**Buy Now - $29**][buy] [^2] |
|
|
69
|
+
{:.stretch-table}
|
|
70
|
+
|
|
71
|
+
[^1]: You MAY open an issue on GitHub, but no response and/or fix is guaranteed.
|
|
72
|
+
You understand that using Jekyll requires technical know-how, and is NOT comparable to Wordpress in terms of usability.
|
|
73
|
+
Please use the free version to confirm that Hydejack works for you.
|
|
74
|
+
For more, see the [PRO] license.
|
|
75
|
+
|
|
70
76
|
[^2]: Transactions secured by [Stripe](https://stripe.com). Downloads handled by [Simple Goods](https://simplegoods.co/).
|
|
71
77
|
|
|
78
|
+
[^3]: Actual page load speed depends on your hosting provider, resolution of embedded images and usage of 3rd party plugins.
|
|
79
|
+
|
|
72
80
|
~~~
|
|
73
81
|
__ __ __ __
|
|
74
82
|
/\ \/\ \ /\ \ __ /\ \
|
|
@@ -95,16 +103,17 @@ This table details what is and isn't included in each respective version.
|
|
|
95
103
|
|
|
96
104
|
[license]: LICENSE.md
|
|
97
105
|
[pro]: licenses/PRO.md
|
|
98
|
-
[docs]: docs/7.
|
|
106
|
+
[docs]: docs/7.5.0/index.md
|
|
99
107
|
|
|
100
|
-
[kit]: https://github.com/qwtel/hydejack-starter-kit/archive/
|
|
108
|
+
[kit]: https://github.com/qwtel/hydejack-starter-kit/archive/v7.5.0.zip
|
|
109
|
+
[src]: https://github.com/qwtel/hydejack
|
|
101
110
|
[git]: https://github.com/qwtel/hydejack-starter-kit
|
|
102
111
|
[gem]: https://rubygems.org/gems/jekyll-theme-hydejack
|
|
103
112
|
[buy]: https://app.simplegoods.co/i/AQTTVBOE
|
|
104
113
|
|
|
105
114
|
[gpss]: https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fqwtel.com%2Fhydejack%2F
|
|
106
|
-
[wiki]: https://github.com/qwtel/hydejack/blob/master/docs/7.
|
|
107
|
-
[pdf]: https://github.com/qwtel/hydejack/releases/download/v7.
|
|
115
|
+
[wiki]: https://github.com/qwtel/hydejack/blob/master/docs/7.5.0/index.md
|
|
116
|
+
[pdf]: https://github.com/qwtel/hydejack/releases/download/v7.5.0/Documentation._.Hydejack.pdf
|
|
108
117
|
[hy-push-state]: https://qwtel.com/hy-push-state/
|
|
109
118
|
[hy-drawer]: https://qwtel.com/hy-drawer/
|
|
110
119
|
[rouge]: http://rouge.jneen.net
|
data/_includes/body.html
CHANGED
data/_includes/comments.html
CHANGED
|
@@ -2,12 +2,7 @@
|
|
|
2
2
|
{% if disqus and page.comments %}
|
|
3
3
|
<aside class="comments related" role="complementary">
|
|
4
4
|
<h2 class="hr">{{ site.data.strings.comments | default:"Comments" }}</h2>
|
|
5
|
-
|
|
6
5
|
<div id="disqus_thread"></div>
|
|
7
|
-
|
|
8
|
-
<script>
|
|
9
|
-
{% include scripts/load-disqus.min.js disqus=disqus %}
|
|
10
|
-
</script>
|
|
11
6
|
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
|
12
7
|
</aside>
|
|
13
8
|
{% endif %}
|
data/_includes/footer.html
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
<footer role="contentinfo">
|
|
2
2
|
<hr/>
|
|
3
3
|
{% if site.copyright.size > 0 %}
|
|
4
|
-
|
|
4
|
+
<p><small class="copyright">{{ site.copyright | markdownify | replace:'<p>','' | replace:'</p>','' }}</small></p>
|
|
5
5
|
{% endif %}
|
|
6
|
-
|
|
6
|
+
{% if site.legal.size > 0 %}
|
|
7
|
+
<nav class="legal"><small>
|
|
8
|
+
{% for le in site.legal %}
|
|
9
|
+
<a href="{% include smart-url url=le.href %}">{{ le.name | default:le.title }}</a>
|
|
10
|
+
{% unless forloop.last %}{{ site.data.strings.separator | default:'|' }}{% endunless %}
|
|
11
|
+
{% endfor %}
|
|
12
|
+
</small></nav>
|
|
13
|
+
{% endif %}
|
|
14
|
+
<p><small>Powered by <a class="external" href="https://qwtel.com/hydejack/">Hydejack</a> v<span id="_version">7.5.0</span></small></p>
|
|
7
15
|
<hr class="sr-only"/>
|
|
8
16
|
</footer>
|
data/_includes/head/links.html
CHANGED
|
@@ -16,6 +16,11 @@
|
|
|
16
16
|
<link rel="dns-prefetch" href="https://www.google-analytics.com">
|
|
17
17
|
{% endif %}
|
|
18
18
|
|
|
19
|
+
{% assign disqus = site.disqus | default:site.disqus_shortname %}
|
|
20
|
+
{% if disqus %}
|
|
21
|
+
<link id="_disqusJS" rel="dns-prefetch" href="https://{{ disqus }}.disqus.com/embed.js">
|
|
22
|
+
{% endif %}
|
|
23
|
+
|
|
19
24
|
{% comment %}<!--
|
|
20
25
|
The links below are here so that we can use their `href` in JS (see `_js/src/katex.js`).
|
|
21
26
|
This way, CDN optimizers or other tools can modify the URL and we avoid hard-coding it in JavaScript.
|
data/_includes/head/meta.html
CHANGED
data/_includes/head/styles.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!--[if gt IE 8]><!---->
|
|
2
|
-
{% capture style_url %}{% link assets/css/hydejack-7.
|
|
2
|
+
{% capture style_url %}{% link assets/css/hydejack-7.5.0.css %}{% endcapture %}
|
|
3
3
|
|
|
4
4
|
{% if site.hydejack.no_inline_css or jekyll.environment == 'development' %}
|
|
5
5
|
<link rel="stylesheet" href="{{ style_url | relative_url }}">
|
data/_includes/header.txt
CHANGED
|
File without changes
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
{% endif %}
|
|
27
27
|
|
|
28
28
|
<!--[if gt IE 9]><!---->
|
|
29
|
-
{% capture js_url %}{% link assets/js/hydejack-7.
|
|
29
|
+
{% capture js_url %}{% link assets/js/hydejack-7.5.0.js %}{% endcapture %}
|
|
30
30
|
<script>loadJSDeferred('{{ js_url | relative_url }}');</script>
|
|
31
31
|
{% include my-scripts.html %}
|
|
32
32
|
<!--<![endif]-->
|
data/_includes/smart-url
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{% assign url = include.url %}{% if url contains '//' %}{{ url }}{% else %}{% assign url = url | remove_first:site.baseurl %}{{ url | relative_url }}{
|
|
1
|
+
{% assign url = include.url %}{% if url contains '//' %}{{ url }}{% else %}{% assign url = url | remove_first:site.baseurl %}{{ url | relative_url }}{%- endif -%}
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
{% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
|
|
22
22
|
{% assign font = site.font | default:"'Noto Sans', Helvetica, Arial, sans-serif" %}
|
|
23
23
|
|
|
24
|
+
$font-family-heading: {{ font_heading }};
|
|
25
|
+
$font-family: {{ font }};
|
|
26
|
+
|
|
24
27
|
@import "variables";
|
|
25
28
|
@import "my-variables";
|
|
26
29
|
@import "mixins";
|
data/_includes/styles/style.scss
CHANGED
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
{% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
|
|
22
22
|
{% assign font = site.font | default:"'Noto Sans', Helvetica, Arial, sans-serif" %}
|
|
23
23
|
|
|
24
|
+
$font-family-heading: {{ font_heading }};
|
|
25
|
+
$font-family: {{ font }};
|
|
26
|
+
|
|
24
27
|
@import "variables";
|
|
25
28
|
@import "my-variables";
|
|
26
29
|
@import "mixins";
|
|
@@ -63,10 +66,10 @@
|
|
|
63
66
|
|
|
64
67
|
{% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
|
|
65
68
|
.wf-active {
|
|
66
|
-
font-family: {{ font
|
|
69
|
+
font-family: {{ font }};
|
|
67
70
|
|
|
68
71
|
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading {
|
|
69
|
-
font-family: {{ font_heading
|
|
72
|
+
font-family: {{ font_heading }};
|
|
70
73
|
}
|
|
71
74
|
}
|
|
72
75
|
{% endunless %}
|
|
@@ -105,10 +108,10 @@
|
|
|
105
108
|
@import "my-style";
|
|
106
109
|
|
|
107
110
|
html {
|
|
108
|
-
font-family: {{ font
|
|
111
|
+
font-family: {{ font }};
|
|
109
112
|
}
|
|
110
113
|
|
|
111
114
|
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading {
|
|
112
|
-
font-family: {{ font_heading
|
|
115
|
+
font-family: {{ font_heading }};
|
|
113
116
|
}
|
|
114
117
|
{% endunless %}
|
data/_includes/templates.html
CHANGED
|
@@ -2,50 +2,11 @@
|
|
|
2
2
|
<hr class="sr-only"/>
|
|
3
3
|
<h2 class="sr-only">{{ strings.templates | default: "Templates"}}{{ strings.colon | default:":" }}</h2>
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
</div>
|
|
11
|
-
</template>
|
|
12
|
-
|
|
13
|
-
<template id="_loading-template">
|
|
14
|
-
<div class="loading">
|
|
15
|
-
<span class="sr-only">{{ strings.loading | default:"Loading…" }}</span>
|
|
16
|
-
<span class="icon-cog"></span>
|
|
17
|
-
</div>
|
|
18
|
-
</template>
|
|
19
|
-
|
|
20
|
-
<template id="_error-template">
|
|
21
|
-
<div class="page">
|
|
22
|
-
<h1 class="page-title">{{ strings.error.title | default:"Error" }}</h1>
|
|
23
|
-
{% capture link %}<a class="this-link" href=""></a>{% endcapture %}
|
|
24
|
-
{% assign text = strings.error.message | default:"Sorry, an error occurred while loading: <!--link-->." %}
|
|
25
|
-
<p class="lead">
|
|
26
|
-
{{ text | replace:"<!--link-->",link }}
|
|
27
|
-
</p>
|
|
28
|
-
</div>
|
|
29
|
-
</template>
|
|
30
|
-
|
|
31
|
-
<template id="_back-template">
|
|
32
|
-
<a id="_back" class="back nav-btn no-hover">
|
|
33
|
-
<span class="sr-only">{{ strings.back | default:"Back" }}</span>
|
|
34
|
-
<span class="icon-arrow-left2"></span>
|
|
35
|
-
</a>
|
|
36
|
-
</template>
|
|
37
|
-
|
|
5
|
+
{% include templates/animation.html %}
|
|
6
|
+
{% include templates/loading.html %}
|
|
7
|
+
{% include templates/error.html %}
|
|
8
|
+
{% include templates/back.html %}
|
|
9
|
+
{% include templates/permalink.html %}
|
|
38
10
|
{% if site.google_analytics and site.hydejack.cookies_banner %}
|
|
39
|
-
|
|
40
|
-
<div id="_cookies-banner" class="navbar fixed-top CookiesOK">
|
|
41
|
-
<div class="content">
|
|
42
|
-
<div class="nav-btn-bar">
|
|
43
|
-
<small class="nav-btn">
|
|
44
|
-
<span>{{ site.data.strings.cookies_banner.text | default:'This site uses cookies.' | markdownify | replace:'<p>','' | replace:'</p>','' }}</span>
|
|
45
|
-
<button id="_cookies-ok" class="btn btn-primary btn-sm">{{ site.data.strings.cookies_banner.okay | default:'Okay' }}</button>
|
|
46
|
-
</small>
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
</template>
|
|
11
|
+
{% include templates/cookies-banner.html %}
|
|
51
12
|
{% endif %}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<template id="_cookies-banner-template">
|
|
2
|
+
<div id="_cookies-banner" class="navbar fixed-top CookiesOK">
|
|
3
|
+
<div class="content">
|
|
4
|
+
<div class="nav-btn-bar">
|
|
5
|
+
<small class="nav-btn">
|
|
6
|
+
<span>{{ site.data.strings.cookies_banner.text | default:'This site uses cookies.' | markdownify | replace:'<p>','' | replace:'</p>','' }}</span>
|
|
7
|
+
<button id="_cookies-ok" class="btn btn-primary btn-sm">{{ site.data.strings.cookies_banner.okay | default:'Okay' }}</button>
|
|
8
|
+
</small>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<template id="_error-template">
|
|
2
|
+
<div class="page">
|
|
3
|
+
<h1 class="page-title">{{ strings.error.title | default:"Error" }}</h1>
|
|
4
|
+
{% capture link %}<a class="this-link" href=""></a>{% endcapture %}
|
|
5
|
+
{% assign text = strings.error.message | default:"Sorry, an error occurred while loading: <!--link-->." %}
|
|
6
|
+
<p class="lead">
|
|
7
|
+
{{ text | replace:"<!--link-->",link }}
|
|
8
|
+
</p>
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
data/_layouts/compress.html
CHANGED
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
/\___/ \ \____/
|
|
11
11
|
\/__/ \/___/
|
|
12
12
|
|
|
13
|
-
Powered by Hydejack v7.
|
|
13
|
+
Powered by Hydejack v7.5.0 <https://qwtel.com/hydejack/>
|
|
14
14
|
-->{% capture _LINE_FEED %}
|
|
15
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/_sass/_variables.scss
CHANGED
|
@@ -55,7 +55,7 @@ html {
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
|
|
58
|
-
// @media print { html { font-size: $root-font-size; } }
|
|
58
|
+
// @media print { html { font-size: $root-font-size-print; } }
|
|
59
59
|
// Link styles
|
|
60
60
|
hy-push-state a, .a {
|
|
61
61
|
position: relative;
|
|
@@ -99,7 +99,6 @@ hy-push-state a, .a {
|
|
|
99
99
|
.mb4 { margin-bottom: 4rem }
|
|
100
100
|
.mb6 { margin-bottom: 6rem }
|
|
101
101
|
.mt0 { margin-top: 0 }
|
|
102
|
-
.mt3 { margin-top: 3rem }
|
|
103
102
|
.mt4 { margin-top: 4rem }
|
|
104
103
|
.pb0 { padding-bottom: 0 }
|
|
105
104
|
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
|
|
32
32
|
// <<< link
|
|
33
33
|
@media screen {
|
|
34
|
-
a[href*="//"]:not(.no-mark-external),
|
|
34
|
+
a.external, a[href*="//"]:not(.no-mark-external), a.no-push-state:not(.no-mark-external) {
|
|
35
35
|
&::after {
|
|
36
36
|
content: "\00A0\ea7e";
|
|
37
37
|
font-family: 'icomoon'!important;
|