minimal-jekyll-theme 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +1 -0
  3. data/LICENSE.txt +5 -0
  4. data/README.md +54 -0
  5. data/_includes/author_bio.html +39 -0
  6. data/_includes/category_tag_list.html +20 -0
  7. data/_includes/disqus_comments.html +17 -0
  8. data/_includes/figure +12 -0
  9. data/_includes/footer.html +20 -0
  10. data/_includes/head.html +46 -0
  11. data/_includes/header.html +38 -0
  12. data/_includes/navigation.html +26 -0
  13. data/_includes/newsletter.html +19 -0
  14. data/_includes/post_meta.html +49 -0
  15. data/_includes/read_time.html +18 -0
  16. data/_includes/share_icons.html +30 -0
  17. data/_includes/sidebar.html +17 -0
  18. data/_includes/video +3 -0
  19. data/_layouts/default.html +17 -0
  20. data/_layouts/home.html +40 -0
  21. data/_layouts/page.html +25 -0
  22. data/_layouts/post.html +50 -0
  23. data/_sass/_custom.scss +137 -0
  24. data/_sass/_tachyons.scss +94 -0
  25. data/_sass/_variables.scss +38 -0
  26. data/_sass/scss/_aspect-ratios.scss +142 -0
  27. data/_sass/scss/_background-position.scss +133 -0
  28. data/_sass/scss/_background-size.scss +41 -0
  29. data/_sass/scss/_border-colors.scss +93 -0
  30. data/_sass/scss/_border-radius.scss +134 -0
  31. data/_sass/scss/_border-style.scss +55 -0
  32. data/_sass/scss/_border-widths.scss +81 -0
  33. data/_sass/scss/_borders.scss +65 -0
  34. data/_sass/scss/_box-shadow.scss +48 -0
  35. data/_sass/scss/_box-sizing.scss +50 -0
  36. data/_sass/scss/_clears.scss +47 -0
  37. data/_sass/scss/_code.scss +18 -0
  38. data/_sass/scss/_colors.scss +84 -0
  39. data/_sass/scss/_coordinates.scss +153 -0
  40. data/_sass/scss/_debug-children.scss +21 -0
  41. data/_sass/scss/_debug-grid.scss +33 -0
  42. data/_sass/scss/_debug.scss +127 -0
  43. data/_sass/scss/_debug_children.scss +18 -0
  44. data/_sass/scss/_display.scss +111 -0
  45. data/_sass/scss/_flexbox.scss +229 -0
  46. data/_sass/scss/_floats.scss +56 -0
  47. data/_sass/scss/_font-family.scss +107 -0
  48. data/_sass/scss/_font-style.scss +36 -0
  49. data/_sass/scss/_font-weight.scss +87 -0
  50. data/_sass/scss/_forms.scss +23 -0
  51. data/_sass/scss/_gradients.scss +29 -0
  52. data/_sass/scss/_heights.scss +131 -0
  53. data/_sass/scss/_hovers.scss +166 -0
  54. data/_sass/scss/_images.scss +18 -0
  55. data/_sass/scss/_letter-spacing.scss +40 -0
  56. data/_sass/scss/_line-height.scss +41 -0
  57. data/_sass/scss/_links.scss +34 -0
  58. data/_sass/scss/_lists.scss +15 -0
  59. data/_sass/scss/_max-widths.scss +105 -0
  60. data/_sass/scss/_media-queries.scss +43 -0
  61. data/_sass/scss/_module-template.scss +29 -0
  62. data/_sass/scss/_negative-margins.scss +206 -0
  63. data/_sass/scss/_nested.scss +64 -0
  64. data/_sass/scss/_normalize.scss +434 -0
  65. data/_sass/scss/_opacity.scss +27 -0
  66. data/_sass/scss/_outlines.scss +39 -0
  67. data/_sass/scss/_overflow.scss +82 -0
  68. data/_sass/scss/_position.scss +44 -0
  69. data/_sass/scss/_rotations.scss +50 -0
  70. data/_sass/scss/_skins-pseudo.scss +243 -0
  71. data/_sass/scss/_skins.scss +143 -0
  72. data/_sass/scss/_spacing.scss +956 -0
  73. data/_sass/scss/_styles.scss +15 -0
  74. data/_sass/scss/_tables.scss +42 -0
  75. data/_sass/scss/_text-align.scss +49 -0
  76. data/_sass/scss/_text-decoration.scss +42 -0
  77. data/_sass/scss/_text-transform.scss +53 -0
  78. data/_sass/scss/_type-scale.scss +102 -0
  79. data/_sass/scss/_typography.scss +129 -0
  80. data/_sass/scss/_utilities.scss +48 -0
  81. data/_sass/scss/_vertical-align.scss +43 -0
  82. data/_sass/scss/_visibility.scss +58 -0
  83. data/_sass/scss/_white-space.scss +41 -0
  84. data/_sass/scss/_widths.scss +150 -0
  85. data/_sass/scss/_word-break.scss +43 -0
  86. data/_sass/scss/_z-index.scss +60 -0
  87. data/assets/css/minimal.scss +20 -0
  88. metadata +91 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f4e3df09d7b82473a805232d7225079c6b4989de
