jekyll-theme-so-simple-libre 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +329 -0
- data/LICENSE +21 -0
- data/README.md +1148 -0
- data/_data/authors.yml +16 -0
- data/_data/navigation.yml +14 -0
- data/_data/text.yml +193 -0
- data/_includes/documents-collection.html +19 -0
- data/_includes/entry-date.html +6 -0
- data/_includes/entry.html +38 -0
- data/_includes/footer-custom.html +3 -0
- data/_includes/footer.html +24 -0
- data/_includes/head-custom.html +5 -0
- data/_includes/head-feed.html +1 -0
- data/_includes/head-seo.html +1 -0
- data/_includes/head.html +47 -0
- data/_includes/masthead.html +18 -0
- data/_includes/navigation.html +17 -0
- data/_includes/page-author.html +37 -0
- data/_includes/page-categories.html +15 -0
- data/_includes/page-date.html +4 -0
- data/_includes/page-image.html +14 -0
- data/_includes/page-pagination.html +19 -0
- data/_includes/page-tags.html +15 -0
- data/_includes/posts-all.html +3 -0
- data/_includes/posts-category.html +3 -0
- data/_includes/posts-limit.html +5 -0
- data/_includes/posts-paginated.html +74 -0
- data/_includes/posts-tag.html +3 -0
- data/_includes/read-time.html +16 -0
- data/_includes/responsive-embed +16 -0
- data/_includes/skip-links.html +8 -0
- data/_includes/social-share.html +6 -0
- data/_includes/talkyard-comments-provider.html +10 -0
- data/_includes/toc +9 -0
- data/_layouts/categories.html +81 -0
- data/_layouts/category.html +9 -0
- data/_layouts/collection.html +9 -0
- data/_layouts/default.html +21 -0
- data/_layouts/home.html +17 -0
- data/_layouts/page.html +30 -0
- data/_layouts/post.html +41 -0
- data/_layouts/posts.html +29 -0
- data/_layouts/tag.html +9 -0
- data/_layouts/tags.html +81 -0
- data/_sass/so-simple.scss +31 -0
- data/_sass/so-simple/_author.scss +47 -0
- data/_sass/so-simple/_base.scss +106 -0
- data/_sass/so-simple/_buttons.scss +64 -0
- data/_sass/so-simple/_entries.scss +194 -0
- data/_sass/so-simple/_functions.scss +4 -0
- data/_sass/so-simple/_global.scss +353 -0
- data/_sass/so-simple/_icons.scss +43 -0
- data/_sass/so-simple/_mixins.scss +5 -0
- data/_sass/so-simple/_notices.scss +57 -0
- data/_sass/so-simple/_page.scss +286 -0
- data/_sass/so-simple/_reset.scss +522 -0
- data/_sass/so-simple/_skin.scss +552 -0
- data/_sass/so-simple/_syntax-highlighting.scss +68 -0
- data/_sass/so-simple/_tables.scss +34 -0
- data/_sass/so-simple/_utilities.scss +7 -0
- data/_sass/so-simple/_variables.scss +98 -0
- data/_sass/so-simple/functions/_color.scss +21 -0
- data/_sass/so-simple/functions/_em.scss +7 -0
- data/_sass/so-simple/functions/_fluid-type.scss +33 -0
- data/_sass/so-simple/functions/_yiq.scss +38 -0
- data/_sass/so-simple/mixins/_clearfix.scss +32 -0
- data/_sass/so-simple/mixins/_float.scss +15 -0
- data/_sass/so-simple/mixins/_image.scss +38 -0
- data/_sass/so-simple/mixins/_lists.scss +9 -0
- data/_sass/so-simple/mixins/_text-truncate.scss +10 -0
- data/_sass/so-simple/utilities/_accessibility.scss +42 -0
- data/_sass/so-simple/utilities/_align.scss +60 -0
- data/_sass/so-simple/utilities/_animations.scss +99 -0
- data/_sass/so-simple/utilities/_clearfix.scss +7 -0
- data/_sass/so-simple/utilities/_float.scss +7 -0
- data/_sass/so-simple/utilities/_responsive-embed.scss +66 -0
- data/_sass/so-simple/utilities/_text.scss +48 -0
- data/_sass/so-simple/vendor/breakpoint/_breakpoint.scss +114 -0
- data/_sass/so-simple/vendor/breakpoint/_context.scss +95 -0
- data/_sass/so-simple/vendor/breakpoint/_helpers.scss +151 -0
- data/_sass/so-simple/vendor/breakpoint/_legacy-settings.scss +50 -0
- data/_sass/so-simple/vendor/breakpoint/_no-query.scss +15 -0
- data/_sass/so-simple/vendor/breakpoint/_parsers.scss +215 -0
- data/_sass/so-simple/vendor/breakpoint/_respond-to.scss +82 -0
- data/_sass/so-simple/vendor/breakpoint/_settings.scss +71 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/_double.scss +33 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/_query.scss +82 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/_resolution.scss +31 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/_single.scss +26 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/_triple.scss +36 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_default-pair.scss +21 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_default.scss +22 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_double-string.scss +22 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/single/_default.scss +13 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/triple/_default.scss +18 -0
- data/_sass/so-simple/vendor/lity/_lity.scss +221 -0
- data/assets/css/main.scss +8 -0
- data/assets/css/skins/dark.scss +43 -0
- data/assets/css/skins/default.scss +44 -0
- data/assets/css/skins/light.scss +44 -0
- metadata +262 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
{% if page.categories.size > 0 %}
|
2
|
+
<h3 class="page-taxonomies-title">{{ site.data.text[site.locale].categories | default: 'Categories' }}</h3>
|
3
|
+
{% assign categories = page.categories | sort %}
|
4
|
+
<ul class="page-taxonomies">
|
5
|
+
{%- for category in categories -%}
|
6
|
+
<li class="page-taxonomy">
|
7
|
+
{%- if site.category_archive_path -%}
|
8
|
+
<a class="p-category" href="{{ category | slugify | prepend: site.category_archive_path | relative_url }}" title="{{ site.data.text[site.locale].pages_categorized | default: 'Pages filed under' }} {{ category }}">{{ category }}</a>
|
9
|
+
{%- else -%}
|
10
|
+
{{ category }}
|
11
|
+
{%- endif -%}
|
12
|
+
</li>
|
13
|
+
{%- endfor- %}
|
14
|
+
</ul>
|
15
|
+
{% endif %}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{% if page.image %}
|
2
|
+
{% assign page_image = page.image.path | default: page.image %}
|
3
|
+
{% unless page_image contains '://' %}
|
4
|
+
{% assign page_image = page_image | relative_url %}
|
5
|
+
{% endunless %}
|
6
|
+
{% assign page_image = page_image | escape %}
|
7
|
+
|
8
|
+
<div class="page-image">
|
9
|
+
<img src="{{ page_image }}" class="entry-feature-image u-photo" alt="{{ page.title }}" {% unless site.logo %}style="margin-top: 0;"{% endunless %}>
|
10
|
+
{% if page.image.caption %}
|
11
|
+
<div class="page-image-caption">{{ page.image.caption | markdownify }}</div>
|
12
|
+
{% endif %}
|
13
|
+
</div>
|
14
|
+
{% endif %}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<nav class="page-pagination" role="navigation">
|
2
|
+
{% if page.previous %}
|
3
|
+
<a class="page-previous" href="{{ page.previous.url | relative_url }}">
|
4
|
+
<h4 class="page-pagination-label">{{ site.data.text[site.locale].previous | default: 'Previous' }}</h4>
|
5
|
+
<span class="page-pagination-title">
|
6
|
+
<i class="fas fa-arrow-left"></i> {{ page.previous.title | markdownify | strip_html }}
|
7
|
+
</span>
|
8
|
+
</a>
|
9
|
+
{% endif %}
|
10
|
+
|
11
|
+
{% if page.next %}
|
12
|
+
<a class="page-next" href="{{ page.next.url | relative_url }}">
|
13
|
+
<h4 class="page-pagination-label">{{ site.data.text[site.locale].next | default: 'Next' }}</h4>
|
14
|
+
<span class="page-pagination-title">
|
15
|
+
{{ page.next.title | markdownify | strip_html }} <i class="fas fa-arrow-right"></i>
|
16
|
+
</span>
|
17
|
+
</a>
|
18
|
+
{% endif %}
|
19
|
+
</nav>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{% if page.tags.size > 0 %}
|
2
|
+
<h3 class="page-taxonomies-title">{{ site.data.text[site.locale].tags | default: 'Tags' }}</h3>
|
3
|
+
{% assign tags = page.tags | sort %}
|
4
|
+
<ul class="page-taxonomies">
|
5
|
+
{%- for tag in tags -%}
|
6
|
+
<li class="page-taxonomy">
|
7
|
+
{%- if site.tag_archive_path -%}
|
8
|
+
<a href="{{ tag | slugify | prepend: site.tag_archive_path | relative_url }}" title="{{ site.data.text[site.locale].pages_tagged | default: 'Pages tagged' }} {{ tag }}" rel="tag">{{ tag }}</a>
|
9
|
+
{%- else -%}
|
10
|
+
{{ tag }}
|
11
|
+
{%- endif -%}
|
12
|
+
</li>
|
13
|
+
{%- endfor- %}
|
14
|
+
</ul>
|
15
|
+
{% endif %}
|
@@ -0,0 +1,74 @@
|
|
1
|
+
{%- for entry in paginator.posts -%}
|
2
|
+
{% include entry.html %}
|
3
|
+
{%- endfor -%}
|
4
|
+
|
5
|
+
<!-- Pagination links -->
|
6
|
+
{% if paginator.total_pages > 1 %}
|
7
|
+
<nav class="pagination">
|
8
|
+
{% assign first_page_path = site.paginate_path | replace: 'page:num', '' | replace: '//', '/' | relative_url %}
|
9
|
+
<ul>
|
10
|
+
{% comment %} Link for previous page {% endcomment %}
|
11
|
+
{% if paginator.previous_page %}
|
12
|
+
{% if paginator.previous_page == 1 %}
|
13
|
+
<li><a href="{{ first_page_path }}">{{ site.data.text[site.locale].previous | default: "Previous" }}</a></li>
|
14
|
+
{% else %}
|
15
|
+
<li><a href="{{ site.paginate_path | replace: ':num', paginator.previous_page | replace: '//', '/' | relative_url }}">{{ site.data.text[site.locale].previous | default: "Previous" }}</a></li>
|
16
|
+
{% endif %}
|
17
|
+
{% else %}
|
18
|
+
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.text[site.locale].previous | default: "Previous" }}</span></a></li>
|
19
|
+
{% endif %}
|
20
|
+
|
21
|
+
{% comment %} First page {% endcomment %}
|
22
|
+
{% if paginator.page == 1 %}
|
23
|
+
<li><a href="#" class="disabled current">1</a></li>
|
24
|
+
{% else %}
|
25
|
+
<li><a href="{{ first_page_path }}">1</a></li>
|
26
|
+
{% endif %}
|
27
|
+
|
28
|
+
{% assign page_start = 2 %}
|
29
|
+
{% if paginator.page > 4 %}
|
30
|
+
{% assign page_start = paginator.page | minus: 2 %}
|
31
|
+
{% comment %} Ellipsis for truncated links {% endcomment %}
|
32
|
+
<li><a href="#" class="disabled">…</a></li>
|
33
|
+
{% endif %}
|
34
|
+
|
35
|
+
{% assign page_end = paginator.total_pages | minus: 1 %}
|
36
|
+
{% assign pages_to_end = paginator.total_pages | minus: paginator.page %}
|
37
|
+
{% if pages_to_end > 4 %}
|
38
|
+
{% assign page_end = paginator.page | plus: 2 %}
|
39
|
+
{% endif %}
|
40
|
+
|
41
|
+
{% for index in (page_start..page_end) %}
|
42
|
+
{% if index == paginator.page %}
|
43
|
+
<li><a href="{{ site.paginate_path | replace: ':num', index | replace: '//', '/' | relative_url }}" class="disabled current">{{ index }}</a></li>
|
44
|
+
{% else %}
|
45
|
+
{% comment %} Distance from current page and this link {% endcomment %}
|
46
|
+
{% assign dist = paginator.page | minus: index %}
|
47
|
+
{% if dist < 0 %}
|
48
|
+
{% comment %} Distance must be a positive value {% endcomment %}
|
49
|
+
{% assign dist = 0 | minus: dist %}
|
50
|
+
{% endif %}
|
51
|
+
<li><a href="{{ site.paginate_path | replace: ':num', index | relative_url }}">{{ index }}</a></li>
|
52
|
+
{% endif %}
|
53
|
+
{% endfor %}
|
54
|
+
|
55
|
+
{% comment %} Ellipsis for truncated links {% endcomment %}
|
56
|
+
{% if pages_to_end > 3 %}
|
57
|
+
<li><a href="#" class="disabled">…</a></li>
|
58
|
+
{% endif %}
|
59
|
+
|
60
|
+
{% if paginator.page == paginator.total_pages %}
|
61
|
+
<li><a href="#" class="disabled current">{{ paginator.page }}</a></li>
|
62
|
+
{% else %}
|
63
|
+
<li><a href="{{ site.paginate_path | replace: ':num', paginator.total_pages | replace: '//', '/' | relative_url }}">{{ paginator.total_pages }}</a></li>
|
64
|
+
{% endif %}
|
65
|
+
|
66
|
+
{% comment %} Link next page {% endcomment %}
|
67
|
+
{% if paginator.next_page %}
|
68
|
+
<li><a href="{{ site.paginate_path | replace: ':num', paginator.next_page | replace: '//', '/' | relative_url }}">{{ site.data.text[site.locale].next | default: "Next" }}</a></li>
|
69
|
+
{% else %}
|
70
|
+
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.text[site.locale].next | default: "Next" }}</span></a></li>
|
71
|
+
{% endif %}
|
72
|
+
</ul>
|
73
|
+
</nav>
|
74
|
+
{% endif %}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
{%- assign words_per_minute = site.words_per_minute | default: 200 -%}
|
2
|
+
{%- assign min_read = site.data.text[site.locale].min_read | default: 'min read' -%}
|
3
|
+
|
4
|
+
{% if entry %}
|
5
|
+
{% assign words = entry.content | strip_html | number_of_words %}
|
6
|
+
{% else %}
|
7
|
+
{% assign words = page.content | strip_html | number_of_words %}
|
8
|
+
{% endif %}
|
9
|
+
|
10
|
+
<span class="read-time">
|
11
|
+
{%- if words < words_per_minute -%}
|
12
|
+
~1 {{ min_read }}
|
13
|
+
{%- else -%}
|
14
|
+
{{ words | divided_by:words_per_minute }} {{ min_read }}
|
15
|
+
{%- endif -%}
|
16
|
+
</span>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
{%- case include.ratio -%}
|
2
|
+
{%- when '21:9' -%}
|
3
|
+
{%- assign ratio_class = 'responsive-embed-21by9' -%}
|
4
|
+
{%- when '16:9' -%}
|
5
|
+
{%- assign ratio_class = 'responsive-embed-16by9' -%}
|
6
|
+
{%- when '4:3' -%}
|
7
|
+
{%- assign ratio_class = 'responsive-embed-4by3' -%}
|
8
|
+
{%- when '1:1' -%}
|
9
|
+
{%- assign ratio_class = 'responsive-embed-1by1' -%}
|
10
|
+
{%- else -%}
|
11
|
+
{%- assign ratio_class = 'responsive-embed-16by9' -%}
|
12
|
+
{%- endcase -%}
|
13
|
+
|
14
|
+
<div class="responsive-embed {{ ratio_class }}">
|
15
|
+
<iframe src="{{ include.url }}" frameborder="0" allowfullscreen></iframe>
|
16
|
+
</div>
|
@@ -0,0 +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>
|
@@ -0,0 +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>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{% if site.talkyard_server_url %}
|
2
|
+
<script>talkyardServerUrl='{{ site.talkyard_server_url }}';</script>
|
3
|
+
<script async defer src="{{ site.talkyard_script_url }}"></script>
|
4
|
+
<!-- You can specify a per page discussion id on the next line, if your URLs might change. -->
|
5
|
+
<div class="talkyard-comments" data-discussion-id="{{ page.discussion_id }}" style="margin-top: 45px;">
|
6
|
+
<noscript>Please enable Javascript to view comments.</noscript>
|
7
|
+
<p style="margin-top: 25px; opacity: 0.9; font-size: 96%">Comments powered by
|
8
|
+
<a href="https://www.talkyard.io">Talkyard</a>.</p>
|
9
|
+
</div>
|
10
|
+
{% endif %}
|
data/_includes/toc
ADDED
@@ -0,0 +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" /}
|
@@ -0,0 +1,81 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
{% assign categories_max = 0 %}
|
8
|
+
{% for category in site.categories %}
|
9
|
+
{% if category[1].size > categories_max %}
|
10
|
+
{% assign categories_max = category[1].size %}
|
11
|
+
{% endif %}
|
12
|
+
{% endfor %}
|
13
|
+
|
14
|
+
{% assign category_names_array = "" %}
|
15
|
+
{% assign category_counts = "" %}
|
16
|
+
{% assign first_array_element = true %}
|
17
|
+
{% for i in (1..categories_max) reversed %}
|
18
|
+
{% assign category_names = "" %}
|
19
|
+
{% assign first_category = true %}
|
20
|
+
|
21
|
+
{% for category in site.categories %}
|
22
|
+
{% if category[1].size == i %}
|
23
|
+
{% if first_category %}
|
24
|
+
{% assign first_category = false %}
|
25
|
+
{% else %}
|
26
|
+
{% assign category_names = category_names | append: "," %}
|
27
|
+
{% endif %}
|
28
|
+
{% assign category_names = category_names | append: category[0] %}
|
29
|
+
{% endif %}
|
30
|
+
{% endfor %}
|
31
|
+
|
32
|
+
{% if category_names != "" %}
|
33
|
+
{% assign category_names = category_names | split: "," | sort | join: "," %}
|
34
|
+
|
35
|
+
{% if first_array_element %}
|
36
|
+
{% assign first_array_element = false %}
|
37
|
+
{% else %}
|
38
|
+
{% assign category_names_array = category_names_array | append: "|" %}
|
39
|
+
{% assign category_counts = category_counts | append: "|" %}
|
40
|
+
{% endif %}
|
41
|
+
{% assign category_names_array = category_names_array | append: category_names %}
|
42
|
+
{% assign category_counts = category_counts | append: i %}
|
43
|
+
{% endif %}
|
44
|
+
{% endfor %}
|
45
|
+
|
46
|
+
{% assign category_names_array = category_names_array | split: "|" %}
|
47
|
+
{% assign category_counts = category_counts | split: "|" %}
|
48
|
+
|
49
|
+
|
50
|
+
<ul class="taxonomy-index">
|
51
|
+
{% for category_names in category_names_array %}
|
52
|
+
{% assign category_names_list = category_names | split: "," %}
|
53
|
+
{% assign category_count = category_counts[forloop.index0] %}
|
54
|
+
{% for category_name in category_names_list %}
|
55
|
+
<li>
|
56
|
+
<a href="#{{ category_name | slugify }}">
|
57
|
+
<strong>{{ category_name }}</strong> <span class="taxonomy-count">{{ category_count }}</span>
|
58
|
+
</a>
|
59
|
+
</li>
|
60
|
+
{% endfor %}
|
61
|
+
{% endfor %}
|
62
|
+
</ul>
|
63
|
+
|
64
|
+
{% for category_names in category_names_array %}
|
65
|
+
{% assign category_names_list = category_names | split: "," %}
|
66
|
+
{% for category_name in category_names_list %}
|
67
|
+
<section id="{{ category_name | slugify | downcase }}" class="taxonomy-section">
|
68
|
+
<h2 class="taxonomy-title">{{ category_name }}</h2>
|
69
|
+
{% for category in site.categories %}
|
70
|
+
{% if category[0] == category_name %}
|
71
|
+
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
72
|
+
{% for entry in category.last %}
|
73
|
+
{% include entry.html %}
|
74
|
+
{% endfor %}
|
75
|
+
</div>
|
76
|
+
{% endif %}
|
77
|
+
{% endfor %}
|
78
|
+
<a href="#page-title" class="back-to-top">{{ site.data.text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
79
|
+
</section>
|
80
|
+
{% endfor %}
|
81
|
+
{% endfor %}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<!--
|
3
|
+
So Simple Jekyll Theme 3.2.0
|
4
|
+
Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
|
5
|
+
Free for personal and commercial use under the MIT license
|
6
|
+
https://github.com/mmistakes/so-simple-theme/blob/master/LICENSE
|
7
|
+
-->
|
8
|
+
<html lang="{{ page.lang | default: site.lang | default: 'en-US' }}" class="no-js">
|
9
|
+
{% include head.html %}
|
10
|
+
|
11
|
+
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %} {% if page.entries_layout == 'grid' %}page--wide{% endif %} {{ page.title | slugify }}">
|
12
|
+
{% include skip-links.html %}
|
13
|
+
{% include navigation.html %}
|
14
|
+
{% include masthead.html %}
|
15
|
+
|
16
|
+
{{ content }}
|
17
|
+
|
18
|
+
{% include footer.html %}
|
19
|
+
</body>
|
20
|
+
|
21
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +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>
|
data/_layouts/page.html
ADDED
@@ -0,0 +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>
|
data/_layouts/post.html
ADDED
@@ -0,0 +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.talkyard_server_url %}
|
34
|
+
{% include talkyard-comments-provider.html %}
|
35
|
+
{% endif %}
|
36
|
+
|
37
|
+
{% include page-pagination.html %}
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
</article>
|
41
|
+
</main>
|