jekyll-theme-so-simple 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/LICENSE +49 -49
- data/README.md +15 -2
- data/_data/authors.yml +16 -16
- data/_data/navigation.yml +16 -14
- data/_data/text.yml +36 -36
- data/_includes/disqus-comments.html +19 -19
- data/_includes/documents-collection.html +19 -19
- data/_includes/entry-date.html +6 -6
- data/_includes/entry.html +41 -39
- data/_includes/footer-custom.html +3 -3
- data/_includes/footer.html +24 -24
- data/_includes/google-analytics.html +9 -9
- data/_includes/head-custom.html +5 -5
- data/_includes/head-feed.html +1 -1
- data/_includes/head-seo.html +1 -1
- data/_includes/head.html +50 -50
- data/_includes/lunr-search-scripts.html +106 -106
- data/_includes/masthead.html +13 -13
- data/_includes/navigation.html +17 -17
- data/_includes/page-author.html +37 -37
- data/_includes/page-categories.html +14 -14
- data/_includes/page-date.html +4 -4
- data/_includes/page-image.html +14 -14
- data/_includes/page-pagination.html +19 -19
- data/_includes/page-tags.html +14 -14
- data/_includes/posts-all.html +3 -3
- data/_includes/posts-category.html +3 -3
- data/_includes/posts-paginated.html +74 -74
- data/_includes/posts-tag.html +3 -3
- data/_includes/read-time.html +16 -16
- data/_includes/responsive-embed +16 -16
- data/_includes/scripts.html +1 -3
- data/_includes/skip-links.html +8 -8
- data/_includes/social-share.html +6 -6
- data/_includes/toc +9 -9
- data/_layouts/categories.html +48 -48
- data/_layouts/category.html +9 -9
- data/_layouts/collection.html +9 -9
- data/_layouts/default.html +1 -1
- data/_layouts/home.html +17 -17
- data/_layouts/page.html +30 -30
- data/_layouts/post.html +41 -41
- data/_layouts/posts.html +29 -29
- data/_layouts/search.html +1 -1
- data/_layouts/tag.html +9 -9
- data/_layouts/tags.html +48 -48
- data/_sass/so-simple.scss +1 -1
- data/_sass/so-simple/_author.scss +45 -45
- data/_sass/so-simple/_base.scss +112 -112
- data/_sass/so-simple/_buttons.scss +92 -92
- data/_sass/so-simple/_entries.scss +182 -182
- data/_sass/so-simple/_functions.scss +4 -4
- data/_sass/so-simple/_global.scss +393 -393
- data/_sass/so-simple/_icons.scss +43 -43
- data/_sass/so-simple/_mixins.scss +5 -5
- data/_sass/so-simple/_notices.scss +93 -93
- data/_sass/so-simple/_page.scss +287 -282
- data/_sass/so-simple/_reset.scss +523 -523
- data/_sass/so-simple/_syntax-highlighting.scss +334 -334
- data/_sass/so-simple/_tables.scss +34 -34
- data/_sass/so-simple/_utilities.scss +7 -7
- data/_sass/so-simple/_variables.scss +132 -132
- data/_sass/so-simple/functions/_color.scss +21 -21
- data/_sass/so-simple/functions/_em.scss +7 -7
- data/_sass/so-simple/functions/_fluid-type.scss +33 -33
- data/_sass/so-simple/functions/_yiq.scss +38 -38
- data/_sass/so-simple/mixins/_clearfix.scss +32 -32
- data/_sass/so-simple/mixins/_float.scss +15 -15
- data/_sass/so-simple/mixins/_image.scss +38 -38
- data/_sass/so-simple/mixins/_lists.scss +9 -9
- data/_sass/so-simple/mixins/_text-truncate.scss +10 -10
- data/_sass/so-simple/utilities/_accessibility.scss +43 -43
- data/_sass/so-simple/utilities/_align.scss +60 -60
- data/_sass/so-simple/utilities/_animations.scss +99 -99
- data/_sass/so-simple/utilities/_clearfix.scss +7 -7
- data/_sass/so-simple/utilities/_float.scss +7 -7
- data/_sass/so-simple/utilities/_responsive-embed.scss +66 -66
- data/_sass/so-simple/utilities/_text.scss +48 -48
- data/_sass/so-simple/vendor/breakpoint/_breakpoint.scss +114 -114
- data/_sass/so-simple/vendor/breakpoint/_context.scss +94 -94
- data/_sass/so-simple/vendor/breakpoint/_helpers.scss +151 -151
- data/_sass/so-simple/vendor/breakpoint/_legacy-settings.scss +49 -49
- data/_sass/so-simple/vendor/breakpoint/_no-query.scss +15 -15
- data/_sass/so-simple/vendor/breakpoint/_parsers.scss +215 -215
- data/_sass/so-simple/vendor/breakpoint/_respond-to.scss +82 -82
- data/_sass/so-simple/vendor/breakpoint/_settings.scss +70 -70
- data/_sass/so-simple/vendor/breakpoint/parsers/_double.scss +33 -33
- data/_sass/so-simple/vendor/breakpoint/parsers/_query.scss +82 -82
- data/_sass/so-simple/vendor/breakpoint/parsers/_resolution.scss +31 -31
- data/_sass/so-simple/vendor/breakpoint/parsers/_single.scss +26 -26
- data/_sass/so-simple/vendor/breakpoint/parsers/_triple.scss +36 -36
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_default.scss +22 -22
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
- data/_sass/so-simple/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
- data/_sass/so-simple/vendor/breakpoint/parsers/single/_default.scss +13 -13
- data/_sass/so-simple/vendor/breakpoint/parsers/triple/_default.scss +18 -18
- data/_sass/so-simple/vendor/lity/_lity.scss +221 -221
- data/assets/css/main.scss +7 -7
- data/assets/js/lunr/lunr.da.min.js +17 -17
- data/assets/js/lunr/lunr.de.min.js +17 -17
- data/assets/js/lunr/lunr.du.min.js +17 -17
- data/assets/js/lunr/lunr.es.min.js +17 -17
- data/assets/js/lunr/lunr.fi.min.js +17 -17
- data/assets/js/lunr/lunr.fr.min.js +17 -17
- data/assets/js/lunr/lunr.hu.min.js +17 -17
- data/assets/js/lunr/lunr.it.min.js +17 -17
- data/assets/js/lunr/lunr.jp.min.js +1 -1
- data/assets/js/lunr/lunr.min.js +6 -6
- data/assets/js/lunr/lunr.no.min.js +17 -17
- data/assets/js/lunr/lunr.pt.min.js +17 -17
- data/assets/js/lunr/lunr.ro.min.js +17 -17
- data/assets/js/lunr/lunr.ru.min.js +17 -17
- data/assets/js/lunr/lunr.sv.min.js +17 -17
- data/assets/js/lunr/lunr.tr.min.js +17 -17
- data/assets/js/main.js +17 -15
- data/assets/js/main.min.js +2 -2
- data/assets/js/plugins/jquery.smooth-scroll.js +358 -358
- data/assets/js/plugins/jquery.smooth-scroll.min.js +8 -8
- data/assets/js/plugins/lity.js +655 -655
- data/assets/js/plugins/lity.min.js +4 -4
- data/assets/js/plugins/table-of-contents.js +59 -59
- data/assets/js/search-data.json +43 -27
- metadata +3 -3
data/_includes/scripts.html
CHANGED
@@ -10,11 +10,9 @@
|
|
10
10
|
{%- else -%}
|
11
11
|
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
|
12
12
|
<script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
|
13
|
-
<script src="https://use.fontawesome.com/releases/v5.0.
|
13
|
+
<script src="https://use.fontawesome.com/releases/v5.0.12/js/all.js"></script>
|
14
14
|
{%- endif -%}
|
15
15
|
|
16
|
-
|
17
|
-
|
18
16
|
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
19
17
|
<script>
|
20
18
|
if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
|
data/_includes/skip-links.html
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
<nav class="skip-links">
|
2
|
-
<h2 class="screen-reader-text">{{ site.data.text[site.locale].skip_links | default: 'Skip links' }}</h2>
|
3
|
-
<ul>
|
4
|
-
<li><a href="#primary-nav" class="screen-reader-shortcut">{{ site.data.text[site.locale].skip_primary_nav | default: 'Skip to primary navigation' }}</a></li>
|
5
|
-
<li><a href="#main" class="screen-reader-shortcut">{{ site.data.text[site.locale].skip_content | default: 'Skip to content' }}</a></li>
|
6
|
-
<li><a href="#footer" class="screen-reader-shortcut">{{ site.data.text[site.locale].skip_footer | default: 'Skip to footer' }}</a></li>
|
7
|
-
</ul>
|
8
|
-
</nav>
|
1
|
+
<nav class="skip-links">
|
2
|
+
<h2 class="screen-reader-text">{{ site.data.text[site.locale].skip_links | default: 'Skip links' }}</h2>
|
3
|
+
<ul>
|
4
|
+
<li><a href="#primary-nav" class="screen-reader-shortcut">{{ site.data.text[site.locale].skip_primary_nav | default: 'Skip to primary navigation' }}</a></li>
|
5
|
+
<li><a href="#main" class="screen-reader-shortcut">{{ site.data.text[site.locale].skip_content | default: 'Skip to content' }}</a></li>
|
6
|
+
<li><a href="#footer" class="screen-reader-shortcut">{{ site.data.text[site.locale].skip_footer | default: 'Skip to footer' }}</a></li>
|
7
|
+
</ul>
|
8
|
+
</nav>
|
data/_includes/social-share.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
<div class="page-share">
|
2
|
-
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" class="btn btn--facebook btn--small"><i class="fab fa-fw fa-facebook" aria-hidden="true"></i> <span>{{ site.data.text[site.locale].share | default: 'Share' }}</span></a>
|
3
|
-
<a href="https://twitter.com/intent/tweet?text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" class="btn btn--twitter btn--small"><i class="fab fa-fw fa-twitter" aria-hidden="true"></i> <span>{{ site.data.text[site.locale].tweet | default: 'Tweet' }}</span></a>
|
4
|
-
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" class="btn btn--linkedin btn--small"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i> <span>LinkedIn</span></a>
|
5
|
-
<a href="https://reddit.com/submit?title={{ page.title | url_encode }}&url={{ page.url | absolute_url | url_encode }}" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" class="btn btn--reddit btn--small"><i class="fab fa-fw fa-reddit" aria-hidden="true"></i> <span>Reddit</span></a>
|
6
|
-
</div>
|
1
|
+
<div class="page-share">
|
2
|
+
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" class="btn btn--facebook btn--small"><i class="fab fa-fw fa-facebook" aria-hidden="true"></i> <span>{{ site.data.text[site.locale].share | default: 'Share' }}</span></a>
|
3
|
+
<a href="https://twitter.com/intent/tweet?text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" class="btn btn--twitter btn--small"><i class="fab fa-fw fa-twitter" aria-hidden="true"></i> <span>{{ site.data.text[site.locale].tweet | default: 'Tweet' }}</span></a>
|
4
|
+
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" class="btn btn--linkedin btn--small"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i> <span>LinkedIn</span></a>
|
5
|
+
<a href="https://reddit.com/submit?title={{ page.title | url_encode }}&url={{ page.url | absolute_url | url_encode }}" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" class="btn btn--reddit btn--small"><i class="fab fa-fw fa-reddit" aria-hidden="true"></i> <span>Reddit</span></a>
|
6
|
+
</div>
|
data/_includes/toc
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
{::options parse_block_html="true" /}
|
2
|
-
<div id="entry-table-of-contents" class="toc-wrapper">
|
3
|
-
<h2 id="toc-toggle" class="no_toc">
|
4
|
-
{{ site.data.text[site.locale].table_of_contents | default: 'Table of Contents' }} <i class="toc-toggle-icon fas fa-chevron-down"></i>
|
5
|
-
</h2>
|
6
|
-
1. toc
|
7
|
-
{:toc}
|
8
|
-
</div>
|
9
|
-
{::options parse_block_html="false" /}
|
1
|
+
{::options parse_block_html="true" /}
|
2
|
+
<div id="entry-table-of-contents" class="toc-wrapper">
|
3
|
+
<h2 id="toc-toggle" class="no_toc">
|
4
|
+
{{ site.data.text[site.locale].table_of_contents | default: 'Table of Contents' }} <i class="toc-toggle-icon fas fa-chevron-down"></i>
|
5
|
+
</h2>
|
6
|
+
1. toc
|
7
|
+
{:toc}
|
8
|
+
</div>
|
9
|
+
{::options parse_block_html="false" /}
|
data/_layouts/categories.html
CHANGED
@@ -1,48 +1,48 @@
|
|
1
|
-
---
|
2
|
-
layout: page
|
3
|
-
---
|
4
|
-
|
5
|
-
{{ content }}
|
6
|
-
|
7
|
-
<ul class="taxonomy-index">
|
8
|
-
{% assign categories_max = 0 %}
|
9
|
-
{% for category in site.categories %}
|
10
|
-
{% if category[1].size > categories_max %}
|
11
|
-
{% assign categories_max = category[1].size %}
|
12
|
-
{% endif %}
|
13
|
-
{% endfor %}
|
14
|
-
{% for i in (1..categories_max) reversed %}
|
15
|
-
{% for category in site.categories %}
|
16
|
-
{% if category[1].size == i %}
|
17
|
-
<li>
|
18
|
-
<a href="#{{ category[0] | slugify }}">
|
19
|
-
<strong>{{ category[0] }}</strong> <span class="taxonomy-count">{{ i }}</span>
|
20
|
-
</a>
|
21
|
-
</li>
|
22
|
-
{% endif %}
|
23
|
-
{% endfor %}
|
24
|
-
{% endfor %}
|
25
|
-
</ul>
|
26
|
-
|
27
|
-
{% assign categories_max = 0 %}
|
28
|
-
{% for category in site.categories %}
|
29
|
-
{% if category[1].size > categories_max %}
|
30
|
-
{% assign categories_max = category[1].size %}
|
31
|
-
{% endif %}
|
32
|
-
{% endfor %}
|
33
|
-
|
34
|
-
{% for i in (1..categories_max) reversed %}
|
35
|
-
{% for category in site.categories %}
|
36
|
-
{% if category[1].size == i %}
|
37
|
-
<section id="{{ category[0] | slugify | downcase }}" class="taxonomy-section">
|
38
|
-
<h2 class="taxonomy-title">{{ category[0] }}</h2>
|
39
|
-
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
40
|
-
{% for entry in category.last %}
|
41
|
-
{% include entry.html %}
|
42
|
-
{% endfor %}
|
43
|
-
</div>
|
44
|
-
<a href="#page-title" class="back-to-top">{{ site.data.text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
45
|
-
</section>
|
46
|
-
{% endif %}
|
47
|
-
{% endfor %}
|
48
|
-
{% endfor %}
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
<ul class="taxonomy-index">
|
8
|
+
{% assign categories_max = 0 %}
|
9
|
+
{% for category in site.categories %}
|
10
|
+
{% if category[1].size > categories_max %}
|
11
|
+
{% assign categories_max = category[1].size %}
|
12
|
+
{% endif %}
|
13
|
+
{% endfor %}
|
14
|
+
{% for i in (1..categories_max) reversed %}
|
15
|
+
{% for category in site.categories %}
|
16
|
+
{% if category[1].size == i %}
|
17
|
+
<li>
|
18
|
+
<a href="#{{ category[0] | slugify }}">
|
19
|
+
<strong>{{ category[0] }}</strong> <span class="taxonomy-count">{{ i }}</span>
|
20
|
+
</a>
|
21
|
+
</li>
|
22
|
+
{% endif %}
|
23
|
+
{% endfor %}
|
24
|
+
{% endfor %}
|
25
|
+
</ul>
|
26
|
+
|
27
|
+
{% assign categories_max = 0 %}
|
28
|
+
{% for category in site.categories %}
|
29
|
+
{% if category[1].size > categories_max %}
|
30
|
+
{% assign categories_max = category[1].size %}
|
31
|
+
{% endif %}
|
32
|
+
{% endfor %}
|
33
|
+
|
34
|
+
{% for i in (1..categories_max) reversed %}
|
35
|
+
{% for category in site.categories %}
|
36
|
+
{% if category[1].size == i %}
|
37
|
+
<section id="{{ category[0] | slugify | downcase }}" class="taxonomy-section">
|
38
|
+
<h2 class="taxonomy-title">{{ category[0] }}</h2>
|
39
|
+
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
40
|
+
{% for entry in category.last %}
|
41
|
+
{% include entry.html %}
|
42
|
+
{% endfor %}
|
43
|
+
</div>
|
44
|
+
<a href="#page-title" class="back-to-top">{{ site.data.text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
45
|
+
</section>
|
46
|
+
{% endif %}
|
47
|
+
{% endfor %}
|
48
|
+
{% endfor %}
|
data/_layouts/category.html
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
---
|
2
|
-
layout: page
|
3
|
-
---
|
4
|
-
|
5
|
-
{{ content }}
|
6
|
-
|
7
|
-
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
8
|
-
{% include posts-category.html taxonomy=page.taxonomy %}
|
9
|
-
</div>
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
8
|
+
{% include posts-category.html taxonomy=page.taxonomy %}
|
9
|
+
</div>
|
data/_layouts/collection.html
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
---
|
2
|
-
layout: page
|
3
|
-
---
|
4
|
-
|
5
|
-
{{ content }}
|
6
|
-
|
7
|
-
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
8
|
-
{% include documents-collection.html collection=page.collection sort_by=page.sort_by sort_order=page.sort_order %}
|
9
|
-
</div>
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
8
|
+
{% include documents-collection.html collection=page.collection sort_by=page.sort_by sort_order=page.sort_order %}
|
9
|
+
</div>
|
data/_layouts/default.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<!--
|
3
|
-
So Simple Jekyll Theme 3.1.
|
3
|
+
So Simple Jekyll Theme 3.1.1
|
4
4
|
Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
|
5
5
|
Free for personal and commercial use under the MIT license
|
6
6
|
https://github.com/mmistakes/so-simple-theme/blob/master/LICENSE
|
data/_layouts/home.html
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
---
|
2
|
-
layout: page
|
3
|
-
---
|
4
|
-
|
5
|
-
{{ content }}
|
6
|
-
|
7
|
-
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
8
|
-
{%- if site.plugins contains 'jekyll-paginate' and page.paginate or site.gems contains 'jekyll-paginate' and page.paginate -%}
|
9
|
-
{%- comment -%}
|
10
|
-
Add paginator.posts loop if jekyll-paginate plugin is enabled
|
11
|
-
and page.paginate == true
|
12
|
-
{%- endcomment -%}
|
13
|
-
{% include posts-paginated.html %}
|
14
|
-
{%- else -%}
|
15
|
-
{% include posts-limit.html %}
|
16
|
-
{%- endif -%}
|
17
|
-
</div>
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
8
|
+
{%- if site.plugins contains 'jekyll-paginate' and page.paginate or site.gems contains 'jekyll-paginate' and page.paginate -%}
|
9
|
+
{%- comment -%}
|
10
|
+
Add paginator.posts loop if jekyll-paginate plugin is enabled
|
11
|
+
and page.paginate == true
|
12
|
+
{%- endcomment -%}
|
13
|
+
{% include posts-paginated.html %}
|
14
|
+
{%- else -%}
|
15
|
+
{% include posts-limit.html %}
|
16
|
+
{%- endif -%}
|
17
|
+
</div>
|
data/_layouts/page.html
CHANGED
@@ -1,30 +1,30 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
<main id="main" class="main-content" aria-label="Content">
|
6
|
-
<article>
|
7
|
-
{% include page-image.html %}
|
8
|
-
<div class="page-wrapper">
|
9
|
-
<header class="page-header">
|
10
|
-
{% if page.id %}
|
11
|
-
{% assign title = page.title | markdownify | strip_html %}
|
12
|
-
{% else %}
|
13
|
-
{% assign title = page.title %}
|
14
|
-
{% endif %}
|
15
|
-
{% if page.link %}
|
16
|
-
<h1 id="page-title" class="page-title"><a href="{{ page.link }}">{{ title }} <span class="link-arrow">→</span></a></h1>
|
17
|
-
{% else %}
|
18
|
-
<h1 id="page-title" class="page-title">{{ title }}</h1>
|
19
|
-
{% endif %}
|
20
|
-
</header>
|
21
|
-
<div class="page-content">
|
22
|
-
{{ content }}
|
23
|
-
|
24
|
-
{% if page.share %}
|
25
|
-
{% include social-share.html %}
|
26
|
-
{% endif %}
|
27
|
-
</div>
|
28
|
-
</div>
|
29
|
-
</article>
|
30
|
-
</main>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<main id="main" class="main-content" aria-label="Content">
|
6
|
+
<article>
|
7
|
+
{% include page-image.html %}
|
8
|
+
<div class="page-wrapper">
|
9
|
+
<header class="page-header">
|
10
|
+
{% if page.id %}
|
11
|
+
{% assign title = page.title | markdownify | strip_html %}
|
12
|
+
{% else %}
|
13
|
+
{% assign title = page.title %}
|
14
|
+
{% endif %}
|
15
|
+
{% if page.link %}
|
16
|
+
<h1 id="page-title" class="page-title"><a href="{{ page.link }}">{{ title }} <span class="link-arrow">→</span></a></h1>
|
17
|
+
{% else %}
|
18
|
+
<h1 id="page-title" class="page-title">{{ title }}</h1>
|
19
|
+
{% endif %}
|
20
|
+
</header>
|
21
|
+
<div class="page-content">
|
22
|
+
{{ content }}
|
23
|
+
|
24
|
+
{% if page.share %}
|
25
|
+
{% include social-share.html %}
|
26
|
+
{% endif %}
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
</article>
|
30
|
+
</main>
|
data/_layouts/post.html
CHANGED
@@ -1,41 +1,41 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
<main id="main" class="main-content" aria-label="Content">
|
6
|
-
<article class="h-entry">
|
7
|
-
{% include page-image.html %}
|
8
|
-
<div class="page-wrapper">
|
9
|
-
<header class="page-header">
|
10
|
-
{% assign title = page.title | markdownify | strip_html %}
|
11
|
-
{% if page.link %}
|
12
|
-
<h1 id="page-title" class="page-title p-name"><a href="{{ page.link }}">{{ title }} <span class="link-arrow">→</span></a></h1>
|
13
|
-
{% else %}
|
14
|
-
<h1 id="page-title" class="page-title p-name">{{ title }}</h1>
|
15
|
-
{% endif %}
|
16
|
-
</header>
|
17
|
-
|
18
|
-
<div class="page-sidebar">
|
19
|
-
{% include page-author.html %}
|
20
|
-
{% include page-categories.html %}
|
21
|
-
{% include page-tags.html %}
|
22
|
-
</div>
|
23
|
-
|
24
|
-
<div class="page-content">
|
25
|
-
<div class="e-content">
|
26
|
-
{{ content }}
|
27
|
-
</div>
|
28
|
-
|
29
|
-
{% if page.share %}
|
30
|
-
{% include social-share.html %}
|
31
|
-
{% endif %}
|
32
|
-
|
33
|
-
{% if site.disqus.shortname %}
|
34
|
-
{% include disqus-comments.html %}
|
35
|
-
{% endif %}
|
36
|
-
|
37
|
-
{% include page-pagination.html %}
|
38
|
-
</div>
|
39
|
-
</div>
|
40
|
-
</article>
|
41
|
-
</main>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<main id="main" class="main-content" aria-label="Content">
|
6
|
+
<article class="h-entry">
|
7
|
+
{% include page-image.html %}
|
8
|
+
<div class="page-wrapper">
|
9
|
+
<header class="page-header">
|
10
|
+
{% assign title = page.title | markdownify | strip_html %}
|
11
|
+
{% if page.link %}
|
12
|
+
<h1 id="page-title" class="page-title p-name"><a href="{{ page.link }}">{{ title }} <span class="link-arrow">→</span></a></h1>
|
13
|
+
{% else %}
|
14
|
+
<h1 id="page-title" class="page-title p-name">{{ title }}</h1>
|
15
|
+
{% endif %}
|
16
|
+
</header>
|
17
|
+
|
18
|
+
<div class="page-sidebar">
|
19
|
+
{% include page-author.html %}
|
20
|
+
{% include page-categories.html %}
|
21
|
+
{% include page-tags.html %}
|
22
|
+
</div>
|
23
|
+
|
24
|
+
<div class="page-content">
|
25
|
+
<div class="e-content">
|
26
|
+
{{ content }}
|
27
|
+
</div>
|
28
|
+
|
29
|
+
{% if page.share %}
|
30
|
+
{% include social-share.html %}
|
31
|
+
{% endif %}
|
32
|
+
|
33
|
+
{% if site.disqus.shortname %}
|
34
|
+
{% include disqus-comments.html %}
|
35
|
+
{% endif %}
|
36
|
+
|
37
|
+
{% include page-pagination.html %}
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
</article>
|
41
|
+
</main>
|
data/_layouts/posts.html
CHANGED
@@ -1,29 +1,29 @@
|
|
1
|
-
---
|
2
|
-
layout: page
|
3
|
-
---
|
4
|
-
|
5
|
-
{{ content }}
|
6
|
-
|
7
|
-
<ul class="taxonomy-index">
|
8
|
-
{% assign postsInYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
|
9
|
-
{% for year in postsInYear %}
|
10
|
-
<li>
|
11
|
-
<a href="#{{ year.name }}">
|
12
|
-
<strong>{{ year.name }}</strong> <span class="taxonomy-count">{{ year.items | size }}</span>
|
13
|
-
</a>
|
14
|
-
</li>
|
15
|
-
{% endfor %}
|
16
|
-
</ul>
|
17
|
-
|
18
|
-
{% assign postsByYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
|
19
|
-
{% for year in postsByYear %}
|
20
|
-
<section id="{{ year.name }}" class="taxonomy-section">
|
21
|
-
<h2 class="taxonomy-title">{{ year.name }}</h2>
|
22
|
-
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
23
|
-
{% for entry in year.items %}
|
24
|
-
{% include entry.html %}
|
25
|
-
{% endfor %}
|
26
|
-
</div>
|
27
|
-
<a href="#page-title" class="back-to-top">{{ site.data.text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
28
|
-
</section>
|
29
|
-
{% endfor %}
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
<ul class="taxonomy-index">
|
8
|
+
{% assign postsInYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
|
9
|
+
{% for year in postsInYear %}
|
10
|
+
<li>
|
11
|
+
<a href="#{{ year.name }}">
|
12
|
+
<strong>{{ year.name }}</strong> <span class="taxonomy-count">{{ year.items | size }}</span>
|
13
|
+
</a>
|
14
|
+
</li>
|
15
|
+
{% endfor %}
|
16
|
+
</ul>
|
17
|
+
|
18
|
+
{% assign postsByYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
|
19
|
+
{% for year in postsByYear %}
|
20
|
+
<section id="{{ year.name }}" class="taxonomy-section">
|
21
|
+
<h2 class="taxonomy-title">{{ year.name }}</h2>
|
22
|
+
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
23
|
+
{% for entry in year.items %}
|
24
|
+
{% include entry.html %}
|
25
|
+
{% endfor %}
|
26
|
+
</div>
|
27
|
+
<a href="#page-title" class="back-to-top">{{ site.data.text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
28
|
+
</section>
|
29
|
+
{% endfor %}
|