jekyll-theme-hydejack 6.3.0 → 6.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +39 -27
  3. data/_includes/author.html +1 -3
  4. data/_includes/body.html +0 -1
  5. data/_includes/copyright-header.txt +1 -1
  6. data/_includes/footer.html +1 -1
  7. data/_includes/head.html +16 -18
  8. data/_includes/message.html +2 -0
  9. data/_includes/post.html +9 -15
  10. data/_includes/related.html +1 -2
  11. data/_includes/scripts.html +10 -15
  12. data/_includes/srcset-img.html +7 -7
  13. data/_includes/styles/inline.scss +6 -10
  14. data/_includes/styles/style.scss +6 -13
  15. data/_layouts/about.html +1 -2
  16. data/_layouts/blog.html +0 -1
  17. data/_layouts/compress.html +1 -1
  18. data/_layouts/list.html +6 -5
  19. data/_layouts/page.html +4 -3
  20. data/_sass/hydejack/_base-inline.scss +5 -1
  21. data/_sass/hydejack/_base.scss +5 -1
  22. data/_sass/hydejack/_content-inline.scss +0 -6
  23. data/_sass/hydejack/_menu-inline.scss +5 -1
  24. data/_sass/hydejack/_menu.scss +6 -1
  25. data/_sass/hydejack/_sidebar-inline.scss +6 -26
  26. data/_sass/hydejack/_sidebar.scss +11 -29
  27. data/_sass/hydejack/_social-inline.scss +1 -1
  28. data/_sass/pooleparty/_posts-inline.scss +10 -3
  29. data/_sass/pooleparty/_posts.scss +10 -3
  30. data/_sass/pooleparty/_table-inline.scss +130 -0
  31. data/_sass/pooleparty/_table.scss +121 -17
  32. data/_sass/pooleparty/_type-inline.scss +16 -2
  33. data/_sass/pooleparty/_type.scss +17 -4
  34. data/assets/icomoon/demo.html +32 -32
  35. data/assets/icomoon/fonts/icomoon.eot +0 -0
  36. data/assets/icomoon/fonts/icomoon.svg +2 -2
  37. data/assets/icomoon/fonts/icomoon.ttf +0 -0
  38. data/assets/icomoon/fonts/icomoon.woff +0 -0
  39. data/assets/icomoon/selection.json +551 -404
  40. data/assets/icomoon/style.css +11 -12
  41. data/assets/img/me.jpg +0 -0
  42. data/assets/img/me@2x.jpg +0 -0
  43. data/assets/img/nap.jpg +0 -0
  44. data/assets/js/hydejack.js +2 -2
  45. data/assets/version.json +1 -1
  46. metadata +8 -19
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4b65ff1605a177601b4b77d6a3f50522e636a8e1
4
- data.tar.gz: 9237a15d7caba2d3721aa46b9a27083b4c009b37
3
+ metadata.gz: 75a09e436d70cc6c90f6c9258106fdda9d667bfb
4
+ data.tar.gz: d2db24206430841aac6703e9d21972cb54362c38
5
5
  SHA512:
6
- metadata.gz: b556c9eb6e87cbdceff14376c0765096ff90e5e6046a7c548df5bfea441467254786b39b81266c7efa180755aec806e21327441bc1232940ffaf21d1e2a6fcc0
7
- data.tar.gz: 5c4262724fd73b52e4376823a1302fa49292544cc03d1d9c41f8889f79a914c7ae6c73939ecd1436cd93a89057295780258574dc45bcc7d4a10e8c5d4c8d8f7e
6
+ metadata.gz: bc568f60dc9775e6531ac3e50f43851749d13ae5c1cad336f94039e1cd8fd7f14822233dc5d355848b1062bdcccb868f2c45d7bc5b6971888699c4ce83302f88
7
+ data.tar.gz: 10c6deb07e2e647e04f4a5a797a2c94a6d8e2e29980e3e5d0c0e3cc97565821743545685b7e558a05b27b256c05bd7bf3d72da794300b2df8edef997872097a3
data/README.md CHANGED
@@ -11,39 +11,26 @@
11
11
  ~~~
12
12
 
13
13
  # Hydejack
