minimal-jekyll-theme 0.1.3 → 0.1.4
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/CHANGELOG.md +48 -0
- data/README.md +28 -16
- data/_includes/analytics.html +37 -0
- data/_includes/author_bio.html +11 -11
- data/_includes/category_tag_list.html +2 -2
- data/_includes/figure +1 -1
- data/_includes/footer.html +11 -10
- data/_includes/head.html +0 -18
- data/_includes/header.html +12 -12
- data/_includes/navigation.html +11 -15
- data/_includes/post_meta.html +12 -12
- data/_includes/sidebar.html +9 -7
- data/_includes/video +1 -1
- data/_layouts/archive.html +34 -0
- data/_layouts/default.html +2 -2
- data/_layouts/home.html +19 -29
- data/_layouts/page.html +6 -6
- data/_layouts/post.html +6 -6
- data/_sass/_tachyons.scss +3 -3
- data/_sass/_theme.scss +527 -0
- data/_sass/_variables.scss +48 -16
- data/_sass/scss/_aspect-ratios.scss +0 -0
- data/_sass/scss/_background-position.scss +0 -0
- data/_sass/scss/_background-size.scss +0 -0
- data/_sass/scss/_border-colors.scss +0 -0
- data/_sass/scss/_border-radius.scss +0 -0
- data/_sass/scss/_border-style.scss +0 -0
- data/_sass/scss/_border-widths.scss +0 -0
- data/_sass/scss/_borders.scss +0 -0
- data/_sass/scss/_box-shadow.scss +0 -0
- data/_sass/scss/_box-sizing.scss +0 -0
- data/_sass/scss/_clears.scss +0 -0
- data/_sass/scss/_code.scss +0 -0
- data/_sass/scss/_colors.scss +0 -0
- data/_sass/scss/_coordinates.scss +0 -0
- data/_sass/scss/_debug-children.scss +0 -0
- data/_sass/scss/_debug-grid.scss +4 -4
- data/_sass/scss/_debug.scss +0 -0
- data/_sass/scss/_debug_children.scss +0 -0
- data/_sass/scss/_display.scss +0 -0
- data/_sass/scss/_flexbox.scss +8 -4
- data/_sass/scss/_floats.scss +0 -0
- data/_sass/scss/_font-family.scss +0 -0
- data/_sass/scss/_font-style.scss +0 -0
- data/_sass/scss/_font-weight.scss +0 -0
- data/_sass/scss/_forms.scss +0 -0
- data/_sass/scss/_gradients.scss +0 -0
- data/_sass/scss/_heights.scss +0 -0
- data/_sass/scss/_hovers.scss +1 -0
- data/_sass/scss/_images.scss +0 -0
- data/_sass/scss/_letter-spacing.scss +0 -0
- data/_sass/scss/_line-height.scss +0 -0
- data/_sass/scss/_links.scss +0 -0
- data/_sass/scss/_lists.scss +0 -0
- data/_sass/scss/_max-widths.scss +0 -0
- data/_sass/scss/_media-queries.scss +0 -0
- data/_sass/scss/_module-template.scss +0 -0
- data/_sass/scss/_negative-margins.scss +0 -0
- data/_sass/scss/_nested.scss +0 -0
- data/_sass/scss/_normalize.scss +23 -3
- data/_sass/scss/_opacity.scss +0 -0
- data/_sass/scss/_outlines.scss +0 -0
- data/_sass/scss/_overflow.scss +0 -0
- data/_sass/scss/_position.scss +0 -0
- data/_sass/scss/_rotations.scss +0 -0
- data/_sass/scss/_skins-pseudo.scss +2 -2
- data/_sass/scss/_skins.scss +0 -0
- data/_sass/scss/_spacing.scss +0 -0
- data/_sass/scss/_styles.scss +0 -0
- data/_sass/scss/_tables.scss +0 -0
- data/_sass/scss/_text-align.scss +5 -0
- data/_sass/scss/_text-decoration.scss +0 -0
- data/_sass/scss/_text-transform.scss +0 -0
- data/_sass/scss/_type-scale.scss +0 -0
- data/_sass/scss/_typography.scss +0 -0
- data/_sass/scss/_utilities.scss +9 -0
- data/_sass/scss/_vertical-align.scss +0 -0
- data/_sass/scss/_visibility.scss +0 -0
- data/_sass/scss/_white-space.scss +0 -0
- data/_sass/scss/_widths.scss +0 -0
- data/_sass/scss/_word-break.scss +0 -0
- data/_sass/scss/_z-index.scss +0 -0
- data/assets/css/minimal.scss +1 -2
- metadata +28 -13
- data/_sass/_custom.scss +0 -137
- data/_sass/_tachyons-background-overlays.scss +0 -44
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a62da752ce570c445d772a17efed9cf72008abef
|
4
|
+
data.tar.gz: 116c2ddeb2ccc835daf145f1c2c6de03cf489a47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06c0674b50b4b4d623cfc4db17e4389255c5b9a1c81983c480f17b5c0d3103da672076edc1012e898db2d4eaf7b5c839c8eeaef15ab7392f343673ca2f25d0a8
|
7
|
+
data.tar.gz: 677b80a5f3de1f4c0064b79aa39991a89c72d22dd9d08b59f56a83ed19623bbb2989e44ec1a51a60e3b860cfcf311b3897bd20972e7744888e05901f54abd9b1
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,51 @@
|
|
1
|
+
## 22-09-2017
|
2
|
+
- Updated mark tag color in `_variables.scss`.
|
3
|
+
- Added relative_url support to author.picture and author.url
|
4
|
+
- Fixed navigation baseurl issue. `append: site.baseurl` issue caused by `contains` not working with `or`. Thanks to @ashmaroli for solution.
|
5
|
+
- figure include now removes `class=""` if no class has been set.
|
6
|
+
- Added markdown documentation.
|
7
|
+
- Updated theme introduction.
|
8
|
+
|
9
|
+
## 16-09-2017
|
10
|
+
- Google, Bing, Alexa and Yandex site verification now supported via jekyll-seo-tag plugin.
|
11
|
+
- Canonical link now supported via jekyll-seo-tag plugin.
|
12
|
+
- Removed category meta tag from `head.html`.
|
13
|
+
- Added support for custom vertical screen height in header.
|
14
|
+
- `page.header.cta.class` now support new theme button classes. (Removed theme cta default styles from theme.yml file.)
|
15
|
+
- Added option to set a header background color.
|
16
|
+
- Added Google Analytics async tracking with fallback setting in `_config.yml` for older browser support.
|
17
|
+
- Added support for Facebook Pixel.
|
18
|
+
- Added sibebar support for Page layout.
|
19
|
+
- Added support for HTML lang attribute in `head.html`.
|
20
|
+
- Improved header navigation menu font size, weight & position on mobile/tablet.
|
21
|
+
- Update demo site docs.
|
22
|
+
- Added theme introduction to docs.
|
23
|
+
- Added markdown docs.
|
24
|
+
- Updated theme variables
|
25
|
+
- Removed border-radius from Alerts (looked too similar to buttons).
|
26
|
+
|
27
|
+
## 15-09-2017
|
28
|
+
- Added full support for jekyll-archives plugin.
|
29
|
+
- Redesigned archive link on home.html layout as a button for increased visibility.
|
30
|
+
- Renamed `author.avatar` to `author.picture` in `authors.yml` to fully support jekyll-seo-tag plugin.
|
31
|
+
- Update tachyons-sass.
|
32
|
+
- Renamed `_custom.scss` to `_theme.scss`.
|
33
|
+
|
34
|
+
## 21-07-2017
|
35
|
+
- Improved the readability of category and tag pages with new design.
|
36
|
+
- Improved the readability of author bio width in `author_bio.html` and `post_meta.html`.
|
37
|
+
- Improved position of author avatar in `post-meta.html` on mobile.
|
38
|
+
- Removed unnecessary flexbox classes in `author_bio.html` and `post_meta.html`.
|
39
|
+
- Updated "tachyons-background-overlays" to v1.1.0
|
40
|
+
- Fix header `cta_class:`. Easily change the header CTA button classes of any page.
|
41
|
+
|
42
|
+
## 15-07-2017
|
43
|
+
- Update to Jekyll 3.5.1
|
44
|
+
|
45
|
+
## 15-07-2017
|
46
|
+
- Improved header margin on page layout
|
47
|
+
- Improved header margin on post layout when post_meta = false
|
48
|
+
|
1
49
|
## 09-07-2017
|
2
50
|
- Released theme version 0.1.3
|
3
51
|
- Improved header hero padding on mobile.
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Minimal Jekyll Theme
|
2
2
|
|
3
|
+
## [Theme demo](https://desiredpersona.github.io/minimal-jekyll-theme/)
|
4
|
+
|
3
5
|
Subscribe to my [newsletter for more themes](https://desiredpersona.com/themes/).
|
4
6
|
|
5
7
|
## Homepage Layout
|
@@ -14,20 +16,30 @@ Subscribe to my [newsletter for more themes](https://desiredpersona.com/themes/)
|
|
14
16
|
|
15
17
|
## Features
|
16
18
|
|
17
|
-
- Compatible with Jekyll 3.5.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.
|
19
|
+
- Compatible with Jekyll 3.5.x and GitHub Pages
|
25
20
|
- System-fonts
|
26
|
-
|
21
|
+
- Mobile first responsive design
|
22
|
+
- Built with [Tachyons-sass](https://github.com/tachyons-css/tachyons-sass)
|
23
|
+
- Multiple author support
|
24
|
+
- Jekyll excerpt support
|
25
|
+
- Social share icons
|
26
|
+
- Header and footer navigation
|
27
|
+
- Post header image with optional CTA
|
28
|
+
- Multiple layouts including page, post, landing page, archives, categories and tags. [View layout demos](https://desiredpersona.github.io/minimal-jekyll-theme/docs/)
|
29
|
+
- [Disqus comments](https://disqus.com/)
|
30
|
+
- [Google Analytics](https://www.google.com/analytics/) async tracking.
|
31
|
+
- Facebook Pixel
|
32
|
+
|
33
|
+
## Plugin Dependencies
|
34
|
+
|
35
|
+
- Atom feed via [Jekyll feed](https://github.com/jekyll/jekyll-feed)
|
36
|
+
- Sitemap via [Jekyll sitemap](https://github.com/jekyll/jekyll-sitemap)
|
37
|
+
- SEO via [Jekyll-seo-tag](https://github.com/jekyll/jekyll-seo-tag)
|
38
|
+
- Archive pages for year, month, day, categories and tags auto-generated via [Jekyll archives](https://github.com/jekyll/jekyll-archives)
|
27
39
|
|
28
40
|
## Installation
|
29
41
|
|
30
|
-
Please read the [theme documentation](https://github.
|
42
|
+
Please read the [theme documentation](https://desiredpersona.github.io/minimal-jekyll-theme/docs/).
|
31
43
|
|
32
44
|
|
33
45
|
## Credits
|
@@ -36,16 +48,16 @@ Please read the [theme documentation](https://github.com/desiredpersona/minimal-
|
|
36
48
|
|
37
49
|
Desired Persona
|
38
50
|
|
39
|
-
-
|
40
|
-
-
|
41
|
-
-
|
51
|
+
- [https://desiredpersona.com](https://desiredpersona.com)
|
52
|
+
- [https://twitter.com/desiredpersona](https://twitter.com/desiredpersona)
|
53
|
+
- [https://github.com/desiredpersona](https://github.com/desiredpersona)
|
42
54
|
|
43
55
|
#### Thanks
|
44
56
|
|
45
57
|
- [Jekyll](http://jekyllrb.com)
|
46
58
|
- [Tachyons](http://tachyons.io)
|
47
|
-
- [Tachyons
|
48
|
-
- [SVG
|
59
|
+
- [Tachyons background overlays by Alec Lomas](https://github.com/lowmess/tachyons-background-overlays)
|
60
|
+
- [SVG icons by Matthew Skiles](https://dribbble.com/shots/1925069-Lynny-Icon-Set-Free)
|
49
61
|
|
50
62
|
## Contributing
|
51
63
|
|
@@ -58,6 +70,6 @@ The theme is available as open source under the terms of the [Creative Commons A
|
|
58
70
|
#### TLDR:
|
59
71
|
This theme is free to use for personal and/or commercial sites once you do not remove the attribution link from the themes footer.
|
60
72
|
|
61
|
-
#### Remove Attribution Link (
|
73
|
+
#### Remove Attribution Link (Optional):
|
62
74
|
If you would like to remove the attribution link from the themes footer for personal and/or commercial sites set `attribution: false` in your theme.yml file and [purchase a theme licence.](https://desiredpersona.com/themes/)
|
63
75
|
|
@@ -0,0 +1,37 @@
|
|
1
|
+
{% if site.google_analytics_async == 'false' %}
|
2
|
+
<!-- Google Analytics -->
|
3
|
+
<script>
|
4
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
5
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
6
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
7
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
8
|
+
|
9
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
10
|
+
ga('require', 'linkid');
|
11
|
+
ga('send', 'pageview');
|
12
|
+
</script>
|
13
|
+
{% else %}
|
14
|
+
<!-- Google Analytics async -->
|
15
|
+
<script>
|
16
|
+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
17
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
18
|
+
ga('require', 'linkid');
|
19
|
+
ga('send', 'pageview');
|
20
|
+
</script>
|
21
|
+
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
22
|
+
{% endif %}
|
23
|
+
{% if site.facebook_pixel_id == 'true' %}
|
24
|
+
<!-- Facebook Pixel -->
|
25
|
+
<script>
|
26
|
+
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
|
27
|
+
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
|
28
|
+
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
|
29
|
+
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
|
30
|
+
document,'script','https://connect.facebook.net/en_US/fbevents.js');
|
31
|
+
|
32
|
+
fbq('init', '{{ site.facebook_pixel_id }}');
|
33
|
+
fbq('track', "PageView");</script>
|
34
|
+
<noscript><img height="1" width="1" style="display:none"
|
35
|
+
src="https://www.facebook.com/tr?id=1744117355874022&ev=PageView&noscript=1"
|
36
|
+
/></noscript>
|
37
|
+
{% endif %}
|
data/_includes/author_bio.html
CHANGED
@@ -6,32 +6,32 @@
|
|
6
6
|
{% assign author = site.author %}
|
7
7
|
{% endif %}
|
8
8
|
|
9
|
-
<div class="flex
|
10
|
-
<div
|
9
|
+
<div class="flex w-100 mt2 lh-copy bt b--light-gray pv3">
|
10
|
+
<div>
|
11
11
|
{% if author.url contains "://" %}
|
12
|
-
|
12
|
+
<a href="{{ author.url }}" target="_blank"><img src="{{ author.picture | relative_url }}" alt="{{ author.name }}" class="w2 h2 w3-ns h3-ns br-100"></a>
|
13
13
|
{% else %}
|
14
|
-
|
14
|
+
<a href="{{ author.url | relative_url }}"><img src="{{ author.picture | relative_url }}" alt="{{ author.name }}" class="w2 h2 w3-ns h3-ns br-100"></a>
|
15
15
|
{% endif %}
|
16
16
|
</div>
|
17
17
|
|
18
|
-
<div class="flex flex-column w-90 pl2 pl3-ns">
|
19
|
-
<div class="flex
|
18
|
+
<div class="flex flex-column w-90 w-80-ns pl2 pl3-ns">
|
19
|
+
<div class="flex items-center-ns">
|
20
20
|
{% if author.url contains "://" %}
|
21
|
-
<a class="f5 f4-ns fw4
|
21
|
+
<a class="f5 f4-ns fw4 lh-title black hover-black link mr2" href="{{ author.url }}" target="_blank">{{ author.name }}</a>
|
22
22
|
{% else %}
|
23
|
-
<a class="f5 f4-ns fw4
|
23
|
+
<a class="f5 f4-ns fw4 lh-title black hover-black link mr2" href="{{ author.url | relative_url }}">{{ author.name }}</a>
|
24
24
|
{% endif %}
|
25
25
|
|
26
26
|
{% if author.cta_url contains "://" %}
|
27
|
-
<a class="
|
27
|
+
<a class="f6 fw4 link nested-author-cta ba br-pill ph2" href="{{ author.cta_url }}" target="_blank">{{ author.cta | default: "Follow" }}</a>
|
28
28
|
{% else %}
|
29
|
-
<a class="
|
29
|
+
<a class="f6 fw4 link nested-author-cta ba br-pill ph2" href="{{ author.cta_url | relative_url }}" target="_blank">{{ author.cta | default: "Follow" }}</a>
|
30
30
|
{% endif %}
|
31
31
|
</div>
|
32
32
|
|
33
33
|
|
34
|
-
<div class="f6 f5-ns fw3 lh-copy
|
34
|
+
<div class="f6 f5-ns fw3 lh-copy silver">{{ author.bio }}</div>
|
35
35
|
</div>
|
36
36
|
|
37
37
|
</div>
|
@@ -9,11 +9,11 @@
|
|
9
9
|
{% endif %}
|
10
10
|
|
11
11
|
{% for category in categories %}
|
12
|
-
<a class="f6 br1 mt2 mr1 pa2 link black-60 hover-
|
12
|
+
<a class="f6 br1 mt2 mr1 pa2 link black-60 hover-black-60 bg-near-white hover-bg-black-10" href="{{ "/category/" | absolute_url }}{{ category | slugify }}/">{{ category }}</a>
|
13
13
|
{% endfor %}
|
14
14
|
|
15
15
|
{% for tag in tags %}
|
16
|
-
<a class="f6 br1 mt2 mr1 pa2 link black-60 hover-
|
16
|
+
<a class="f6 br1 mt2 mr1 pa2 link black-60 hover-black-60 bg-near-white hover-bg-black-10" href="{{ "/tag/" | absolute_url }}{{ tag | slugify }}/">{{ tag }}</a>
|
17
17
|
{% endfor %}
|
18
18
|
|
19
19
|
</div>
|
data/_includes/figure
CHANGED
data/_includes/footer.html
CHANGED
@@ -1,20 +1,21 @@
|
|
1
|
-
<footer class="flex justify-start items-baseline {% if page.sidebar %}mw8{% else %}mw7{% endif %} center w-100 ph3 ph4-
|
1
|
+
<footer class="flex justify-start items-baseline {% if page.sidebar %}mw8{% else %}mw7{% endif %} center w-100 ph3 ph4-ns mt4 mb2 lh-copy">
|
2
2
|
<nav class="flex flex-row flex-wrap">
|
3
|
-
<span class="f7 fw3
|
4
|
-
|
3
|
+
<span class="f7 fw3 silver mr3 ttc"><a href="{{ '/' | absolute_url }}" class="f7 fw5 silver hover-silver link underline-hover" title="{{ site.title }}">{{ site.title | capitalize }}</a> © {{ site.time | date: '%Y' }}</span>
|
5
4
|
{% if site.data.theme.navigation.footer %}
|
6
5
|
{% for link in site.data.theme.navigation.footer %}
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
6
|
+
{% if link.url contains 'http' %}
|
7
|
+
{% assign domain = '' %}
|
8
|
+
{% elsif link.url contains 'mailto' %}
|
9
|
+
{% assign domain = '' %}
|
10
|
+
{% else %}
|
11
|
+
{% assign domain = site.url | append: site.baseurl %}
|
12
|
+
{% endif %}
|
13
|
+
<a href="{{ domain }}{{ link.url }}" class="f7 fw3 silver hover-silver link underline-hover mr3" {% if link.url contains 'http' %}target="_blank"{% endif %}>{{ link.title | capitalize }}</a>
|
13
14
|
{% endfor %}
|
14
15
|
{% endif %}
|
15
16
|
|
16
17
|
{% if site.data.theme.attribution == true %}
|
17
|
-
<span class="f7 fw3
|
18
|
+
<span class="f7 fw3 silver mr3">Designed with <a href="https://desiredpersona.com/themes/" class="f7 fw3 silver hover-silver link underline-hover mr3" target="_blank">Minimal Theme</a></span>
|
18
19
|
{% endif %}
|
19
20
|
</nav>
|
20
21
|
</footer>
|
data/_includes/head.html
CHANGED
@@ -23,24 +23,6 @@
|
|
23
23
|
{% include analytics.html %}
|
24
24
|
{% endif %}
|
25
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
26
|
<!-- 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
27
|
{% seo %}
|
46
28
|
</head>
|
data/_includes/header.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
{% if page.header.layout == 'hero' %}
|
7
|
-
<header class="flex flex-column cover w-100 vh-75-l bg-left bg-center-l {% if page.header.class %}{{ page.header.class }}{% endif %}" style="background-image: url({{ page.header.image | absolute_url }})">
|
7
|
+
<header class="flex flex-column cover w-100 {% if page.header.vh %}{{ page.header.vh }}{% else %}vh-75-l{% endif %} bg-left bg-center-l {% if page.header.class %}{{ page.header.class }}{% endif %}" {% if page.header.image %}style="background-image: url({{ page.header.image | absolute_url }})"{% endif %}>
|
8
8
|
{% if page.header.navigation == 'fancy' %}
|
9
9
|
{% include navigation.html %}
|
10
10
|
{% endif %}
|
@@ -12,30 +12,30 @@
|
|
12
12
|
<div class="flex flex-column items-start items-center-l mw9 mw7-m center w-100 pv5 pv0-l pa3 ph4-ns">
|
13
13
|
<h1 class="f2 f1-l fw6 lh-title white mv0">{{ page.title }}</h1>
|
14
14
|
{% if page.subtitle %}
|
15
|
-
<h2 class="f3 f2-l fw4 lh-title white
|
15
|
+
<h2 class="f3 f2-l fw4 lh-title white mt3 mb3">{{ page.subtitle }}</h2>
|
16
16
|
{% endif %}
|
17
17
|
{% if page.paragraph %}
|
18
|
-
<p class="f5 f4-l fw3 lh-copy white-
|
18
|
+
<p class="f5 f4-l fw3 lh-copy white-90 mt3 mb3">{{ page.paragraph }}</p>
|
19
19
|
{% endif %}
|
20
20
|
|
21
|
-
{% if page.header.
|
22
|
-
<a class="f5 f4-ns
|
23
|
-
{% elsif page.header.
|
24
|
-
<a class="f5 f4-ns
|
21
|
+
{% if page.header.cta.url contains "://" %}
|
22
|
+
<a class="f5 f4-ns {{ page.header.cta.class | join: ' ' | prepend: ' ' }}" href="{{ page.header.cta.url }}" target="_blank" rel="nofollow">{{ page.header.cta.text }}</a>
|
23
|
+
{% elsif page.header.cta.url %}
|
24
|
+
<a class="f5 f4-ns {{ page.header.cta.class | join: ' ' | prepend: ' ' }}" href="{{ page.header.cta.url | absolute_url }}">{{ page.header.cta.text }}</a>
|
25
25
|
{% endif %}
|
26
26
|
</div>
|
27
27
|
</div>
|
28
28
|
</header>
|
29
29
|
|
30
30
|
{% elsif page.header.layout == 'header' %}
|
31
|
-
<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 }})">
|
32
|
-
|
33
|
-
|
34
|
-
|
31
|
+
<header class="flex flex-column cover w-100 {% if page.header.vh %}{{ page.header.vh }}{% else %}vh-50 vh-75-l{% endif %} bg-left bg-center-l" {% if page.header.image %}style="background-image: url({{ page.header.image | absolute_url }})"{% endif %}>
|
32
|
+
{% if page.header.navigation == 'fancy' %}
|
33
|
+
{% include navigation.html %}
|
34
|
+
{% endif %}
|
35
35
|
</header>
|
36
36
|
{% endif %}
|
37
37
|
|
38
38
|
|
39
39
|
{% if page.header.caption %}
|
40
|
-
<span class="flex flex-row justify-center f6 fw3
|
40
|
+
<span class="flex flex-row justify-center f6 fw3 silver pv2 ph3">{{ site.data.theme.text.caption }}: {{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
|
41
41
|
{% endif %}
|
data/_includes/navigation.html
CHANGED
@@ -1,25 +1,21 @@
|
|
1
1
|
<div class="flex-l justify-between items-center mw7 mw8-l w-100 {% if page.sidebar %}center-l{% else %}center{% endif %} pt3 pb3 pl3 pr3-ns ph4-m">
|
2
2
|
{% if page.header.navigation == 'fancy' %}
|
3
|
-
<a class="white link f2 f3-l fw4
|
3
|
+
<a class="white hover-white dim link f2 f3-l fw4 mr3" href="{{ '/' | absolute_url }}" title="Home">{{ site.title }}</a>
|
4
4
|
{% else %}
|
5
|
-
<a class="black link f2 f3-l fw4
|
5
|
+
<a class="black hover-black link f2 f3-l fw4 mr3" href="{{ '/' | absolute_url }}" title="Home">{{ site.title }}</a>
|
6
6
|
{% endif %}
|
7
7
|
|
8
|
-
<div class="flex-l items-center">
|
8
|
+
<div class="flex-l items-center mt3 mt0-l">
|
9
9
|
<nav class="nowrap overflow-x-auto">
|
10
10
|
{% for link in site.data.theme.navigation.main %}
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
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
|
-
|
11
|
+
{% if link.url contains 'http' %}
|
12
|
+
{% assign domain = '' %}
|
13
|
+
{% elsif link.url contains 'mailto' %}
|
14
|
+
{% assign domain = '' %}
|
15
|
+
{% else %}
|
16
|
+
{% assign domain = site.url | append: site.baseurl %}
|
17
|
+
{% endif %}
|
18
|
+
<a href="{{ domain }}{{ link.url }}" class="{% if page.header.navigation == 'fancy' %}white hover-white dim{% else %}black hover-black{% endif %} link f4 f5-l fw3 mr3 mt2" {% if link.url contains 'http' %}target="_blank"{% endif %}>{{ link.title }}</a>
|
23
19
|
{% endfor %}
|
24
20
|
</nav>
|
25
21
|
</div>
|
data/_includes/post_meta.html
CHANGED
@@ -7,33 +7,33 @@
|
|
7
7
|
{% endif %}
|
8
8
|
|
9
9
|
|
10
|
-
<div class="flex
|
11
|
-
<div class="
|
10
|
+
<div class="flex w-100 mt4 lh-copy">
|
11
|
+
<div class="pt1 pt0-ns">
|
12
12
|
{% if author.url contains "://" %}
|
13
|
-
<a href="{{ author.url }}" target="_blank"><img src="{{ author.
|
13
|
+
<a href="{{ author.url }}" target="_blank"><img src="{{ author.picture | relative_url }}" alt="{{ author.name }}" class="w2 h2 w3-ns h3-ns br-100"></a>
|
14
14
|
{% else %}
|
15
|
-
<a href="{{ author.url | relative_url }}"><img src="{{ author.
|
15
|
+
<a href="{{ author.url | relative_url }}"><img src="{{ author.picture | relative_url }}" alt="{{ author.name }}" class="w2 h2 w3-ns h3-ns br-100"></a>
|
16
16
|
{% endif %}
|
17
17
|
</div>
|
18
18
|
|
19
|
-
<div class="flex flex-column
|
20
|
-
<div class="flex
|
19
|
+
<div class="flex flex-column w-90 w-80-ns pl2 pl3-ns">
|
20
|
+
<div class="flex items-center">
|
21
21
|
{% if author.url contains "://" %}
|
22
|
-
<a class="f5 fw4 lh-
|
22
|
+
<a class="f5 fw4 lh-title black hover-black link mr2" href="{{ author.url }}" target="_blank">{{ author.name }}</a>
|
23
23
|
{% else %}
|
24
|
-
<a class="f5 fw4 lh-
|
24
|
+
<a class="f5 fw4 lh-title black hover-black link mr2" href="{{ author.url | relative_url }}">{{ author.name }}</a>
|
25
25
|
{% endif %}
|
26
26
|
|
27
27
|
{% if author.cta_url contains "://" %}
|
28
|
-
<a class="f6
|
28
|
+
<a class="f6 fw4 lh-copy link nested-author-cta ba br-pill ph2" href="{{ author.cta_url }}" target="_blank">{{ author.cta | default: "Follow" }}</a>
|
29
29
|
{% else %}
|
30
|
-
<a class="f6
|
30
|
+
<a class="f6 fw4 lh-copy link nested-author-cta ba br-pill ph2" href="{{ author.cta_url | relative_url }}">{{ author.cta | default: "Follow" }}</a>
|
31
31
|
{% endif %}
|
32
32
|
</div>
|
33
33
|
|
34
|
-
<div class="
|
34
|
+
<div class="f6 fw3 lh-copy silver">{{ author.post_meta_bio }}</div>
|
35
35
|
|
36
|
-
<div class="f6 fw3 lh-copy
|
36
|
+
<div class="f6 fw3 lh-copy silver">
|
37
37
|
{% if page.last_modified_at %}
|
38
38
|
<span>{{ site.data.theme.text.updated }} {{ page.last_modified_at | date: site.date_format }}</span>
|
39
39
|
{% else %}
|
data/_includes/sidebar.html
CHANGED
@@ -4,13 +4,15 @@
|
|
4
4
|
<h3>{{ page.sidebar.title }}</h3>
|
5
5
|
<ul class="pl0 list ttc">
|
6
6
|
{% for link in site.data.theme.navigation[page.sidebar.navigation] %}
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
7
|
+
{% if link.url contains 'http' %}
|
8
|
+
{% assign domain = '' %}
|
9
|
+
{% elsif link.url contains 'mailto' %}
|
10
|
+
{% assign domain = '' %}
|
11
|
+
{% else %}
|
12
|
+
{% assign domain = site.url | append: site.baseurl %}
|
13
|
+
{% endif %}
|
14
|
+
<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>
|
15
|
+
{% endfor %}
|
14
16
|
</ul>
|
15
17
|
{% endif %}
|
16
18
|
|