jekyll-theme-hydejack 7.0.1 → 7.1.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 +32 -23
- data/_includes/about.html +1 -1
- data/_includes/author.html +1 -1
- data/_includes/body.html +1 -1
- data/_includes/body/scripts.html +1 -1
- data/_includes/footer.html +1 -1
- data/_includes/head/meta.html +1 -1
- data/_includes/head/styles.html +1 -1
- data/_includes/header.txt +1 -1
- data/_includes/post.html +1 -1
- data/_includes/sidebar.html +1 -1
- data/_includes/smart-url +1 -0
- data/_includes/srcset-img.html +4 -3
- data/_includes/styles/inline.scss +3 -3
- data/_includes/styles/style.scss +17 -7
- data/_layouts/about.html +1 -1
- data/_layouts/base.html +1 -2
- data/_layouts/compress.html +1 -1
- data/_layouts/default.html +1 -1
- data/_layouts/list.html +1 -1
- data/_layouts/page.html +1 -1
- data/_sass/hydejack/__inline/_base.scss +3 -3
- data/_sass/hydejack/__link/_base.scss +2 -3
- data/_sass/hydejack/_base.pre.scss +3 -4
- data/_sass/pooleparty/__inline/_base.scss +1 -1
- data/_sass/pooleparty/_base.pre.scss +1 -1
- data/assets/bower.json +1 -1
- data/assets/bower_components/katex/.bower.json +6 -7
- data/assets/bower_components/katex/dist/contrib/auto-render.min.js +1 -1
- data/assets/bower_components/katex/dist/katex.css +268 -170
- data/assets/bower_components/katex/dist/katex.js +5250 -3537
- data/assets/bower_components/katex/dist/katex.min.css +1 -1
- data/assets/bower_components/katex/dist/katex.min.js +6 -4
- data/assets/js/hydejack.js +2 -2
- data/assets/version.json +1 -1
- metadata +3 -3
- data/assets/bower_components/katex/dist/README.md +0 -68
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c76029fed071082106c67164625fa1b2b243cd96
|
|
4
|
+
data.tar.gz: 1b54fb4b9fbd7f1fe27d90ee16aca810c7e16122
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 74dd310981ca6d22aaa9fffe008020da7b5f685af2fad8f385ec86875239cbb3e66cb9008c69525db1a46b709e4108cab8460e5d116bd9fcfbfacf3728eb5e96
|
|
7
|
+
data.tar.gz: 5dd68db3bdf8d671c2d76ecd3660cf39b16f30d7ee4c5644b78c42ff2c890b2f260b8fe6cd8bf6142addc4bb5260bb404df251d78040fda6e04defcb66e9c2c2
|
data/README.md
CHANGED
|
@@ -22,26 +22,26 @@ Both versions include *all* of these features:
|
|
|
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][^
|
|
26
|
-
*
|
|
25
|
+
* Good [Google PageSpeed Score][gpss][^1]
|
|
26
|
+
* Higher *perceived speed* thanks to content pre-fetching
|
|
27
|
+
* [Syntax highlighting][syntax], powered by [Rouge]
|
|
28
|
+
* [LaTeX math blocks][latex], powered by [KaTeX]
|
|
29
|
+
* Change the wording of built-in strings and possibly translate in other languages
|
|
27
30
|
* Support for categories and tags
|
|
28
31
|
* Built-in icons for many social networks
|
|
29
32
|
* Simple and semantic HTML — can be viewed even with text-based browsers
|
|
30
|
-
* Author section below each article and multiple authors
|
|
33
|
+
* Author section below each article and support for multiple authors
|
|
31
34
|
* Progressive enhancement — sacrifice features, not content
|
|
32
35
|
* Google Analytics and Google Fonts support
|
|
33
|
-
* Blog layout with pagination
|
|
34
|
-
* Syntax highlighting
|
|
35
|
-
* Math formulas via LaTeX
|
|
36
36
|
* Disqus comments
|
|
37
|
-
* Print layout
|
|
38
|
-
*
|
|
39
|
-
* Gist support via `jekyll-gist` (optional).
|
|
40
|
-
* Blog layout with pagination via `jekyll-paginate` (optional)
|
|
37
|
+
* Print layout — Used to render Hydejack's [PDF documentation][pdf]
|
|
38
|
+
* Blog layout via `jekyll-paginate` (optional)
|
|
41
39
|
* SEO meta tags via `jekyll-seo-tag` (optional)
|
|
40
|
+
* Github avatars via `jekyll-avatar` (optional)
|
|
41
|
+
* Gist support via `jekyll-gist` (optional)
|
|
42
42
|
|
|
43
43
|
## Documentation
|
|
44
|
-
Hydejack is well documented. You can read
|
|
44
|
+
Hydejack is well documented. You can read the docs [on the Jekyll site][docs], or [on GitHub][wiki], or [download the PDF][pdf].
|
|
45
45
|
|
|
46
46
|
## Download
|
|
47
47
|
There are two versions of **Hydejack**: The *free version* includes basic blogging functionality,
|
|
@@ -54,20 +54,19 @@ This table details what is and isn't included in each respective version.
|
|
|
54
54
|
| | Free | PRO |
|
|
55
55
|
|:------------------------------------|:------------------:|:------------------:|
|
|
56
56
|
| Blog | ✔ | ✔ |
|
|
57
|
-
| Features
|
|
57
|
+
| [Features][feat] | ✔ | ✔ |
|
|
58
58
|
| [Portfolio] Layout | | ✔ |
|
|
59
59
|
| [Resume] Layout | | ✔ |
|
|
60
60
|
| [Welcome] Layout | | ✔ |
|
|
61
|
-
| Newsletter
|
|
62
|
-
|
|
|
61
|
+
| [Newsletter Box][news] | | ✔ |
|
|
62
|
+
| [Custom Forms][forms] | | ✔ |
|
|
63
63
|
| License | [GPL-3.0][license] | [PRO] |
|
|
64
|
-
| Price | Free | $
|
|
65
|
-
|| [Download on GitHub][github]<br/> – or – <br/>[Use the RubyGem][gem] | [Buy Now
|
|
64
|
+
| Price | Free | $29 |
|
|
65
|
+
|| [Download on GitHub][github]<br/> – or – <br/>[Use the RubyGem][gem] | [Buy Now][buy] [^2] |
|
|
66
66
|
|
|
67
67
|
|
|
68
|
-
[^1]:
|
|
69
|
-
[^2]:
|
|
70
|
-
[^3]: Transactions secured by [Stripe](https://stripe.com). Downloads handled by [Simple Goods](https://simplegoods.co/).
|
|
68
|
+
[^1]: Actual page load speed depends on your hosting provider, resolution of embedded images and usage of 3rd party plugins.
|
|
69
|
+
[^2]: Transactions secured by [Stripe](https://stripe.com). Downloads handled by [Simple Goods](https://simplegoods.co/).
|
|
71
70
|
|
|
72
71
|
~~~
|
|
73
72
|
__ __ __ __
|
|
@@ -86,18 +85,28 @@ This table details what is and isn't included in each respective version.
|
|
|
86
85
|
[resume]: https://qwtel.com/hydejack/resume/
|
|
87
86
|
[download]: https://qwtel.com/download/
|
|
88
87
|
[welcome]: https://qwtel.com/hydejack/
|
|
88
|
+
[forms]: https://qwtel.com/hydejack/docs/7.1.0/forms-by-example/
|
|
89
|
+
|
|
90
|
+
[feat]: https://qwtel.com/hydejack/#features
|
|
91
|
+
[news]: https://qwtel.com/hydejack/#newsletter-subscription-box
|
|
92
|
+
[syntax]: https://qwtel.com/hydejack/#syntax-highlighting
|
|
93
|
+
[latex]: https://qwtel.com/hydejack/#latex-math-blocks
|
|
89
94
|
|
|
90
95
|
[license]: LICENSE.md
|
|
91
96
|
[pro]: licenses/PRO.md
|
|
92
|
-
[docs]: docs/7.0
|
|
97
|
+
[docs]: docs/7.1.0/index.md
|
|
93
98
|
|
|
94
99
|
[github]: https://github.com/qwtel/hydejack/releases
|
|
95
100
|
[gem]: https://rubygems.org/gems/jekyll-theme-hydejack
|
|
96
101
|
[buy]: https://app.simplegoods.co/i/AQTTVBOE
|
|
97
102
|
|
|
98
103
|
[gpss]: https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fqwtel.com%2Fhydejack%2F
|
|
99
|
-
[wiki]: https://github.com/qwtel/hydejack/blob/master/docs/7.0
|
|
100
|
-
[pdf]: https://github.com/qwtel/hydejack/releases/download/v7.0
|
|
101
|
-
|
|
104
|
+
[wiki]: https://github.com/qwtel/hydejack/blob/master/docs/7.1.0/index.md
|
|
105
|
+
[pdf]: https://github.com/qwtel/hydejack/releases/download/v7.1.0/Documentation._.Hydejack.pdf
|
|
102
106
|
[hy-push-state]: https://qwtel.com/hy-push-state/
|
|
103
107
|
[hy-drawer]: https://qwtel.com/hy-drawer/
|
|
108
|
+
[rouge]: http://rouge.jneen.net
|
|
109
|
+
[katex]: https://khan.github.io/KaTeX/
|
|
110
|
+
[tinyletter]: https://tinyletter.com/
|
|
111
|
+
|
|
112
|
+
*[FLIP]: First-Last-Invert-Play. A coding technique to achieve performant page transition animations.
|
data/_includes/about.html
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] | default:site.author %}
|
|
2
2
|
|
|
3
3
|
{% if author.about %}
|
|
4
|
-
<aside class="
|
|
4
|
+
<aside class="about related mt4 mb4" role="complementary">
|
|
5
5
|
{% assign about_heading = site.data.strings.about | default:"About" %}
|
|
6
6
|
{% include author.html author=author heading=about_heading heading_tag='h2' %}
|
|
7
7
|
</aside>
|
data/_includes/author.html
CHANGED
data/_includes/body.html
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
role="main"
|
|
8
8
|
data-color="{{ color | escape }}"
|
|
9
9
|
{% unless image.background %}
|
|
10
|
-
data-image="{{ image | escape }}"
|
|
10
|
+
data-image="{% if image == 'none' %}none{% else %}{% capture tmp %}{% include smart-url url=image %}{% endcapture %}{{ tmp | escape }}{% endif %}"
|
|
11
11
|
{% if image != 'none' %}data-overlay{% endif %}
|
|
12
12
|
{% else %}
|
|
13
13
|
data-background="{{ image.background | escape }}"
|
data/_includes/body/scripts.html
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
{% endif %}
|
|
10
10
|
|
|
11
11
|
<!--[if gt IE 9]><!---->
|
|
12
|
-
{% capture js_url %}{% link assets/js/hydejack.js %}?v=7.0
|
|
12
|
+
{% capture js_url %}{% link assets/js/hydejack.js %}?v=7.1.0{% endcapture %}
|
|
13
13
|
<script>loadJSDeferred('{{ js_url | relative_url }}');</script>
|
|
14
14
|
|
|
15
15
|
{% include my-scripts.html %}
|
data/_includes/footer.html
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
{% if site.copyright.size > 0 %}
|
|
4
4
|
<p><small class="copyright">{{ site.copyright }}</small></p>
|
|
5
5
|
{% endif %}
|
|
6
|
-
<p><small>Powered by <a class="external" href="https://qwtel.com/hydejack/">Hydejack</a> v<span id="_version">7.0
|
|
6
|
+
<p><small>Powered by <a class="external" href="https://qwtel.com/hydejack/">Hydejack</a> v<span id="_version">7.1.0</span></small></p>
|
|
7
7
|
<hr class="sr-only"/>
|
|
8
8
|
</footer>
|
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.css %}?v=7.0
|
|
2
|
+
{% capture style_url %}{% link assets/css/hydejack.css %}?v=7.1.0{% 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
data/_includes/post.html
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
{% include tag-list.html tags=post.tags meta=site.featured_tags start_with=tag_start separator=tag_separator %}
|
|
21
21
|
</p>
|
|
22
22
|
|
|
23
|
-
{% include message.html text=post.description hide=page.
|
|
23
|
+
{% include message.html text=post.description hide=page.hide_description %}
|
|
24
24
|
</header>
|
|
25
25
|
|
|
26
26
|
{% unless include.excerpt %}
|
data/_includes/sidebar.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
{% capture bg_style %}background:{{ image.background }}{% endcapture %}
|
|
5
5
|
{% capture bg_class %}sidebar-bg {% if image.overlay %}sidebar-overlay{% endif %}{% endcapture %}
|
|
6
6
|
{% else %}
|
|
7
|
-
{% capture bg_style %}background-color:{{ color }};{% if image != 'none' %}background-image:url({
|
|
7
|
+
{% capture bg_style %}background-color:{{ color }};{% if image != 'none' %}background-image:url({% include smart-url url=image %}){% endif %}{% endcapture %}
|
|
8
8
|
{% capture bg_class %}sidebar-bg {% if image != 'none' %}sidebar-overlay{% endif %}{% endcapture %}
|
|
9
9
|
{% endif %}
|
|
10
10
|
<div class="{{ bg_class }}" style="{{ bg_style }}"></div>
|
data/_includes/smart-url
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{% assign url = include.url %}{% if url contains '//' %}{{ url }}{% else %}{% assign url = url | remove_first:site.baseurl %}{{ url | relative_url }}{% endif %}
|
data/_includes/srcset-img.html
CHANGED
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
{% assign srcset = null %}
|
|
3
3
|
|
|
4
4
|
{% if include.img.srcset %}
|
|
5
|
-
{% capture srcset %}{% for hash in include.img.srcset %}{
|
|
5
|
+
{% capture srcset %}{% for hash in include.img.srcset %}{% assign tmp = hash[1] %}{% include smart-url url=tmp %} {{ hash[0] }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
|
|
6
6
|
{% endif %}
|
|
7
7
|
|
|
8
|
+
{% assign src = include.img.src | default:include.img.path %}
|
|
8
9
|
<img
|
|
9
|
-
src="{
|
|
10
|
+
src="{% include smart-url url=src %}"
|
|
10
11
|
{% if include.class %}class="{{ include.class }}"{% endif %}
|
|
11
12
|
{% if include.alt %}alt="{{ include.alt }}"{% endif %}
|
|
12
13
|
{% if srcset %}srcset="{{ srcset | strip }}"{% endif %}
|
|
@@ -15,7 +16,7 @@
|
|
|
15
16
|
/>
|
|
16
17
|
{% else %}
|
|
17
18
|
<img
|
|
18
|
-
src="{
|
|
19
|
+
src="{% include smart-url url=include.img %}"
|
|
19
20
|
{% if include.class %}class="{{ include.class }}"{% endif %}
|
|
20
21
|
{% if include.alt %}alt="{{ include.alt }}"{% endif %}
|
|
21
22
|
{% if include.property %}property="{{ include.property }}"{% endif %}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
{% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
|
|
2
|
+
{% assign font = site.font | default:"'Noto Sans', Helvetica, Arial, sans-serif" %}
|
|
3
|
+
|
|
1
4
|
@import "variables";
|
|
2
5
|
@import "mixins";
|
|
3
6
|
|
|
@@ -37,9 +40,6 @@
|
|
|
37
40
|
@import "my-inline";
|
|
38
41
|
// @import "my-style";
|
|
39
42
|
|
|
40
|
-
{% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
|
|
41
|
-
{% assign font = site.font | default:"'Noto Sans', Helvetica, Arial, sans-serif" %}
|
|
42
|
-
|
|
43
43
|
{% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
|
|
44
44
|
{% assign font = font | split:',' | shift | join:',' %}
|
|
45
45
|
{% assign font_heading = font_heading | split:',' | shift | join:',' %}
|
data/_includes/styles/style.scss
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
{% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
|
|
2
|
+
{% assign font = site.font | default:"'Noto Sans', Helvetica, Arial, sans-serif" %}
|
|
3
|
+
|
|
1
4
|
@import "variables";
|
|
2
5
|
@import "mixins";
|
|
3
6
|
|
|
@@ -37,6 +40,15 @@
|
|
|
37
40
|
// @import "my-inline";
|
|
38
41
|
@import "my-style";
|
|
39
42
|
|
|
43
|
+
{% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
|
|
44
|
+
.wf-active {
|
|
45
|
+
font-family: {{ font | default:"serif" }};
|
|
46
|
+
|
|
47
|
+
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading {
|
|
48
|
+
font-family: {{ font_heading | default:"serif" }};
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
{% endunless %}
|
|
40
52
|
{% else %}
|
|
41
53
|
@import "pooleparty/_base.pre.scss";
|
|
42
54
|
@import "pooleparty/_type.pre.scss";
|
|
@@ -70,14 +82,12 @@
|
|
|
70
82
|
|
|
71
83
|
@import "my-inline";
|
|
72
84
|
@import "my-style";
|
|
73
|
-
{% endunless %}
|
|
74
85
|
|
|
75
|
-
{
|
|
76
|
-
{% assign font = site.font | default:"'Noto Sans', Helvetica, Arial, sans-serif" %}
|
|
77
|
-
|
|
78
|
-
{% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
|
|
79
|
-
.wf-active {
|
|
86
|
+
html {
|
|
80
87
|
font-family: {{ font | default:"serif" }};
|
|
81
|
-
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading {
|
|
91
|
+
font-family: {{ font_heading | default:"serif" }};
|
|
82
92
|
}
|
|
83
93
|
{% endunless %}
|
data/_layouts/about.html
CHANGED
data/_layouts/base.html
CHANGED
|
@@ -6,8 +6,7 @@ layout: compress
|
|
|
6
6
|
|
|
7
7
|
{% assign plugins = site.plugins | default:site.gems %}
|
|
8
8
|
|
|
9
|
-
{% assign image = site.accent_image | default:site.image %}
|
|
10
|
-
{% unless image %}{% assign image = '/assets/img/sidebar-bg.jpg' | relative_url %}{% endunless %}
|
|
9
|
+
{% assign image = site.accent_image | default:site.image | default:'/assets/img/sidebar-bg.jpg' %}
|
|
11
10
|
{% assign color = site.accent_color | default:site.color | default:'#4fb1ba' %}
|
|
12
11
|
|
|
13
12
|
{% if page.categories.size > 0 %}
|
data/_layouts/compress.html
CHANGED
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
/\___/ \ \____/
|
|
11
11
|
\/__/ \/___/
|
|
12
12
|
|
|
13
|
-
Powered by Hydejack v7.0
|
|
13
|
+
Powered by Hydejack v7.1.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/_layouts/default.html
CHANGED
|
@@ -7,7 +7,7 @@ layout: base
|
|
|
7
7
|
<article class="page" role="article">
|
|
8
8
|
<header>
|
|
9
9
|
<h1 class="page-title">{{ page.title | default:strings.home | default:"Home" }}</h1>
|
|
10
|
-
{% include message.html text=page.description hide=page.
|
|
10
|
+
{% include message.html text=page.description hide=page.hide_description %}
|
|
11
11
|
</header>
|
|
12
12
|
|
|
13
13
|
{{ content }}
|
data/_layouts/list.html
CHANGED
|
@@ -17,7 +17,7 @@ layout: base
|
|
|
17
17
|
{% if page.title.size > 0 %}
|
|
18
18
|
<header>
|
|
19
19
|
<h1 class="page-title">{{ page.title }}</h1>
|
|
20
|
-
{% include message.html text=page.description hide=page.
|
|
20
|
+
{% include message.html text=page.description hide=page.hide_description %}
|
|
21
21
|
</header>
|
|
22
22
|
<hr class="sr-only"/>
|
|
23
23
|
{% endif %}
|
data/_layouts/page.html
CHANGED
|
@@ -5,7 +5,7 @@ layout: base
|
|
|
5
5
|
<article class="page" role="article">
|
|
6
6
|
<header>
|
|
7
7
|
<h1 class="page-title">{{ page.title }}</h1>
|
|
8
|
-
{% include message.html text=page.description hide=page.
|
|
8
|
+
{% include message.html text=page.description hide=page.hide_description %}
|
|
9
9
|
</header>
|
|
10
10
|
|
|
11
11
|
{{ content }}
|
|
@@ -43,7 +43,7 @@ html {
|
|
|
43
43
|
|
|
44
44
|
// @media print { html { font-size: $root-font-size; } }
|
|
45
45
|
// Link styles
|
|
46
|
-
a, .a {
|
|
46
|
+
hy-push-state a, .a {
|
|
47
47
|
position: relative;
|
|
48
48
|
padding-bottom: .15rem;
|
|
49
49
|
border-bottom: 1px solid;
|
|
@@ -51,8 +51,7 @@ a, .a {
|
|
|
51
51
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
|
|
55
|
-
.img {
|
|
54
|
+
.content .img {
|
|
56
55
|
overflow: hidden;
|
|
57
56
|
background-color: $gray-bg;
|
|
58
57
|
|
|
@@ -88,6 +87,7 @@ a, .a {
|
|
|
88
87
|
.mb6 { margin-bottom: 6rem }
|
|
89
88
|
.mt0 { margin-top: 0 }
|
|
90
89
|
.mt3 { margin-top: 3rem }
|
|
90
|
+
.mt4 { margin-top: 4rem }
|
|
91
91
|
.pb0 { padding-bottom: 0 }
|
|
92
92
|
|
|
93
93
|
|
|
@@ -33,7 +33,7 @@ hy-push-state, hy-drawer {
|
|
|
33
33
|
|
|
34
34
|
@media print { html { font-size: $root-font-size; } }
|
|
35
35
|
// Link styles
|
|
36
|
-
a, .a {
|
|
36
|
+
hy-push-state a, .a {
|
|
37
37
|
// position: relative;
|
|
38
38
|
// padding-bottom: .15rem;
|
|
39
39
|
// border-bottom: 1px solid;
|
|
@@ -56,8 +56,7 @@ a, .a {
|
|
|
56
56
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
.
|
|
60
|
-
.img {
|
|
59
|
+
.content .img {
|
|
61
60
|
// overflow: hidden;
|
|
62
61
|
// background-color: $gray-bg;
|
|
63
62
|
background-position: center;
|
|
@@ -45,7 +45,7 @@ html {
|
|
|
45
45
|
@media print { html { font-size: $root-font-size; } } // link
|
|
46
46
|
|
|
47
47
|
// Link styles
|
|
48
|
-
a, .a {
|
|
48
|
+
hy-push-state a, .a {
|
|
49
49
|
position: relative; // inline
|
|
50
50
|
padding-bottom: .15rem; // inline
|
|
51
51
|
border-bottom: 1px solid; // inline
|
|
@@ -69,9 +69,7 @@ a, .a {
|
|
|
69
69
|
// >>>
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.
|
|
73
|
-
|
|
74
|
-
.img {
|
|
72
|
+
.content .img {
|
|
75
73
|
overflow: hidden; // inline
|
|
76
74
|
background-color: $gray-bg; // inline
|
|
77
75
|
|
|
@@ -112,6 +110,7 @@ a, .a {
|
|
|
112
110
|
.mb6 { margin-bottom: 6rem }
|
|
113
111
|
.mt0 { margin-top: 0 }
|
|
114
112
|
.mt3 { margin-top: 3rem }
|
|
113
|
+
.mt4 { margin-top: 4rem }
|
|
115
114
|
.pb0 { padding-bottom: 0 }
|
|
116
115
|
// >>>>> INLINE
|
|
117
116
|
|