jekyll-theme-hydejack 7.0.1 → 7.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -23
  3. data/_includes/about.html +1 -1
  4. data/_includes/author.html +1 -1
  5. data/_includes/body.html +1 -1
  6. data/_includes/body/scripts.html +1 -1
  7. data/_includes/footer.html +1 -1
  8. data/_includes/head/meta.html +1 -1
  9. data/_includes/head/styles.html +1 -1
  10. data/_includes/header.txt +1 -1
  11. data/_includes/post.html +1 -1
  12. data/_includes/sidebar.html +1 -1
  13. data/_includes/smart-url +1 -0
  14. data/_includes/srcset-img.html +4 -3
  15. data/_includes/styles/inline.scss +3 -3
  16. data/_includes/styles/style.scss +17 -7
  17. data/_layouts/about.html +1 -1
  18. data/_layouts/base.html +1 -2
  19. data/_layouts/compress.html +1 -1
  20. data/_layouts/default.html +1 -1
  21. data/_layouts/list.html +1 -1
  22. data/_layouts/page.html +1 -1
  23. data/_sass/hydejack/__inline/_base.scss +3 -3
  24. data/_sass/hydejack/__link/_base.scss +2 -3
  25. data/_sass/hydejack/_base.pre.scss +3 -4
  26. data/_sass/pooleparty/__inline/_base.scss +1 -1
  27. data/_sass/pooleparty/_base.pre.scss +1 -1
  28. data/assets/bower.json +1 -1
  29. data/assets/bower_components/katex/.bower.json +6 -7
  30. data/assets/bower_components/katex/dist/contrib/auto-render.min.js +1 -1
  31. data/assets/bower_components/katex/dist/katex.css +268 -170
  32. data/assets/bower_components/katex/dist/katex.js +5250 -3537
  33. data/assets/bower_components/katex/dist/katex.min.css +1 -1
  34. data/assets/bower_components/katex/dist/katex.min.js +6 -4
  35. data/assets/js/hydejack.js +2 -2
  36. data/assets/version.json +1 -1
  37. metadata +3 -3
  38. 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: 9f1d2e406bf42028bddbf4a556aa2607a7abbbff
4
- data.tar.gz: 1b715b6f6de20c77cba4592566ef3322e9d25b1d
3
+ metadata.gz: c76029fed071082106c67164625fa1b2b243cd96
4
+ data.tar.gz: 1b54fb4b9fbd7f1fe27d90ee16aca810c7e16122
5
5
  SHA512:
6
- metadata.gz: 4439ed6c635c29d62dace85d9e31a45a1a9bf79c3e1aee703d3bcb61f35589f6c6870021fe0dbb50af38617df66655d8b6b70d07dbea2810180c0120917aceeb
7
- data.tar.gz: 97fb58b3a63f3982eaf4a73686757b58bfb801a59c1f76cd8b72f989249fc31b3f7713efcd67db6f6ec0ec3445f79a752b82cc20c677a8a3b14c65974d51f592
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][^2]
26
- * High *perceived speed* thanks to pre-fetching
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. See the [PDF documentation][pdf] for an example.
38
- * Github avatars via `jekyll-avatar` (optional).
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 it [on the Jekyll site][docs], or [on GitHub][wiki], or [download the PDF][pdf].
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 (see below) | ✔ | ✔ |
57
+ | [Features][feat] | ✔ | ✔ |
58
58
  | [Portfolio] Layout | | ✔ |
59
59
  | [Resume] Layout | | ✔ |
60
60
  | [Welcome] Layout | | ✔ |
61
- | Newsletter Subscription Box | | ✔ |
62
- | Form Element Styles | | ✔ |
61
+ | [Newsletter Box][news] | | ✔ |
62
+ | [Custom Forms][forms] | | ✔ |
63
63
  | License | [GPL-3.0][license] | [PRO] |