4
- data.tar.gz: 69c4c268a07430912d708ef3f7e752ed33e3394b
3
+ metadata.gz: 2c539dcfc6a4231c62aa3cdf1979c3605adf48a5
4
+ data.tar.gz: be131b6ddb7953d342c39eae870f737d9ad268b5
5
5
  SHA512:
6
- metadata.gz: 027123066cea5006e0b1c1d8e26916cb1ebb806e9bca0a2a8f82768c4b96b4bbf6bddeeecdae72fc2ce7e3e6b40e232a8541ae38da0d36dba4c9d06c6d041fda
7
- data.tar.gz: b34d3fb981aca041b91e37b175981eb398026d587dab513ff4171c99cbf779fc1aee1e7845e128794ab39feed41ec60fa686dbef841df5055f138ae056d4e4ed
6
+ metadata.gz: 47e403cd4d2f61755527187209bdffcde90bf658edcf9a43ce266366b377bd0de03b121b2d45215e8e4245cc7447f9ae1cdb6c5575bd400f91098a6962bceeaa
7
+ data.tar.gz: bb9e59f5a3c94ca7054fb0329ab2416423524fc287b03feb60711dcad964ade1008821f1ce48f4afabc0aa38626c6c46a45bd09c0a3cee109765042b243821cd
data/CHANGELOG.md ADDED
@@ -0,0 +1 @@
1
+
data/LICENSE.txt ADDED
@@ -0,0 +1,5 @@
1
+
2
+ Copyright (c) 2017 Desired Persona
3
+
4
+ Creative Commons Attribution 4.0
5
+ https://creativecommons.org/licenses/by/4.0/
data/README.md ADDED
@@ -0,0 +1,54 @@
1
+ # Minimal Jekyll Theme
2
+
3
+ **Subscribe to my [Newsletter for more Themes](https://desiredpersona.com/themes).**
4
+
5
+ ## Homepage Layout With Latest Blog Posts
6
+ ![Minimal Jekyll Theme - homepage layout](/screenshot.png)
7
+
8
+ ## Post Layout With Hero Image And Call-To-Action
9
+ ![Minimal Jekyll Theme - Post layout with hero image and cta](/screenshot-post-hero.png)
10
+
11
+ ## Post Layout
12
+ ![Minimal Jekyll Theme - Post layout](/screenshot-post-layout.png)
13
+
14
+
15
+ ## Features
16
+
17
+ - Compatible with Jekyll 3.4.x and GitHub Pages.
18
+ - Support for Jekyll's built-in Sass/SCSS preprocessor.
19
+ - Built with [Tachyons-sass](https://github.com/tachyons-css/tachyons-sass).
20
+ - Several layout options (one-column pages, two-column pages, posts, archive, landing pages).
21
+ - SEO optimized using [Jekyll-seo-tag](https://github.com/jekyll/jekyll-seo-tag).
22
+ - Optional [Disqus comments](https://disqus.com/).
23
+ - Optional analytics ([Google Analytics](https://www.google.com/analytics/) and custom).
24
+ - Multiple author support.
25
+ - System-fonts
26
+
27
+
28
+ ## Installation
29
+
30
+ Please read the [theme documentation](https://github.com/desiredpersona/minimal-jekyll-theme/tree/master/example/_docs)
31
+
32
+
33
+ ## Credits
34
+
35
+ ### Creator
36
+
37
+ Desired Persona
38
+
39
+ - <https://desiredpersona.com>
40
+ - <https://twitter.com/desiredpersona>
41
+ - <https://github.com/desiredpersona>
42
+
43
+ ### Thanks to:
44
+
45
+ - [Jekyll](http://jekyllrb.com)
46
+ - [Tachyons](http://tachyons.io)
47
+
48
+ ## Contributing
49
+
50
+ Bug reports and pull requests are welcome on GitHub at [https://github.com/desiredpersona/minimal-jekyll-theme](https://github.com/desiredpersona/minimal-jekyll-theme).
51
+
52
+ ## License
53
+
54
+ The theme is available as open source under the terms of the [Creative Commons Attribution 4.0 (CC-BY-4.0)](https://creativecommons.org/licenses/by/4.0/).
@@ -0,0 +1,39 @@
1
+ {% if page.author_bio != false %}
2
+
3
+ {% if page.author and site.data.authors[page.author] %}
4
+ {% assign author = site.data.authors[page.author] %}
5
+ {% else %}
6
+ {% assign author = site.author %}
7
+ {% endif %}
8
+
9
+ <div class="flex flex-row w-100 mt2 lh-copy bt b--light-gray pv3" itemscope itemtype="http://schema.org/Person">
10
+ <div class="flex items-start">
11
+ {% if author.url contains "://" %}
12
+ <a href="{{ author.url }}" target="_blank"><img src="{{ author.avatar }}" alt="{{ author.name }}" class="w2 h2 w3-ns h3-ns br-100"></a>
13
+ {% else %}
14
+ <a href="{{ author.url | relative_url }}"><img src="{{ author.avatar | absolute_url }}" alt="{{ author.name }}" class="w2 h2 w3-ns h3-ns br-100"></a>
15
+ {% endif %}
16
+ </div>
17
+
18
+ <div class="flex flex-column w-90 pl2 pl3-ns">
19
+ <div class="flex flex-row">
20
+ {% if author.url contains "://" %}
21
+ <a class="f5 f4-ns fw4 link lh-title black mr2" href="{{ author.url }}" target="_blank">{{ author.name }}</a>
22
+ {% else %}
23
+ <a class="f5 f4-ns fw4 link lh-title black mr2" href="{{ author.url | relative_url }}">{{ author.name }}</a>
24
+ {% endif %}
25
+
26
+ {% if author.cta_url contains "://" %}
27
+ <a class="flex items-center f6 fw3 link{{ site.data.theme.ui.author.cta.class | join: ' ' | prepend: ' ' }} ph2" href="{{ author.cta_url }}" target="_blank">{{ author.cta | default: "Subscribe" }}</a>
28
+ {% else %}
29
+ <a class="flex items-center f6 fw3 link{{ site.data.theme.ui.author.cta.class | join: ' ' | prepend: ' ' }} ph2" href="{{ author.cta_url | relative_url }}" target="_blank">{{ author.cta | default: "Subscribe" }}</a>
30
+ {% endif %}
31
+ </div>
32
+
33
+
34
+ <div class="f6 f5-ns fw3 lh-copy light-silver">{{ author.bio }}</div>
35
+ </div>
36
+
37
+ </div>
38
+
39
+ {% endif %}
@@ -0,0 +1,20 @@
1
+ {% if page.category_tag_list != false %}
2
+ <div class="flex flex-row justify-start flex-wrap list mb2">
3
+ {% if post %}
4
+ {% assign categories = post.categories %}
5
+ {% assign tags = post.tags %}
6
+ {% else %}
7
+ {% assign categories = page.categories %}
8
+ {% assign tags = page.tags %}
9
+ {% endif %}
10
+
11
+ {% for category in categories %}
12
+ <a class="f6 br1 mt2 mr1 pa2 link black-60 hover-dark-gray bg-near-white hover-bg-black-10" href="{{ "/categories/" | absolute_url }}#{{ category | slugify }}">{{ category }}</a>
13
+ {% endfor %}
14
+
15
+ {% for tag in tags %}
16
+ <a class="f6 br1 mt2 mr1 pa2 link black-60 hover-dark-gray bg-near-white hover-bg-black-10" href="{{ "/tags/" | absolute_url }}#{{ tag | slugify }}">{{ tag }}</a>
17
+ {% endfor %}
18
+
19
+ </div>
20
+ {% endif %}
@@ -0,0 +1,17 @@
1
+ {% if page.comments != false %}
2
+
3
+ <div id="disqus_thread"></div>
4
+ <script>
5
+ var disqus_config = function () {
6
+ this.page.url = '{{ page.url | absolute_url }}';
7
+ this.page.identifier = '{{ page.url | absolute_url }}';
8
+ };
9
+ (function() {
10
+ var d = document, s = d.createElement('script');
11
+ s.src = 'https://{{ site.data.theme.disqus.shortname }}.disqus.com/embed.js';
12
+ s.setAttribute('data-timestamp', +new Date());
13
+ (d.head || d.body).appendChild(s);
14
+ })();
15
+ </script>
16
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
17
+ {% endif %}
data/_includes/figure ADDED
@@ -0,0 +1,12 @@
1
+ <figure class="{{ include.class }}">
2
+ <img src=
3
+ {% if include.image_path contains "://" %}
4
+ "{{ include.image_path }}"
5
+ {% else %}
6
+ "{{ include.image_path | absolute_url }}"
7
+ {% endif %}
8
+ alt="{% if include.alt %}{{ include.alt }}{% endif %}">
9
+ {% if include.caption %}
10
+ <figcaption>{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}</figcaption>
11
+ {% endif %}
12
+ </figure>
@@ -0,0 +1,20 @@
1
+ <footer class="flex justify-start items-baseline {% if page.sidebar %}mw8{% else %}mw7{% endif %} center w-100 ph3 ph4-m mt4 mb2 lh-copy">
2
+ <nav class="flex flex-row flex-wrap">
3
+ <span class="f7 fw3 light-silver mr3 ttc"><a href="{{ '/' | absolute_url }}" class="f7 fw5 b light-silver link underline-hover" title="{{ site.title }}">{{ site.title | capitalize }}</a> &copy; {{ site.time | date: '%Y' }}</span>
4
+
5
+ {% if site.data.theme.navigation.footer %}
6
+ {% for link in site.data.theme.navigation.footer %}
7
+ {% if link.url contains 'http' or 'mailto' %}
8
+ {% assign domain = '' %}
9
+ {% else %}
10
+ {% assign domain = site.url | append: site.baseurl %}
11
+ {% endif %}
12
+ <a href="{{ domain }}{{ link.url }}" class="f7 fw3 light-silver link underline-hover mr3" {% if link.url contains 'http' %}target="_blank"{% endif %}>{{ link.title | capitalize }}</a>
13
+ {% endfor %}
14
+ {% endif %}
15
+
16
+ {% if site.data.theme.attribution == true %}
17
+ <span class="f7 fw3 light-silver mr3">Designed with <a href="https://desiredpersona.com/themes/" class="f7 fw3 light-silver link underline-hover mr3" target="_blank">Minimal</a></span>
18
+ {% endif %}
19
+ </nav>
20
+ </footer>
@@ -0,0 +1,46 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+
6
+ <!-- Meta Robots Tag -->
7
+ {% if page.meta_robots %}<meta name="robots" content="{{ page.meta_robots }}">{% else %}<meta name="robots" content="all">{% endif %}
8
+
9
+ <!-- Site Author -->
10
+ <meta name="author" content="{{ site.author }}">
11
+
12
+ <!-- Atom Feed -->
13
+ <link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
14
+
15
+ <!-- Stylesheet -->
16
+ <link rel="stylesheet" href="{{ '/assets/css/minimal.css' | relative_url }}">
17
+
18
+ <!-- Favicon -->
19
+ <link rel="icon" type="image/png" href="/favicon.png">
20
+
21
+ <!-- Analytics -->
22
+ {% if site.google_analytics and jekyll.environment == 'production' %}
23
+ {% include analytics.html %}
24
+ {% endif %}
25
+
26
+ {% if site.google_site_verification %}
27
+ <meta name="google-site-verification" content="{{ site.google_site_verification }}">
28
+ {% endif %}
29
+
30
+ {% if site.bing_site_verification %}
31
+ <meta name="msvalidate.01" content="{{ site.bing_site_verification }}">
32
+ {% endif %}
33
+
34
+ {% if site.fb_page %}
35
+ <meta property="fb:pages" content="{{ site.fb_page_id }}">
36
+ {% endif %}
37
+
38
+ <!-- SEO -->
39
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
40
+
41
+ {% if page.categories %}
42
+ <meta name="keywords" content="{{ page.categories | join: ', ' }}">
43
+ {% endif %}
44
+
45
+ {% seo %}
46
+ </head>
@@ -0,0 +1,38 @@
1
+ {% unless page.header.navigation == 'fancy' %}
2
+ {% include navigation.html %}
3
+ {% endunless %}
4
+
5
+
6
+ {% if page.header.layout == 'hero' %}
7
+ <header class="flex flex-column cover w-100 vh-50 vh-75-l bg-left bg-center-l" style="background-image: url({{ page.header.image | absolute_url }})">
8
+ {% if page.header.navigation == 'fancy' %}
9
+ {% include navigation.html %}
10
+ {% endif %}
11
+ <div class="flex flex-auto flex-column justify-center">
12
+ <div class="flex flex-column items-start items-center-l mw9 mw7-m center w-100 ph3 ph4-ns">
13
+ <h1 class="f2 f1-l fw6 lh-title white mv0">{{ page.title }}</h1>
14
+ {% if page.subtitle %}
15
+ <h2 class="f4 f3-l fw3 white-90 mt3 mb3">{{ page.subtitle }}</h2>
16
+ {% endif %}
17
+
18
+ {% if page.header.cta_url contains "://" %}
19
+ <a class="f5 f4-ns no-underline dib grow{% if page.header.cta.class %}{{ page.header.cta.class | join: ' ' | prepend: ' ' }}{% else %}{{ site.data.theme.ui.header.cta.class | join: ' ' | prepend: ' ' }}{% endif %} ph4 pv3 mb3" href="{{ page.header.cta_url }}" target="_blank" rel="nofollow">{{ page.header.cta }}</a>
20
+ {% elsif page.header.cta_url %}
21
+ <a class="f5 f4-ns no-underline dib grow{% if page.header.cta.class %}{{ page.header.cta.class | join: ' ' | prepend: ' ' }}{% else %}{{ site.data.theme.ui.header.cta.class | join: ' ' | prepend: ' ' }}{% endif %} ph4 pv3 mb3" href="{{ page.header.cta_url | absolute_url }}">{{ page.header.cta }}</a>
22
+ {% endif %}
23
+ </div>
24
+ </div>
25
+ </header>
26
+
27
+ {% elsif page.header.layout == 'header' %}
28
+ <header class="flex flex-column cover w-100 vh-50 vh-75-l bg-left bg-center-l" style="background-image: url({{ page.header.image | absolute_url }})">
29
+ {% if page.header.navigation == 'fancy' %}
30
+ {% include navigation.html %}
31
+ {% endif %}
32
+ </header>
33
+ {% endif %}
34
+
35
+
36
+ {% if page.header.attribution %}
37
+ <span class="flex flex-row justify-center f6 fw3 light-silver pv2 ph3">{{ site.data.theme.text.attribution }}&colon;&nbsp; {{ page.header.attribution | markdownify | remove: "<p>" | remove: "</p>" }}</span>
38
+ {% endif %}
@@ -0,0 +1,26 @@
1
+ <div class="flex-l justify-between items-center mw7 mw8-l w-100 {% if page.sidebar %}center-l{% else %}center{% endif %} pa3 ph4-m">
2
+ {% if page.header.navigation == 'fancy' %}
3
+ <a class="white link f2 f3-l fw4 dim mr3" href="{{ '/' | absolute_url }}" title="Home">{{ site.title }}</a>
4
+ {% else %}
5
+ <a class="black link f2 f3-l fw4 dim mr3" href="{{ '/' | absolute_url }}" title="Home">{{ site.title }}</a>
6
+ {% endif %}
7
+
8
+ <div class="flex-l items-center">
9
+ <nav class="nowrap overflow-x-auto">
10
+ {% for link in site.data.theme.navigation.main %}
11
+ {% if link.url contains 'http' or 'mailto' %}
12
+ {% assign domain = '' %}
13
+ {% else %}
14
+ {% assign domain = site.url | append: site.baseurl %}
15
+ {% endif %}
16
+
17
+ {% if page.header.navigation == 'fancy' %}
18
+ <a href="{{ domain }}{{ link.url }}" class="white link dim f4 f5-ns fw3 mr3 mt2" {% if link.url contains 'http' %}target="_blank"{% endif %}>{{ link.title }}</a>
19
+ {% else %}
20
+ <a href="{{ domain }}{{ link.url }}" class="black link dim f4 f5-ns fw3 mr3 mt2" {% if link.url contains 'http' %}target="_blank"{% endif %}>{{ link.title }}</a>
21
+ {% endif %}
22
+
23
+ {% endfor %}
24
+ </nav>
25
+ </div>
26
+ </div>
@@ -0,0 +1,19 @@
1
+ <div class="mb4 measure-narrow">
2
+ <form action="{{ page.newsletter.url }}" method="POST" target="_blank" accept-charset="utf-8">
3
+
4
+ <div class="mt2">
5
+ <label class="db f6 fw4 lh-copy" for="name">First name</label>
6
+ <input class="f5 f4-ns fw3 pa2 ba bg-white w-100 input-reset" type="text" name="name" id="name">
7
+ </div>
8
+
9
+ <div class="mt3">
10
+ <label class="db f6 fw4 lh-copy" for="email">Email address</label>
11
+ <input class="f5 f4-ns fw3 pa2 ba bg-white w-100 input-reset" type="text" name="email" id="email">
12
+ </div>
13
+
14
+ <div class="mt3">
15
+ <input type="hidden" name="list" value="{{ page.newsletter.list }}">
16
+ <input class="f6 f5-ns fw4 white pa2 ba b--green bg-green w-100 grow pointer input-reset" type="submit" name="submit" value="Subscribe">
17
+ </div>
18
+ </form>
19
+ </div>
@@ -0,0 +1,49 @@
1
+ {% if page.post_meta != false %}
2
+
3
+ {% if page.author and site.data.authors[page.author] %}
4
+ {% assign author = site.data.authors[page.author] %}
5
+ {% else %}
6
+ {% assign author = site.author %}
7
+ {% endif %}
8
+
9
+
10
+ <div class="flex flex-row w-100 mt4 lh-copy">
11
+ <div class="flex self-center">
12
+ {% if author.url contains "://" %}
13
+ <a href="{{ author.url }}" target="_blank"><img src="{{ author.avatar }}" alt="{{ author.name }}" class="w2 h2 w3-ns h3-ns br-100"></a>
14
+ {% else %}
15
+ <a href="{{ author.url | relative_url }}"><img src="{{ author.avatar | absolute_url }}" alt="{{ author.name }}" class="w2 h2 w3-ns h3-ns br-100"></a>
16
+ {% endif %}
17
+ </div>
18
+
19
+ <div class="flex flex-column self-center w-90 pl2 pl3-ns">
20
+ <div class="flex flex-row items-center">
21
+ {% if author.url contains "://" %}
22
+ <a class="f5 fw4 lh-copy link lh-title black mr2" href="{{ author.url }}" target="_blank">{{ author.name }}</a>
23
+ {% else %}
24
+ <a class="f5 fw4 lh-copy link lh-title black mr2" href="{{ author.url | relative_url }}">{{ author.name }}</a>
25
+ {% endif %}
26
+
27
+ {% if author.cta_url contains "://" %}
28
+ <a class="f6 fw3 lh-copy link{{ site.data.theme.ui.author.cta.class | join: ' ' | prepend: ' ' }} ph2" href="{{ author.cta_url }}" target="_blank">{{ author.cta | default: "Subscribe" }}</a>
29
+ {% else %}
30
+ <a class="f6 fw3 lh-copy link{{ site.data.theme.ui.author.cta.class | join: ' ' | prepend: ' ' }} ph2" href="{{ author.cta_url | relative_url }}">{{ author.cta | default: "Subscribe" }}</a>
31
+ {% endif %}
32
+ </div>
33
+
34
+ <div class="flex flex-wrap f6 fw3 lh-copy light-silver">{{ author.post_meta_bio }}</div>
35
+
36
+ <div class="f6 fw3 lh-copy light-silver">
37
+ {% if page.last_modified_at %}
38
+ <span>{{ site.data.theme.text.updated }} {{ page.last_modified_at | date: site.date_format }}</span>
39
+ {% else %}
40
+ <span>{{ page.date | date: site.date_format }}</span>
41
+ {% endif %}
42
+
43
+ <span class="ttl"> &middot;
44
+ {% include read_time.html %}
45
+ </span>
46
+ </div>
47
+ </div>
48
+ </div>
49
+ {% endif %}
@@ -0,0 +1,18 @@
1
+ {% if post %}
2
+ {% assign words = post.content | strip_html | number_of_words %}
3
+ {% elsif page %}
4
+ {% assign words = page.content | strip_html | number_of_words %}
5
+ {% endif %}
6
+
7
+
8
+ {% if site.data.theme.text.words_per_minute %}
9
+ {% if words < 180 %}
10
+ {{ site.data.theme.text.less_than | default: "less than" }} 1 {{ site.data.theme.text.minute_read | default: "min read" }}
11
+ {% elsif words < 360 %}
12
+ 1 {{ site.data.theme.text.minute_read | default: "min read" }}
13
+ {% else %}
14
+ {{ words | divided_by:site.data.theme.text.words_per_minute }} {{ site.data.theme.text.minute_read | default: "min read" }}
15
+ {% endif %}
16
+ {% else %}
17
+ {{ site.data.theme.text.undefined_wpm }}
18
+ {% endif %}
@@ -0,0 +1,30 @@
1
+ {% if page.share_icons != false %}
2
+ <div class="flex flex-row justify-end">
3
+
4
+ {% if site.twitter_icon != false %}
5
+ <a class="link black-60 hover-dark-gray w2 ml3" href="https://twitter.com/intent/tweet?{% if site.text.twitter.username %}via={{ site.text.twitter.username }}&{% endif %}text={{ page.title }} {{ page.url | absolute_url }}" title="Share on Twitter" aria-hidden="true">
6
+ <svg viewBox="0 0 20 20" data-icon="twitter" style="fill:currentcolor">
7
+ <path xmlns="http://www.w3.org/2000/svg" d="M14.467,6.707c-0.34,0.198-0.715,0.342-1.115,0.419c-0.318-0.335-0.775-0.545-1.279-0.545c-0.969,0-1.754,0.773-1.754,1.727c0,0.135,0.015,0.267,0.045,0.394C8.905,8.628,7.612,7.94,6.747,6.896C6.596,7.151,6.509,7.448,6.509,7.764c0,0.599,0.31,1.128,0.78,1.438C7.002,9.192,6.732,9.115,6.495,8.985c0,0.007,0,0.014,0,0.021c0,0.837,0.605,1.535,1.408,1.694c-0.147,0.04-0.302,0.06-0.462,0.06c-0.113,0-0.223-0.011-0.33-0.031c0.223,0.687,0.871,1.186,1.638,1.199c-0.6,0.464-1.356,0.739-2.179,0.739c-0.142,0-0.281-0.007-0.418-0.023c0.777,0.489,1.699,0.775,2.689,0.775c3.228,0,4.991-2.63,4.991-4.913c0-0.075-0.002-0.149-0.004-0.223c0.342-0.244,0.639-0.547,0.875-0.894c-0.316,0.137-0.652,0.23-1.008,0.272C14.057,7.448,14.336,7.11,14.467,6.707 M10,0.594c-5.195,0-9.406,4.211-9.406,9.406c0,5.195,4.211,9.406,9.406,9.406c5.196,0,9.407-4.211,9.407-9.406C19.406,4.805,15.195,0.594,10,0.594 M10,18.552c-4.723,0-8.551-3.829-8.551-8.552S5.277,1.449,10,1.449c4.723,0,8.551,3.829,8.551,8.551S14.723,18.552,10,18.552"></path>
8
+ </svg>
9
+ </a>
10
+ {% endif %}
11
+
12
+ {% if site.facebook_icon != false %}
13
+ <a class="link black-60 hover-dark-gray w2 ml3" href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url }}" title="Share on Facebook" aria-hidden="true">
14
+ <svg viewBox="0 0 20 20" data-icon="facebook" style="fill:currentcolor">
15
+ <path xmlns="http://www.w3.org/2000/svg" d="M10,0.5c-5.247,0-9.5,4.253-9.5,9.5c0,5.247,4.253,9.5,9.5,9.5c5.247,0,9.5-4.253,9.5-9.5C19.5,4.753,15.247,0.5,10,0.5 M10,18.637c-4.77,0-8.636-3.867-8.636-8.637S5.23,1.364,10,1.364S18.637,5.23,18.637,10S14.77,18.637,10,18.637 M10.858,7.949c0-0.349,0.036-0.536,0.573-0.536h0.719v-1.3H11c-1.38,0-1.866,0.65-1.866,1.743v0.845h-0.86V10h0.86v3.887h1.723V10h1.149l0.152-1.299h-1.302L10.858,7.949z"></path>
16
+ </svg>
17
+ </a>
18
+
19
+ {% endif %}
20
+
21
+ {% if site.google_plus_icon != false %}
22
+ <a class="link black-60 hover-dark-gray w2 ml3" href="https://plus.google.com/share?url={{ page.url | absolute_url }}" title="Share on Google+" aria-hidden="true">
23
+ <svg viewBox="0 0 20 20" data-icon="google plus" style="fill:currentcolor">
24
+ <path xmlns="http://www.w3.org/2000/svg" d="M10,0.562c-5.212,0-9.438,4.226-9.438,9.438c0,5.213,4.226,9.438,9.438,9.438c5.212,0,9.438-4.225,9.438-9.438C19.438,4.788,15.212,0.562,10,0.562 M10,18.58c-4.738,0-8.58-3.841-8.58-8.58c0-4.738,3.842-8.58,8.58-8.58c4.737,0,8.579,3.841,8.579,8.58C18.579,14.739,14.737,18.58,10,18.58 M10.033,10.346C9.813,10.183,9.608,9.94,9.6,9.865c0-0.128,0-0.188,0.303-0.435c0.393-0.322,0.609-0.745,0.609-1.192c0-0.387-0.108-0.731-0.293-0.982h0.164l0.908-0.688H8.832c-0.986,0-1.851,0.774-1.851,1.657c0,0.912,0.667,1.604,1.565,1.642C8.533,9.933,8.525,9.996,8.525,10.06c0,0.131,0.03,0.257,0.09,0.378c-1.113,0.007-2.05,0.752-2.05,1.632c0,0.789,0.902,1.362,2.145,1.362c1.343,0,2.067-0.84,2.067-1.631C10.778,11.143,10.576,10.748,10.033,10.346 M8.026,8.198C7.985,7.869,8.054,7.565,8.212,7.384c0.096-0.11,0.22-0.169,0.358-0.169V7.036l0.016,0.179c0.412,0.014,0.807,0.501,0.88,1.086c0.042,0.335-0.03,0.647-0.191,0.833c-0.096,0.11-0.217,0.169-0.367,0.168h0C8.503,9.29,8.1,8.784,8.026,8.198 M8.707,12.749c-0.612,0-1.093-0.394-1.093-0.897c0-0.461,0.562-0.865,1.202-0.865v-0.18h0l0.017,0.18c0.138,0.002,0.272,0.022,0.399,0.062l0.126,0.092c0.326,0.231,0.498,0.363,0.549,0.575c0.013,0.056,0.019,0.111,0.019,0.167C9.927,12.458,9.517,12.749,8.707,12.749M13.43,6.993h-0.858v1.288H11.28V9.14h1.291v1.283h0.858V9.14h1.293V8.281H13.43V6.993z"></path>
25
+ </svg>
26
+ </a>
27
+ {% endif %}
28
+
29
+ </div>
30
+ {% endif %}
@@ -0,0 +1,17 @@
1
+ <aside class="pa3 ph4-m w-100 w-25-l">
2
+
3
+ {% if page.sidebar.navigation %}
4
+ <h3>{{ page.sidebar.title }}</h3>
5
+ <ul class="pl0 list ttc">
6
+ {% for link in site.data.theme.navigation[page.sidebar.navigation] %}
7
+ {% if link.url contains 'http' or 'mailto' %}
8
+ {% assign domain = '' %}
9
+ {% else %}
10
+ {% assign domain = site.url | append: site.baseurl %}
11
+ {% endif %}
12
+ <li><a href="{{ domain }}{{ link.url }}" class="f5 fw3 lh-copy link underline-hover" {% if link.url contains 'http' %}target="_blank"{% endif %}>{{ link.title }}</a></li>
13
+ {% endfor %}
14
+ </ul>
15
+ {% endif %}
16
+
17
+ </aside>