14
- Hydejack is a cutting-edge Jekyll theme that combines the best of static sites and modern web apps. It features a suite of JavaScript that makes the page feel like an app, without sacrificing backwards-compatibility, page-load speed or SEO.
14
+ Hydejack is a cutting-edge Jekyll theme that combines the best of static sites and modern web apps.
15
+ It features a suite of JavaScript that makes the page feel like an app, without sacrificing backwards-compatibility,
16
+ page-load speed or SEO.
15
17
 
16
18
  > The complete package for professionals: A [blog], a [portfolio] and a [resume].
17
19
 
18
- It aims to be the complete package for professionals on the web. It features a blog suitable for both prose and technical documentation, a showcase for projects and a resume that fits with the rest of the design.
20
+ It aims to be the complete package for professionals on the web.
21
+ It features a blog suitable for both prose and technical documentation,
22
+ a showcase for projects and a resume that fits with the rest of the design.
19
23
 
20
24
  ## [Demo](https://qwtel.com/hydejack/)
21
25
  It's best to just [see it in action](https://qwtel.com/hydejack/).
22
26
 
23
- ## Download
24
- There are two versions of Hydejack: The Free Version includes basic blogging functionality, as did previous versions of the theme. The PRO Version includes additional features for professionals: A [portfolio], a [resume] layout and a [welcome] page to feature your favorite projects and posts.
25
-
26
- This table details what is and isn't included in each respective version.
27
-
28
- | | Free Version | PRO Version |
29
- |:-|:-:|:-:|
30
- | Blog | ✔️ | ✔️ |
31
- | Features (see below) | ✔️ | ✔️ |
32
- | [Portfolio] | | ✔️ |
33
- | [Resume] | | ✔️ |
34
- | [Welcome] | | ✔️ |
35
- | Briefcase full of $100 bills | | |
36
- | License | MIT | [PRO] |
37
- | Price | Free | $29 |
38
- | | [**Download on GitHub**][download]<br/> – or – <br/>[**Use the RubyGem**][gem] | [**Buy on Simple Goods**][buy] |
39
-
40
27
  ## Features
41
28
  Both the PRO *and* free version includes all of the features listed below:
42
29
 
43
30
  * Full in-app page loading — no Flash of White, no Flash of Unstyled Content[^1]
44
31
  * Advanced animations, inspired by Material Design
45
32
  * A customizable sidebar that turns into a touch-enabled app drawer on mobile
46
- * Near-perfect [Google PageSpeed Score](https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fqwtel.com%2Fhydejack%2F)[^2]
33
+ * Near-perfect [Google PageSpeed Score][gpss][^2]
47
34
  * Even higher *perceived speed* thanks to pre-fetching and latency-hiding
48
35
  * Support for categories and tags — even when hosting on GitHub Pages
49
36
  * Built-in collection of social media icons
@@ -58,21 +45,46 @@ Both the PRO *and* free version includes all of the features listed below:
58
45
  * RSS feed
59
46
  * Print layout
60
47
 
