minimal-mistakes-jekyll 4.1.1 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/LICENSE.txt +20 -20
- data/README.md +1 -2
- data/_includes/analytics-providers/custom.html +2 -2
- data/_includes/analytics-providers/google-universal.html +8 -8
- data/_includes/analytics-providers/google.html +10 -10
- data/_includes/analytics.html +11 -11
- data/_includes/archive-single.html +37 -37
- data/_includes/author-profile-custom-links.html +6 -6
- data/_includes/author-profile.html +241 -241
- data/_includes/base_path +4 -4
- data/_includes/breadcrumbs.html +38 -38
- data/_includes/browser-upgrade.html +2 -2
- data/_includes/category-list.html +25 -25
- data/_includes/comment.html +21 -21
- data/_includes/comments-providers/custom.html +2 -2
- data/_includes/comments-providers/discourse.html +13 -13
- data/_includes/comments-providers/disqus.html +21 -21
- data/_includes/comments-providers/facebook.html +7 -7
- data/_includes/comments-providers/google-plus.html +1 -1
- data/_includes/comments-providers/scripts.html +17 -17
- data/_includes/comments-providers/staticman.html +41 -41
- data/_includes/comments.html +79 -79
- data/_includes/feature_row +49 -49
- data/_includes/figure +12 -12
- data/_includes/footer.html +21 -21
- data/_includes/footer/custom.html +2 -2
- data/_includes/gallery +46 -46
- data/_includes/group-by-array +46 -46
- data/_includes/head.html +18 -18
- data/_includes/head/custom.html +4 -4
- data/_includes/masthead.html +20 -20
- data/_includes/nav_list +46 -46
- data/_includes/page__hero.html +52 -52
- data/_includes/page__hero_video.html +4 -0
- data/_includes/page__taxonomy.html +6 -6
- data/_includes/paginator.html +67 -67
- data/_includes/post_pagination.html +13 -13
- data/_includes/read-time.html +14 -14
- data/_includes/scripts.html +4 -4
- data/_includes/seo.html +145 -145
- data/_includes/sidebar.html +22 -22
- data/_includes/social-share.html +13 -13
- data/_includes/tag-list.html +25 -25
- data/_includes/toc +6 -6
- data/_includes/video +11 -0
- data/_layouts/archive-taxonomy.html +14 -14
- data/_layouts/archive.html +2 -0
- data/_layouts/compress.html +10 -10
- data/_layouts/default.html +28 -28
- data/_layouts/home.html +11 -11
- data/_layouts/single.html +76 -74
- data/_layouts/splash.html +2 -0
- data/_sass/_archive.scss +237 -237
- data/_sass/_footer.scss +79 -79
- data/_sass/_forms.scss +390 -390
- data/_sass/_masthead.scss +52 -52
- data/_sass/_mixins.scss +52 -52
- data/_sass/_navigation.scss +543 -543
- data/_sass/_notices.scss +98 -98
- data/_sass/_page.scss +400 -400
- data/_sass/_print.scss +17 -17
- data/_sass/_reset.scss +186 -186
- data/_sass/_sidebar.scss +230 -230
- data/_sass/_syntax.scss +145 -145
- data/_sass/_tables.scss +37 -37
- data/_sass/_utilities.scss +37 -1
- data/_sass/_variables.scss +127 -127
- data/_sass/vendor/breakpoint/_breakpoint.scss +114 -114
- data/_sass/vendor/breakpoint/_context.scss +94 -94
- data/_sass/vendor/breakpoint/_helpers.scss +151 -151
- data/_sass/vendor/breakpoint/_legacy-settings.scss +49 -49
- data/_sass/vendor/breakpoint/_no-query.scss +15 -15
- data/_sass/vendor/breakpoint/_parsers.scss +215 -215
- data/_sass/vendor/breakpoint/_respond-to.scss +82 -82
- data/_sass/vendor/breakpoint/_settings.scss +70 -70
- data/_sass/vendor/breakpoint/parsers/_double.scss +33 -33
- data/_sass/vendor/breakpoint/parsers/_query.scss +82 -82
- data/_sass/vendor/breakpoint/parsers/_resolution.scss +31 -31
- data/_sass/vendor/breakpoint/parsers/_single.scss +26 -26
- data/_sass/vendor/breakpoint/parsers/_triple.scss +36 -36
- data/_sass/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
- data/_sass/vendor/breakpoint/parsers/double/_default.scss +22 -22
- data/_sass/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
- data/_sass/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
- data/_sass/vendor/breakpoint/parsers/single/_default.scss +13 -13
- data/_sass/vendor/breakpoint/parsers/triple/_default.scss +18 -18
- data/_sass/vendor/font-awesome/_animated.scss +34 -34
- data/_sass/vendor/font-awesome/_bordered-pulled.scss +25 -25
- data/_sass/vendor/font-awesome/_core.scss +12 -12
- data/_sass/vendor/font-awesome/_fixed-width.scss +6 -6
- data/_sass/vendor/font-awesome/_font-awesome.scss +18 -18
- data/_sass/vendor/font-awesome/_icons.scss +789 -789
- data/_sass/vendor/font-awesome/_larger.scss +13 -13
- data/_sass/vendor/font-awesome/_list.scss +19 -19
- data/_sass/vendor/font-awesome/_mixins.scss +60 -60
- data/_sass/vendor/font-awesome/_path.scss +15 -15
- data/_sass/vendor/font-awesome/_rotated-flipped.scss +20 -20
- data/_sass/vendor/font-awesome/_screen-reader.scss +5 -5
- data/_sass/vendor/font-awesome/_stacked.scss +20 -20
- data/_sass/vendor/font-awesome/_variables.scss +800 -800
- data/_sass/vendor/magnific-popup/_settings.scss +45 -45
- data/_sass/vendor/susy/_su.scss +4 -4
- data/_sass/vendor/susy/_susy.scss +4 -4
- data/_sass/vendor/susy/_susyone.scss +4 -4
- data/_sass/vendor/susy/susy/_su.scss +7 -7
- data/_sass/vendor/susy/susy/language/_susy.scss +24 -24
- data/_sass/vendor/susy/susy/language/_susyone.scss +13 -13
- data/_sass/vendor/susy/susy/language/susy/_background.scss +385 -385
- data/_sass/vendor/susy/susy/language/susy/_bleed.scss +200 -200
- data/_sass/vendor/susy/susy/language/susy/_box-sizing.scss +47 -47
- data/_sass/vendor/susy/susy/language/susy/_breakpoint-plugin.scss +185 -185
- data/_sass/vendor/susy/susy/language/susy/_container.scss +81 -81
- data/_sass/vendor/susy/susy/language/susy/_context.scss +36 -36
- data/_sass/vendor/susy/susy/language/susy/_gallery.scss +94 -94
- data/_sass/vendor/susy/susy/language/susy/_grids.scss +64 -64
- data/_sass/vendor/susy/susy/language/susy/_gutters.scss +154 -154
- data/_sass/vendor/susy/susy/language/susy/_isolate.scss +77 -77
- data/_sass/vendor/susy/susy/language/susy/_margins.scss +94 -94
- data/_sass/vendor/susy/susy/language/susy/_padding.scss +74 -74
- data/_sass/vendor/susy/susy/language/susy/_rows.scss +138 -138
- data/_sass/vendor/susy/susy/language/susy/_settings.scss +216 -216
- data/_sass/vendor/susy/susy/language/susy/_span.scss +163 -163
- data/_sass/vendor/susy/susy/language/susy/_validation.scss +16 -16
- data/_sass/vendor/susy/susy/language/susyone/_background.scss +18 -18
- data/_sass/vendor/susy/susy/language/susyone/_functions.scss +377 -377
- data/_sass/vendor/susy/susy/language/susyone/_grid.scss +312 -312
- data/_sass/vendor/susy/susy/language/susyone/_isolation.scss +51 -51
- data/_sass/vendor/susy/susy/language/susyone/_margin.scss +93 -93
- data/_sass/vendor/susy/susy/language/susyone/_media.scss +105 -105
- data/_sass/vendor/susy/susy/language/susyone/_padding.scss +92 -92
- data/_sass/vendor/susy/susy/language/susyone/_settings.scss +60 -60
- data/_sass/vendor/susy/susy/output/_float.scss +9 -9
- data/_sass/vendor/susy/susy/output/_shared.scss +15 -15
- data/_sass/vendor/susy/susy/output/_support.scss +9 -9
- data/_sass/vendor/susy/susy/output/float/_container.scss +16 -16
- data/_sass/vendor/susy/susy/output/float/_end.scss +40 -40
- data/_sass/vendor/susy/susy/output/float/_isolate.scss +22 -22
- data/_sass/vendor/susy/susy/output/float/_span.scss +35 -35
- data/_sass/vendor/susy/susy/output/shared/_background.scss +26 -26
- data/_sass/vendor/susy/susy/output/shared/_container.scss +21 -21
- data/_sass/vendor/susy/susy/output/shared/_direction.scss +42 -42
- data/_sass/vendor/susy/susy/output/shared/_inspect.scss +25 -25
- data/_sass/vendor/susy/susy/output/shared/_margins.scss +23 -23
- data/_sass/vendor/susy/susy/output/shared/_output.scss +14 -14
- data/_sass/vendor/susy/susy/output/shared/_padding.scss +23 -23
- data/_sass/vendor/susy/susy/output/support/_background.scss +58 -58
- data/_sass/vendor/susy/susy/output/support/_box-sizing.scss +19 -19
- data/_sass/vendor/susy/susy/output/support/_clearfix.scss +18 -18
- data/_sass/vendor/susy/susy/output/support/_prefix.scss +19 -19
- data/_sass/vendor/susy/susy/output/support/_rem.scss +22 -22
- data/_sass/vendor/susy/susy/output/support/_support.scss +85 -85
- data/_sass/vendor/susy/susy/su/_grid.scss +103 -103
- data/_sass/vendor/susy/susy/su/_settings.scss +73 -73
- data/_sass/vendor/susy/susy/su/_utilities.scss +111 -111
- data/_sass/vendor/susy/susy/su/_validation.scss +57 -57
- data/assets/css/main.scss +78 -78
- data/assets/fonts/fontawesome-webfont.svg +2671 -2671
- data/assets/js/_main.js +72 -100
- data/assets/js/main.min.js +4 -5
- data/assets/js/plugins/jquery.fitvids.js +81 -81
- data/assets/js/plugins/jquery.greedy-navigation.js +71 -71
- data/assets/js/plugins/jquery.magnific-popup.js +2049 -2049
- data/assets/js/plugins/jquery.smooth-scroll.min.js +8 -8
- data/assets/js/vendor/jquery/jquery-1.12.4.min.js +4 -4
- metadata +7 -6
- data/assets/js/plugins/stickyfill.min.js +0 -8
data/_includes/sidebar.html
CHANGED
@@ -1,23 +1,23 @@
|
|
1
|
-
{% if page.author_profile or layout.author_profile or page.sidebar %}
|
2
|
-
<div class="sidebar sticky">
|
3
|
-
{% if page.author_profile or layout.author_profile %}{% include author-profile.html %}{% endif %}
|
4
|
-
{% if page.sidebar %}
|
5
|
-
{% for s in page.sidebar %}
|
6
|
-
{% if s.image %}
|
7
|
-
<img src=
|
8
|
-
{% if s.image contains "://" %}
|
9
|
-
"{{ s.image }}"
|
10
|
-
{% else %}
|
11
|
-
"{{ s.image | absolute_url }}"
|
12
|
-
{% endif %}
|
13
|
-
alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
|
14
|
-
{% endif %}
|
15
|
-
{% if s.title %}<h3>{{ s.title }}</h3>{% endif %}
|
16
|
-
{% if s.text %}{{ s.text | markdownify }}{% endif %}
|
17
|
-
{% endfor %}
|
18
|
-
{% if page.sidebar.nav %}
|
19
|
-
{% include nav_list nav=page.sidebar.nav %}
|
20
|
-
{% endif %}
|
21
|
-
{% endif %}
|
22
|
-
</div>
|
1
|
+
{% if page.author_profile or layout.author_profile or page.sidebar %}
|
2
|
+
<div class="sidebar sticky">
|
3
|
+
{% if page.author_profile or layout.author_profile %}{% include author-profile.html %}{% endif %}
|
4
|
+
{% if page.sidebar %}
|
5
|
+
{% for s in page.sidebar %}
|
6
|
+
{% if s.image %}
|
7
|
+
<img src=
|
8
|
+
{% if s.image contains "://" %}
|
9
|
+
"{{ s.image }}"
|
10
|
+
{% else %}
|
11
|
+
"{{ s.image | absolute_url }}"
|
12
|
+
{% endif %}
|
13
|
+
alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
|
14
|
+
{% endif %}
|
15
|
+
{% if s.title %}<h3>{{ s.title }}</h3>{% endif %}
|
16
|
+
{% if s.text %}{{ s.text | markdownify }}{% endif %}
|
17
|
+
{% endfor %}
|
18
|
+
{% if page.sidebar.nav %}
|
19
|
+
{% include nav_list nav=page.sidebar.nav %}
|
20
|
+
{% endif %}
|
21
|
+
{% endif %}
|
22
|
+
</div>
|
23
23
|
{% endif %}
|
data/_includes/social-share.html
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
<section class="page__share">
|
2
|
-
{% if site.data.ui-text[site.locale].share_on_label %}
|
3
|
-
<h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
|
4
|
-
{% endif %}
|
5
|
-
|
6
|
-
<a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username }}&{% endif %}text={{ page.title }} {{ page.url | absolute_url }}" class="btn btn--twitter" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
|
7
|
-
|
8
|
-
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url }}" class="btn btn--facebook" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fa fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
|
9
|
-
|
10
|
-
<a href="https://plus.google.com/share?url={{ page.url | absolute_url }}" class="btn btn--google-plus" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Google Plus"><i class="fa fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
|
11
|
-
|
12
|
-
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" class="btn btn--linkedin" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
|
13
|
-
</section>
|
1
|
+
<section class="page__share">
|
2
|
+
{% if site.data.ui-text[site.locale].share_on_label %}
|
3
|
+
<h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
|
4
|
+
{% endif %}
|
5
|
+
|
6
|
+
<a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username }}&{% endif %}text={{ page.title }} {{ page.url | absolute_url }}" class="btn btn--twitter" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
|
7
|
+
|
8
|
+
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url }}" class="btn btn--facebook" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fa fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
|
9
|
+
|
10
|
+
<a href="https://plus.google.com/share?url={{ page.url | absolute_url }}" class="btn btn--google-plus" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Google Plus"><i class="fa fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
|
11
|
+
|
12
|
+
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" class="btn btn--linkedin" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
|
13
|
+
</section>
|
data/_includes/tag-list.html
CHANGED
@@ -1,26 +1,26 @@
|
|
1
|
-
{% case site.tag_archive.type %}
|
2
|
-
{% when "liquid" %}
|
3
|
-
{% assign path_type = "#" %}
|
4
|
-
{% when "jekyll-archives" %}
|
5
|
-
{% assign path_type = nil %}
|
6
|
-
{% endcase %}
|
7
|
-
|
8
|
-
{% if site.tag_archive.path %}
|
9
|
-
{% comment %}
|
10
|
-
<!-- Sort alphabetically regardless of case e.g. a B c d E -->
|
11
|
-
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
|
12
|
-
{% endcomment %}
|
13
|
-
{% capture page_tags %}{% for tag in page.tags %}{{ tag | downcase }}#{{ tag }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
|
14
|
-
{% assign tag_hashes = (page_tags | split: ',' | sort:0) %}
|
15
|
-
|
16
|
-
<p class="page__taxonomy">
|
17
|
-
<strong><i class="fa fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} </strong>
|
18
|
-
<span itemprop="keywords">
|
19
|
-
{% for hash in tag_hashes %}
|
20
|
-
{% assign keyValue = hash | split: '#' %}
|
21
|
-
{% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
|
22
|
-
<a href="{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path | absolute_url }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
23
|
-
{% endfor %}
|
24
|
-
</span>
|
25
|
-
</p>
|
1
|
+
{% case site.tag_archive.type %}
|
2
|
+
{% when "liquid" %}
|
3
|
+
{% assign path_type = "#" %}
|
4
|
+
{% when "jekyll-archives" %}
|
5
|
+
{% assign path_type = nil %}
|
6
|
+
{% endcase %}
|
7
|
+
|
8
|
+
{% if site.tag_archive.path %}
|
9
|
+
{% comment %}
|
10
|
+
<!-- Sort alphabetically regardless of case e.g. a B c d E -->
|
11
|
+
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
|
12
|
+
{% endcomment %}
|
13
|
+
{% capture page_tags %}{% for tag in page.tags %}{{ tag | downcase }}#{{ tag }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
|
14
|
+
{% assign tag_hashes = (page_tags | split: ',' | sort:0) %}
|
15
|
+
|
16
|
+
<p class="page__taxonomy">
|
17
|
+
<strong><i class="fa fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} </strong>
|
18
|
+
<span itemprop="keywords">
|
19
|
+
{% for hash in tag_hashes %}
|
20
|
+
{% assign keyValue = hash | split: '#' %}
|
21
|
+
{% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
|
22
|
+
<a href="{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path | absolute_url }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
23
|
+
{% endfor %}
|
24
|
+
</span>
|
25
|
+
</p>
|
26
26
|
{% endif %}
|
data/_includes/toc
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
<aside class="sidebar__right">
|
2
|
-
<nav class="toc" markdown="1">
|
3
|
-
<header><h4 class="nav__title"><i class="fa fa-{{ include.icon | default: 'file-text' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
|
4
|
-
* Auto generated table of contents
|
5
|
-
{:toc .toc__menu}
|
6
|
-
</nav>
|
1
|
+
<aside class="sidebar__right">
|
2
|
+
<nav class="toc" markdown="1">
|
3
|
+
<header><h4 class="nav__title"><i class="fa fa-{{ include.icon | default: 'file-text' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
|
4
|
+
* Auto generated table of contents
|
5
|
+
{:toc .toc__menu}
|
6
|
+
</nav>
|
7
7
|
</aside>
|
data/_includes/video
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
{% capture video_id %}{{ include.id }}{% endcapture %}
|
2
|
+
{% capture video_provider %}{{ include.provider }}{% endcapture %}
|
3
|
+
|
4
|
+
<!-- Courtesy of embedresponsively.com //-->
|
5
|
+
<div class="responsive-video-container">
|
6
|
+
{% if video_provider == "vimeo" %}
|
7
|
+
<iframe src="http://player.vimeo.com/video/{{ video_id }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
|
8
|
+
{% elsif video_provider == "youtube" %}
|
9
|
+
<iframe src="https://www.youtube.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
|
10
|
+
{% endif %}
|
11
|
+
</div>
|
@@ -1,15 +1,15 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
author_profile: false
|
4
|
-
---
|
5
|
-
|
6
|
-
<div id="main" role="main">
|
7
|
-
{% include sidebar.html %}
|
8
|
-
|
9
|
-
<div class="archive">
|
10
|
-
<h1 class="page__title">{{ page.title }}</h1>
|
11
|
-
{% for post in page.posts %}
|
12
|
-
{% include archive-single.html %}
|
13
|
-
{% endfor %}
|
14
|
-
</div>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
author_profile: false
|
4
|
+
---
|
5
|
+
|
6
|
+
<div id="main" role="main">
|
7
|
+
{% include sidebar.html %}
|
8
|
+
|
9
|
+
<div class="archive">
|
10
|
+
<h1 class="page__title">{{ page.title }}</h1>
|
11
|
+
{% for post in page.posts %}
|
12
|
+
{% include archive-single.html %}
|
13
|
+
{% endfor %}
|
14
|
+
</div>
|
15
15
|
</div>
|
data/_layouts/archive.html
CHANGED
@@ -4,6 +4,8 @@ layout: default
|
|
4
4
|
|
5
5
|
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
|
6
6
|
{% include page__hero.html %}
|
7
|
+
{% elsif page.header.video.id and page.header.video.provider %}
|
8
|
+
{% include page__hero_video.html %}
|
7
9
|
{% endif %}
|
8
10
|
|
9
11
|
{% if page.url != "/" and site.breadcrumbs %}
|
data/_layouts/compress.html
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
---
|
2
|
-
# Jekyll layout that compresses HTML
|
3
|
-
# v3.0.2
|
4
|
-
# http://jch.penibelst.de/
|
5
|
-
# © 2014–2015 Anatol Broder
|
6
|
-
# MIT License
|
7
|
-
---
|
8
|
-
|
9
|
-
{% capture _LINE_FEED %}
|
10
|
-
{% 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 %}
|
1
|
+
---
|
2
|
+
# Jekyll layout that compresses HTML
|
3
|
+
# v3.0.2
|
4
|
+
# http://jch.penibelst.de/
|
5
|
+
# © 2014–2015 Anatol Broder
|
6
|
+
# MIT License
|
7
|
+
---
|
8
|
+
|
9
|
+
{% capture _LINE_FEED %}
|
10
|
+
{% 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 %}
|
data/_layouts/default.html
CHANGED
@@ -1,28 +1,28 @@
|
|
1
|
-
---
|
2
|
-
---
|
3
|
-
|
4
|
-
<!doctype html>
|
5
|
-
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
|
6
|
-
<head>
|
7
|
-
{% include head.html %}
|
8
|
-
{% include head/custom.html %}
|
9
|
-
</head>
|
10
|
-
|
11
|
-
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
|
12
|
-
|
13
|
-
{% include browser-upgrade.html %}
|
14
|
-
{% include masthead.html %}
|
15
|
-
|
16
|
-
{{ content }}
|
17
|
-
|
18
|
-
<div class="page__footer">
|
19
|
-
<footer>
|
20
|
-
{% include footer/custom.html %}
|
21
|
-
{% include footer.html %}
|
22
|
-
</footer>
|
23
|
-
</div>
|
24
|
-
|
25
|
-
{% include scripts.html %}
|
26
|
-
|
27
|
-
</body>
|
28
|
-
</html>
|
1
|
+
---
|
2
|
+
---
|
3
|
+
|
4
|
+
<!doctype html>
|
5
|
+
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
|
6
|
+
<head>
|
7
|
+
{% include head.html %}
|
8
|
+
{% include head/custom.html %}
|
9
|
+
</head>
|
10
|
+
|
11
|
+
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
|
12
|
+
|
13
|
+
{% include browser-upgrade.html %}
|
14
|
+
{% include masthead.html %}
|
15
|
+
|
16
|
+
{{ content }}
|
17
|
+
|
18
|
+
<div class="page__footer">
|
19
|
+
<footer>
|
20
|
+
{% include footer/custom.html %}
|
21
|
+
{% include footer.html %}
|
22
|
+
</footer>
|
23
|
+
</div>
|
24
|
+
|
25
|
+
{% include scripts.html %}
|
26
|
+
|
27
|
+
</body>
|
28
|
+
</html>
|
data/_layouts/home.html
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
---
|
2
|
-
layout: archive
|
3
|
-
---
|
4
|
-
|
5
|
-
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
|
6
|
-
|
7
|
-
{% for post in paginator.posts %}
|
8
|
-
{% include archive-single.html %}
|
9
|
-
{% endfor %}
|
10
|
-
|
11
|
-
{% include paginator.html %}
|
1
|
+
---
|
2
|
+
layout: archive
|
3
|
+
---
|
4
|
+
|
5
|
+
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
|
6
|
+
|
7
|
+
{% for post in paginator.posts %}
|
8
|
+
{% include archive-single.html %}
|
9
|
+
{% endfor %}
|
10
|
+
|
11
|
+
{% include paginator.html %}
|
data/_layouts/single.html
CHANGED
@@ -1,74 +1,76 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
|
6
|
-
{% include page__hero.html %}
|
7
|
-
{%
|
8
|
-
|
9
|
-
{%
|
10
|
-
|
11
|
-
|
12
|
-
{%
|
13
|
-
{%
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
{% if page.
|
22
|
-
{% if page.
|
23
|
-
|
24
|
-
<
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
{%
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
{%
|
43
|
-
|
44
|
-
{%
|
45
|
-
|
46
|
-
{%
|
47
|
-
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.
|
48
|
-
{%
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
{% include
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
{%
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
{%
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
{%
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
</div>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
|
6
|
+
{% include page__hero.html %}
|
7
|
+
{% elsif page.header.video.id and page.header.video.provider %}
|
8
|
+
{% include page__hero_video.html %}
|
9
|
+
{% endif %}
|
10
|
+
|
11
|
+
{% if page.url != "/" and site.breadcrumbs %}
|
12
|
+
{% unless paginator %}
|
13
|
+
{% include breadcrumbs.html %}
|
14
|
+
{% endunless %}
|
15
|
+
{% endif %}
|
16
|
+
|
17
|
+
<div id="main" role="main">
|
18
|
+
{% include sidebar.html %}
|
19
|
+
|
20
|
+
<article class="page" itemscope itemtype="http://schema.org/CreativeWork">
|
21
|
+
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
22
|
+
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
23
|
+
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
|
24
|
+
{% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %}
|
25
|
+
|
26
|
+
<div class="page__inner-wrap">
|
27
|
+
{% unless page.header.overlay_color or page.header.overlay_image %}
|
28
|
+
<header>
|
29
|
+
{% if page.title %}<h1 class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
|
30
|
+
{% if page.read_time %}
|
31
|
+
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
|
32
|
+
{% endif %}
|
33
|
+
</header>
|
34
|
+
{% endunless %}
|
35
|
+
|
36
|
+
<section class="page__content" itemprop="text">
|
37
|
+
{{ content }}
|
38
|
+
{% if page.link %}<div><a href="{{ page.link }}" class="btn">{{ site.data.ui-text[site.locale].ext_link_label | default: "Direct Link" }}</a></div>{% endif %}
|
39
|
+
</section>
|
40
|
+
|
41
|
+
<footer class="page__meta">
|
42
|
+
{% if site.data.ui-text[site.locale].meta_label %}
|
43
|
+
<h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4>
|
44
|
+
{% endif %}
|
45
|
+
{% include page__taxonomy.html %}
|
46
|
+
{% if page.modified %}
|
47
|
+
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time></p>
|
48
|
+
{% elsif page.date %}
|
49
|
+
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p>
|
50
|
+
{% endif %}
|
51
|
+
</footer>
|
52
|
+
|
53
|
+
{% if page.share %}{% include social-share.html %}{% endif %}
|
54
|
+
|
55
|
+
{% include post_pagination.html %}
|
56
|
+
</div>
|
57
|
+
|
58
|
+
{% if site.comments.provider and page.comments %}
|
59
|
+
{% include comments.html %}
|
60
|
+
{% endif %}
|
61
|
+
</article>
|
62
|
+
|
63
|
+
{% comment %}<!-- only show related on a post page when not disabled -->{% endcomment %}
|
64
|
+
{% if page.id and page.related and site.related_posts.size > 0 %}
|
65
|
+
<div class="page__related">
|
66
|
+
{% if site.data.ui-text[site.locale].related_label %}
|
67
|
+
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
68
|
+
{% endif %}
|
69
|
+
<div class="grid__wrapper">
|
70
|
+
{% for post in site.related_posts limit:4 %}
|
71
|
+
{% include archive-single.html type="grid" %}
|
72
|
+
{% endfor %}
|
73
|
+
</div>
|
74
|
+
</div>
|
75
|
+
{% endif %}
|
76
|
+
</div>
|