64
- | Price | Free | $39 |
65
- || [Download on GitHub][github]<br/> – or – <br/>[Use the RubyGem][gem] | [Buy Now – $39][buy] [^3] |
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]: Applies after the initial page load.
69
- [^2]: Actual page load speed depends on your hosting provider, resolution of embedded images and usage of 3rd party plugins.
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.1/index.md
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.1/index.md
100
- [pdf]: https://github.com/qwtel/hydejack/releases/download/v7.0.1/Documentation._.Hydejack.pdf
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="author related mb4" role="complementary">
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>
@@ -1,6 +1,6 @@
1
1
  {% assign plugins = site.plugins | default:site.gems %}
2
2
 
3
- <div class="author">
3
+ <div class="author mt4">
4
4
  {% assign author = include.author %}
5
5
 
6
6
  {% if author.picture %}
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 }}"
@@ -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.1{% endcapture %}
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 %}
@@ -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.1</span></small></p>
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>
@@ -27,4 +27,4 @@
27
27
  <meta name="theme-color" content="{{ color | default:'#4fb1ba' }}">
28
28
  {% endunless %}
29
29
 
30
- <meta name="generator" content="Hydejack v7.0.1" />
30
+ <meta name="generator" content="Hydejack v7.1.0" />
@@ -1,5 +1,5 @@
1
1
  <!--[if gt IE 8]><!---->
2
- {% capture style_url %}{% link assets/css/hydejack.css %}?v=7.0.1{% endcapture %}
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
@@ -9,5 +9,5 @@
9
9
  * /\___/ \ \____/
10
10
  * \/__/ \/___/
11
11
  *
12
- * Powered by Hydejack v7.0.1 <https://qwtel.com/hydejack/>
12
+ * Powered by Hydejack v7.1.0 <https://qwtel.com/hydejack/>
13
13
  */
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.no_description %}
23
+ {% include message.html text=post.description hide=page.hide_description %}
24
24
  </header>
25
25
 
26
26
  {% unless include.excerpt %}
@@ -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({{ image }}){% endif %}{% endcapture %}
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>
@@ -0,0 +1 @@
1
+ {% assign url = include.url %}{% if url contains '//' %}{{ url }}{% else %}{% assign url = url | remove_first:site.baseurl %}{{ url | relative_url }}{% endif %}
@@ -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 %}{{ hash[1]}} {{ hash[0] }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
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="{{ include.img.src | default:include.img.path }}"
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="{{ include.img }}"
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:',' %}
@@ -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
- {% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
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
- h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: {{ font_heading | default:"serif" }}; }
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
@@ -18,7 +18,7 @@ layout: base
18
18
 
19
19
  {{ author.about | markdownify }}
20
20
 
21
- {% include message.html text=page.description hide=page.no_description alt="" %}
21
+ {% include message.html text=page.description hide=page.hide_description alt="" %}
22
22
 
23
23
  {{ content }}
24
24
  </article>
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 %}
@@ -10,6 +10,6 @@
10
10
  /\___/ \ \____/
11
11
  \/__/ \/___/
12
12
 
13
- Powered by Hydejack v7.0.1 <https://qwtel.com/hydejack/>
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>
@@ -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.no_description %}
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.no_description %}
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.no_description %}
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
- // .author { margin-top: 3rem; }
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
- .author { margin-top: 3rem; }
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
- .author { margin-top: 3rem; } // link
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
 
@@ -42,7 +42,7 @@ a {
42
42
  margin-right: -1rem;
43
43
  }
44
44
 
45
- img, .img {
45
+ .content img, .img {
46
46
  display: block;
47
47
  max-width: 100%;
48
48
  margin-bottom: 1rem;
@@ -31,7 +31,7 @@ a {
31
31
  margin-right: -1rem;
32
32
  }
33
33
 
34
- img, .img {
34
+ .content img, .img {
35
35
  display: block;
36
36
  max-width: 100%;
37
37
  margin-bottom: 1rem;