48
+ Questions? Send a mail to [mail@qwtel.com](mailto:mail@qwtel.com), or tweet [`@qwtel`](https://www.twitter.com/qwtel).
49
+
61
50
  ## [Documentation][docs]
62
- Hydejack is documented extensively. You can read it [here][docs] or in the [repository's wiki][wiki], or [download the PDF][download].
51
+ Hydejack is documented extensively.
52
+ You can read it [here][docs] or in the [repository's wiki][wiki], or [download the PDF][download].
53
+
54
+ ## Download
55
+ There are two versions of Hydejack: The Free Version includes basic blogging functionality,
56
+ as did previous versions of the theme.
57
+ The new PRO Version includes additional features for professionals:
58
+ A [portfolio], a [resume] layout and a [welcome] page to feature your favorite projects and posts.
59
+
60
+ This table details what is and isn't included in each respective version.
61
+
62
+ | | Free Version | PRO Version |
63
+ |:-|:-:|:-:|
64
+ | Blog | ✔️ | ✔️ |
65
+ | Features (see above) | ✔️ | ✔️ |
66
+ | [Portfolio] | | ✔️ |
67
+ | [Resume] | | ✔️ |
68
+ | [Welcome] | | ✔️ |
69
+ | Briefcase full of $100 bills | | |
70
+ | License | MIT | [PRO] |
71
+ | Price | Free | $29 |
72
+ | | [**Download on GitHub**][download]<br/> – or – <br/>[**Use the RubyGem**][gem] | [**Buy on Simple Goods**][buy] [^3] |
63
73
 
64
74
 
65
75
  [^1]: Applies after the initial page load.
66
- [^2]: Actual page load speed depends on your hosting provider as well as discipline regarding resolution of images and usage of 3rd party plugins.
76
+ [^2]: Actual page load speed depends on your hosting provider as well as discipline regarding resolution of images and
77
+ usage of 3rd party plugins.
78
+ [^3]: Transactions secured by [Stripe](https://stripe.com). Downloads handled by [Simple Goods](https://simplegoods.co/).
67
79
 
68
80
  [blog]: https://qwtel.com/hydejack/blog/
69
81
  [portfolio]: https://qwtel.com/hydejack/projects/
70
82
  [resume]: https://qwtel.com/hydejack/resume/
71
83
  [welcome]: https://qwtel.com/hydejack/
72
- [pro]: https://qwtel.com/hydejack/docs/6.3.0/pro-license/
73
- [docs]: https://qwtel.com/hydejack/docs/6.3.0/
74
-
75
- [download]: https://github.com/qwtel/hydejack/releases/tag/v6.3.0
76
- [gem]: https://rubygems.org/gems/jekyll-theme-hydejack/versions/6.3.0
84
+ [pro]: https://qwtel.com/hydejack/docs/6.4.0/pro-license/
85
+ [docs]: https://qwtel.com/hydejack/docs/6.4.0/
86
+ [download]: https://github.com/qwtel/hydejack/releases/tag/v6.4.0
87
+ [gem]: https://rubygems.org/gems/jekyll-theme-hydejack/versions/6.4.0
77
88
  [buy]: https://app.simplegoods.co/i/AQTTVBOE
78
89
  [wiki]: https://github.com/qwtel/hydejack/wiki
90
+ [gpss]: https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fqwtel.com%2Fhydejack%2F
@@ -3,12 +3,10 @@
3
3
  {% include srcset-img.html class="me" img=include.author.picture alt=include.author.name %}
4
4
  {% endif %}
5
5
 
6
- <{{ include.heading_tag | default:'h2' }} class="page-title">
6
+ <{{ include.heading_tag | default:'h2' }} class="page-title hr">
7
7
  {{ include.heading | default:include.author.name }}
8
8
  </{{ include.heading_tag | default:'h2' }}>
9
9
 
10
- <hr/>
11
-
12
10
  {{ include.author.about | markdownify }}
13
11
 
14
12
  {% if include.author.social %}
@@ -6,7 +6,6 @@
6
6
  <span class="sr-only">Jump to:</span>
7
7
  <a id="_menu" class="menu no-hover" href="#_title">
8
8
  <span class="sr-only">Menu</span>
9
- <span>☰</span>
10
9
  </a>
11
10
  </div>
12
11
  </div>
@@ -8,5 +8,5 @@
8
8
  * /\___/ \ \____/
9
9
  * \/__/ \/___/
10
10
  *
11
- * Powered by Hydejack v6.3.0 (https://qwtel.com/hydejack/)
11
+ * Powered by Hydejack v6.4.0 (https://qwtel.com/hydejack/)
12
12
  */
@@ -4,6 +4,6 @@
4
4
  {{ site.copyright | markdownify }}
5
5
  {% endif %}
6
6
  <p>
7
- <code>Powered by <a href="https://qwtel.com/hydejack/">Hydejack</a> v<span id="_version">6.3.0</span></code>
7
+ <code>Powered by <a href="https://qwtel.com/hydejack/">Hydejack</a> v<span id="_version">6.4.0</span></code>
8
8
  </p>
9
9
  </footer>
@@ -2,9 +2,9 @@
2
2
  <!-- META -->
3
3
  <!-- =============== -->
4
4
  <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
6
  <meta name="format-detection" content="telephone=no">
7
- <meta http-equiv="x-rim-auto-match" content="none">
7
+ <meta http-equiv="x-ua-compatible" content="ie=edge">
8
8
 
9
9
  {% capture title %}
10
10
  {% if page.url == "/" %}
@@ -39,7 +39,7 @@
39
39
  <!-- =============== -->
40
40
  <!-- LINKS -->
41
41
  <!-- =============== -->
42
- <link rel="canonical" href="{{ page.url | absolute_url }}" />
42
+ <link rel="canonical" href="{{ page.url | absolute_url }}">
43
43
 
44
44
  <link rel="alternate" type="application/atom+xml" title="{{ site.title }} Feed" href="{{ site.feed.path | default:'feed.xml' | absolute_url }}">
45
45
 
@@ -51,6 +51,9 @@
51
51
  <link rel="next" href="{{ page.next.url | absolute_url }}">
52
52
  {% endif %}
53
53
 
54
+ <link rel="apple-touch-icon" href="{{ 'apple-touch-icon.png' | absolute_url }}">
55
+ <!-- Place favicon.ico in the root directory -->
56
+
54
57
  <!-- =============== -->
55
58
  <!-- SCRIPTS -->
56
59
  <!-- =============== -->
@@ -77,32 +80,27 @@
77
80
  {{ include_to_scssify | scssify }}
78
81
  </style>
79
82
 
80
- {% capture style_url %}{% link assets/css/hydejack.css %}?v=6.3.0{% endcapture %}
81
- <link rel="preload" href="{{ style_url | relative_url }}" as="style" onload="this.rel='stylesheet'">
83
+ {% capture style_url %}{% link assets/css/hydejack.css %}?v=6.4.0{% endcapture %}
84
+ <link rel="preload" href="{{ style_url | absolute_url }}" as="style" onload="this.rel='stylesheet'">
82
85
 
83
86
  {% include page-style.html %}
84
87
 
85
88
  <noscript>
86
- <link rel="stylesheet" href="{{ style_url | relative_url }}">
87
-
88
- {% assign font = site.font %}
89
- {% assign font_heading = site.font_heading %}
90
- {% assign google_fonts = site.google_fonts %}
91
- {% unless font or font_heading or google_fonts %}
92
- {% assign font = "'Noto Serif', Georgia, serif" %}
93
- {% assign font_heading = "'Roboto Slab', Helvetica, Arial, sans-serif" %}
94
- {% assign google_fonts = "Roboto+Slab:700|Noto+Serif:400,400i,700,700i" %}
95
- {% endunless %}
89
+ <link rel="stylesheet" href="{{ style_url | absolute_url }}">
90
+
91
+ {% assign font = site.font | default:"'Noto Serif', Georgia, serif" %}
92
+ {% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
93
+ {% assign google_fonts = site.google_fonts | default:"Roboto+Slab:700|Noto+Serif:400,400i,700,700i" %}
96
94
 
97
- {% if google_fonts.size > 0 %}
95
+ {% unless site.no_google_fonts %}
98
96
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family={{ google_fonts }}">
99
97
  <style>
100
98
  html { font-family: {{ font }} }
101
99
  h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: {{ font_heading }} }
102
100
  </style>
103
- {% endif %}
101
+ {% endunless %}
104
102
 
105
103
  {% capture icons_url %}{% link assets/icomoon/style.css %}{% endcapture %}
106
- <link rel="stylesheet" href="{{ icons_url | relative_url }}">
104
+ <link rel="stylesheet" href="{{ icons_url | absolute_url }}">
107
105
  </noscript>
108
106
  <!--<![endif]-->
@@ -4,4 +4,6 @@
4
4
  {:.message}
5
5
  {% endcapture %}
6
6
  {{ desc | markdownify }}
7
+ {% else %}
8
+ <div class="hr" style="padding-bottom:0"></div>
7
9
  {% endif %}
@@ -1,6 +1,6 @@
1
1
  {% assign post = include.post %}
2
2
 
3
- <article id="post-{{ post.id | slice: 1,9999 }}" class="post{% unless include.link_title %} dingbat{% endunless %}" role="article">
3
+ <article id="post-{{ post.id | slice: 1,9999 }}" class="post{% if include.link_title %} mb6{% endif %}" role="article">
4
4
  <header>
5
5
  <h1 class="post-title">
6
6
  {% if include.link_title %}<a href="{{ post.url | relative_url }}" data-flip="title">{% endif %}
@@ -8,30 +8,24 @@
8
8
  {% if include.link_title %}</a>{% endif %}
9
9
  </h1>
10
10
 
11
- {% capture categories_content %}
11
+ <p class="post-date heading">
12
+ <time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%d %b %Y" }}</time>
12
13
  {% include tag-list.html tags=post.categories meta=site.featured_categories start_with="in " separator=" / " %}
13
- {% endcapture %}
14
-
15
- {% capture tags_content %}
16
14
  {% include tag-list.html tags=post.tags meta=site.featured_tags start_with="on " separator=", " %}
17
- {% endcapture %}
18
-
19
- <p class="post-date heading">
20
- <time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%d %b %Y" }}</time>{% if post.categories.size > 0 or post.tags.size > 0 %}, {% endif %}
21
- {{ categories_content }}
22
- {{ tags_content }}
23
15
  </p>
24
- </header>
25
16
 
26
- {% include message.html text=post.description %}
27
- <hr/>
17
+ {% include message.html text=post.description %}
18
+ </header>
28
19
 
29
20
  {% unless include.excerpt %}
30
21
  {{ post.content }}
31
22
  {% else %}
32
23
  {{ post.excerpt }}
33
- <hr/>
34
24
  <p class="read-more">Continue reading <a class="heading" href="{{ post.url | relative_url }}" data-flip="title">{{ post.title }}</a></p>
35
25
  {% endunless %}
36
26
 
37
27
  </article>
28
+
29
+ {% unless include.link_title %}
30
+ <hr class="dingbat" />
31
+ {% endunless %}
@@ -1,8 +1,7 @@
1
1
  {% assign post = include.post %}
2
2
 
3
3
  <aside class="related" role="complementary">
4
- <h2>Related Posts</h2>
5
- <hr/>
4
+ <h2 class="hr">Related Posts</h2>
6
5
 
7
6
  <ul class="related-posts">
8
7
  {% if site.use_lsi %}
@@ -7,20 +7,17 @@
7
7
  </script>
8
8
  {% endif %}
9
9
 
10
- {% assign google_fonts = site.google_fonts %}
11
- {% unless site.font and site.font_heading and google_fonts %}
12
- {% assign google_fonts = "Roboto+Slab:700|Noto+Serif:400,400i,700,700i" %}
13
- {% endunless %}
10
+ {% assign google_fonts = site.google_fonts | default:"Roboto+Slab:700|Noto+Serif:400,400i,700,700i" %}
14
11
 
15
12
  {% capture icons_url %}{% link assets/icomoon/style.css %}{% endcapture %}
16
13
  <!--[if gt IE 8]><!---->
17
14
  <script>
18
15
  WebFontConfig = {
19
- {% if google_fonts %}
16
+ {% unless site.no_google_fonts %}
20
17
  google: {
21
18
  families: '{{ google_fonts }}'.split('|')
22
19
  },
23
- {% endif %}
20
+ {% endunless %}
24
21
 
25
22
  custom: {
26
23
  families: ['icomoon'],
@@ -32,14 +29,12 @@
32
29
  <!--<![endif]-->
33
30
 
34
31
  {% unless page.redirect %}
32
+ <!--[if gt IE 9]><!---->
33
+ {% capture js_url %}{% link assets/js/hydejack.js %}?v=6.4.0{% endcapture %}
34
+ <script>loadJSDeferred('{{ js_url | relative_url }}');</script>
35
35
 
36
- <!--[if gt IE 9]><!---->
37
- {% capture js_url %}{% link assets/js/hydejack.js %}?v=6.3.0{% endcapture %}
38
- <script>loadJSDeferred('{{ js_url | relative_url }}');</script>
39
-
40
- {% comment %}
41
- {% include my-scripts.html %}
42
- {% endcomment %}
43
-
44
- <!--<![endif]-->
36
+ {% comment %}
37
+ {% include my-scripts.html %}
38
+ {% endcomment %}
39
+ <!--<![endif]-->
45
40
  {% endunless %}
@@ -1,5 +1,5 @@
1
1
  {% if include.img.src or include.img.srcset %}
2
- {% assign srcset = '' %}
2
+ {% assign srcset = null %}
3
3
 
4
4
  {% if include.img.srcset %}
5
5
  {% capture srcset %}
@@ -8,16 +8,16 @@
8
8
  {% endif %}
9
9
 
10
10
  <img
11
- class="{{ include.class }}"
12
- alt="{{ include.alt }}"
13
11
  src="{{ include.img.src }}"
14
- srcset="{{ srcset | strip }}"
15
- sizes="{{ include.sizes }}"
12
+ {% if include.class %}class="{{ include.class }}"{% endif %}
13
+ {% if include.alt %}alt="{{ include.alt }}"{% endif %}
14
+ {% if srcset %}srcset="{{ srcset | strip }}"{% endif %}
15
+ {% if include.sizes %}sizes="{{ include.sizes }}"{% endif %}
16
16
  />
17
17
  {% else %}
18
18
  <img
19
- class="{{ include.class }}"
20
- alt="{{ include.alt }}"
21
19
  src="{{ include.img }}"
20
+ {% if include.class %}class="{{ include.class }}"{% endif %}
21
+ {% if include.alt %}alt="{{ include.alt }}"{% endif %}
22
22
  />
23
23
  {% endif %}
@@ -5,6 +5,7 @@
5
5
  // @import "pooleparty/base";
6
6
  @import "pooleparty/type-inline";
7
7
  // @import "pooleparty/type";
8
+ @import "pooleparty/table-inline";
8
9
  // @import "pooleparty/table";
9
10
  // @import "pooleparty/footnotes";
10
11
  // @import "pooleparty/code";
@@ -34,19 +35,14 @@
34
35
  // @import "syntax";
35
36
  // @import "spinner";
36
37
 
37
- {% assign font = site.font %}
38
- {% assign font_heading = site.font_heading %}
39
- {% assign google_fonts = site.google_fonts %}
40
- {% unless font or font_heading or google_fonts %}
41
- {% assign font = "'Noto Serif', Georgia, serif" %}
42
- {% assign font_heading = "'Roboto Slab', Helvetica, Arial, sans-serif" %}
43
- {% assign google_fonts = "Roboto+Slab:700|Noto+Serif:400,400i,700,700i" %}
44
- {% endunless %}
38
+ {% assign font = site.font | default:"'Noto Serif', Georgia, serif" %}
39
+ {% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
40
+ {% assign google_fonts = site.google_fonts | default:"Roboto+Slab:700|Noto+Serif:400,400i,700,700i" %}
45
41
 
46
- {% if google_fonts %}
42
+ {% unless site.no_google_fonts %}
47
43
  {% assign font = font | split:',' | shift | join:',' %}
48
44
  {% assign font_heading = font_heading | split:',' | shift | join:',' %}
49
- {% endif %}
45
+ {% endunless %}
50
46
 
51
47
  html { font-family: {{ font | default:"serif" }}; }
52
48
  h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: {{ font_heading | default:"serif" }}; }
@@ -5,6 +5,7 @@
5
5
  @import "pooleparty/base";
6
6
  // @import "pooleparty/type-inline";
7
7
  @import "pooleparty/type";
8
+ // @import "pooleparty/table-inline";
8
9
  @import "pooleparty/table";
9
10
  @import "pooleparty/footnotes";
10
11
  @import "pooleparty/code";
@@ -34,24 +35,16 @@
34
35
  @import "syntax";
35
36
  @import "spinner";
36
37
 
37
- {% assign font = site.font %}
38
- {% assign font_heading = site.font_heading %}
39
- {% assign google_fonts = site.google_fonts %}
40
- {% unless font or font_heading or google_fonts %}
41
- {% assign font = "'Noto Serif', Georgia, serif" %}
42
- {% assign font_heading = "'Roboto Slab', Helvetica, Arial, sans-serif" %}
43
- {% assign google_fonts = "Roboto+Slab:700|Noto+Serif:400,400i,700,700i" %}
44
- {% endunless %}
45
-
46
- {% if google_fonts %}
47
- {% assign font = font | split:',' | first %}
48
- {% assign font_heading = font_heading | split:',' | first %}
38
+ {% assign font = site.font | default:"'Noto Serif', Georgia, serif" %}
39
+ {% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
40
+ {% assign google_fonts = site.google_fonts | default:"Roboto+Slab:700|Noto+Serif:400,400i,700,700i" %}
49
41
 
42
+ {% unless site.no_google_fonts %}
50
43
  .wf-active {
51
44
  font-family: {{ font | default:"serif" }};
52
45
  h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: {{ font_heading | default:"serif" }}; }
53
46
  }
54
- {% endif %}
47
+ {% endunless %}
55
48
 
56
49
  {% unless site.no_mark_external %}
57
50
  @media screen {
@@ -9,8 +9,7 @@ layout: base
9
9
  {% include srcset-img.html class="me" img=author.picture alt=author.name %}
10
10
  {% endif %}
11
11
 
12
- <h1 class="page-title">{{ page.title }}</h1>
13
- <hr/>
12
+ <h1 class="page-title hr" style="padding-bottom:1rem">{{ page.title }}</h1>
14
13
 
15
14
  {{ author.about | markdownify }}
16
15