minduim 1.0.2 → 1.0.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/_config.yml +76 -72
- data/_includes/footer.html +16 -16
- data/_includes/header.html +31 -31
- data/_includes/post.html +25 -25
- data/_includes/sidebar.html +31 -31
- data/_includes/widget.html +5 -5
- data/_layouts/archive.html +41 -41
- data/_layouts/blog.html +35 -35
- data/_layouts/default.html +3 -0
- data/_layouts/page.html +13 -13
- data/_layouts/post.html +74 -74
- data/assets/css/base.css +432 -430
- data/assets/css/layout.css +235 -235
- data/assets/css/syntax.css +425 -425
- data/assets/css/theme.css +40 -40
- data/assets/images/favicon.png +0 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef1cdf2f211ce739fbc331c50cb0b5862972a75487597bf4d250a91801fed93b
|
4
|
+
data.tar.gz: 4f326d7982b90a128bc91490a247c3a693ee4eeafa4444e67a262da30afe3ee5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad65a89a2a860b95717a04cf21722ae83fae6f6c01a3a1ad74d929305df2c8a5e676f0804deb0563672e279e23867b9169b2fc95fbdde06e609825ca4570f5fe
|
7
|
+
data.tar.gz: 4f8f156e5a480b45a094abedae312fc57c5fb2e2a6c48506814b1bbc4fd54c2fffb4a2406c7eef18fcb0e4bd619c88cd8ad613731ff02bf2caccb7812dfb7f21
|
data/_config.yml
CHANGED
@@ -1,72 +1,76 @@
|
|
1
|
-
title: Minduim
|
2
|
-
description: >-
|
3
|
-
This is a theme for a Jekyll blog.
|
4
|
-
|
5
|
-
logo: https://picsum.photos/300/300
|
6
|
-
lang:
|
7
|
-
timezone: America/Sao_Paulo
|
8
|
-
|
9
|
-
permalink: /:year/:month/:title.html
|
10
|
-
slug_mode: latin
|
11
|
-
|
12
|
-
plugins:
|
13
|
-
- jekyll-archives
|
14
|
-
- jekyll-feed
|
15
|
-
- jekyll-json-feed
|
16
|
-
- jekyll-paginate
|
17
|
-
- jekyll-seo-tag
|
18
|
-
- jekyll-sitemap
|
19
|
-
|
20
|
-
# Theme Options
|
21
|
-
minduim:
|
22
|
-
date_formats:
|
23
|
-
day: "%v"
|
24
|
-
month: "%B, %Y"
|
25
|
-
year: "%Y"
|
26
|
-
translations:
|
27
|
-
jump_to_navigation: "Go to navigation"
|
28
|
-
jump_to_content: "Go to content"
|
29
|
-
archive_date_title: "Posts from %s" # don't forget `%s`, it will be replaced by the date
|
30
|
-
archive_tag_title: "Posts with the tag “%s”" # don't forget `%s`, it will be replaced by the tag name.
|
31
|
-
archive_category_title: "Posts filed under “%s”" # don't forget `%s`, it will be replaced by the category name.
|
32
|
-
post_tagged_with: "Tagged with:"
|
33
|
-
blog_pagination_title: "Blog Pagination"
|
34
|
-
blog_pagination_next_page: "Older posts →"
|
35
|
-
blog_pagination_prev_page: "← Newer posts"
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
- label:
|
55
|
-
url:
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
# Plugin: jekyll-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
1
|
+
title: Minduim
|
2
|
+
description: >-
|
3
|
+
This is a theme for a Jekyll blog.
|
4
|
+
|
5
|
+
logo: https://picsum.photos/300/300
|
6
|
+
lang: en
|
7
|
+
timezone: America/Sao_Paulo
|
8
|
+
|
9
|
+
permalink: /:year/:month/:title.html
|
10
|
+
slug_mode: latin
|
11
|
+
|
12
|
+
plugins:
|
13
|
+
- jekyll-archives
|
14
|
+
- jekyll-feed
|
15
|
+
- jekyll-json-feed
|
16
|
+
- jekyll-paginate
|
17
|
+
- jekyll-seo-tag
|
18
|
+
- jekyll-sitemap
|
19
|
+
|
20
|
+
# Theme Options
|
21
|
+
minduim:
|
22
|
+
date_formats:
|
23
|
+
day: "%v"
|
24
|
+
month: "%B, %Y"
|
25
|
+
year: "%Y"
|
26
|
+
translations:
|
27
|
+
jump_to_navigation: "Go to navigation"
|
28
|
+
jump_to_content: "Go to content"
|
29
|
+
archive_date_title: "Posts from %s" # don't forget `%s`, it will be replaced by the date
|
30
|
+
archive_tag_title: "Posts with the tag “%s”" # don't forget `%s`, it will be replaced by the tag name.
|
31
|
+
archive_category_title: "Posts filed under “%s”" # don't forget `%s`, it will be replaced by the category name.
|
32
|
+
post_tagged_with: "Tagged with:"
|
33
|
+
blog_pagination_title: "Blog Pagination"
|
34
|
+
blog_pagination_next_page: "Older posts →"
|
35
|
+
blog_pagination_prev_page: "← Newer posts"
|
36
|
+
|
37
|
+
favicon:
|
38
|
+
url: /assets/images/favicon.png
|
39
|
+
type: image/png
|
40
|
+
|
41
|
+
# Menus
|
42
|
+
main_menu:
|
43
|
+
title: Navigate
|
44
|
+
items:
|
45
|
+
- label: About
|
46
|
+
url: /about/
|
47
|
+
- label: Bugs?
|
48
|
+
url: https://github.com/arthrfrts/minduim/issues
|
49
|
+
external: true
|
50
|
+
|
51
|
+
footer_menu:
|
52
|
+
title: Social
|
53
|
+
items:
|
54
|
+
- label: Feed
|
55
|
+
url: /feed.xml
|
56
|
+
- label: JSON Feed
|
57
|
+
url: /feed.json
|
58
|
+
- label: GitHub
|
59
|
+
url: https://github.com/arthrfrts/minduim
|
60
|
+
external: true
|
61
|
+
|
62
|
+
# Plugin: jekyll-paginate
|
63
|
+
paginate: 6
|
64
|
+
paginate_path: "/page/:num/"
|
65
|
+
|
66
|
+
# Plugin: jekyll-archives
|
67
|
+
jekyll-archives:
|
68
|
+
enabled:
|
69
|
+
- year
|
70
|
+
- month
|
71
|
+
- tags
|
72
|
+
layout: archive
|
73
|
+
permalinks:
|
74
|
+
year: "/:year/"
|
75
|
+
month: "/:year/:month/"
|
76
|
+
tag: "/tags/:name.html"
|
data/_includes/footer.html
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
<footer class="site-footer">
|
2
|
-
{% if site.footer_menu %}
|
3
|
-
<nav class="footer-menu" aria-label="{{ site.footer_menu.title }}">
|
4
|
-
{% for item in site.footer_menu.items %}
|
5
|
-
<a class="menu-item" href="{{ item.url }}" {% if item.external %}target="_blank"{% endif %}>
|
6
|
-
{{- item.label -}}
|
7
|
-
</a>
|
8
|
-
{% endfor %}
|
9
|
-
</nav>
|
10
|
-
{% endif %}
|
11
|
-
|
12
|
-
<p>
|
13
|
-
<strong><a href="{{ '/' | absolute_url }}">{{ site.title }}</a></strong>
|
14
|
-
— {{ site.description }}
|
15
|
-
</p>
|
16
|
-
</footer>
|
1
|
+
<footer class="site-footer">
|
2
|
+
{% if site.footer_menu %}
|
3
|
+
<nav class="footer-menu" aria-label="{{ site.footer_menu.title }}">
|
4
|
+
{% for item in site.footer_menu.items %}
|
5
|
+
<a class="menu-item" href="{{ item.url }}" {% if item.external %}target="_blank"{% endif %}>
|
6
|
+
{{- item.label -}}
|
7
|
+
</a>
|
8
|
+
{% endfor %}
|
9
|
+
</nav>
|
10
|
+
{% endif %}
|
11
|
+
|
12
|
+
<p>
|
13
|
+
<strong><a href="{{ '/' | absolute_url }}">{{ site.title }}</a></strong>
|
14
|
+
— {{ site.description }}
|
15
|
+
</p>
|
16
|
+
</footer>
|
data/_includes/header.html
CHANGED
@@ -1,31 +1,31 @@
|
|
1
|
-
{%- capture site_branding -%}
|
2
|
-
<a class="site-branding" href="{{ '/' | absolute_url }}">
|
3
|
-
{%- if site.logo -%}
|
4
|
-
<img class="site-logo" src="{{ site.logo | absolute_url }}" alt="{{ site.title }}" role="presentation" />
|
5
|
-
{%- endif -%}
|
6
|
-
|
7
|
-
{{ site.title -}}
|
8
|
-
</a>
|
9
|
-
{%- endcapture -%}
|
10
|
-
|
11
|
-
<header class="site-header">
|
12
|
-
{% if page.title and page.title != "" %}
|
13
|
-
<span class="site-title">
|
14
|
-
{{ site_branding }}
|
15
|
-
</span>
|
16
|
-
{% else %}
|
17
|
-
<h1 class="site-title">
|
18
|
-
{{ site_branding }}
|
19
|
-
</h1>
|
20
|
-
{% endif %}
|
21
|
-
|
22
|
-
{% if site.main_menu %}
|
23
|
-
<nav class="main-menu" aria-label="{{ site.main_menu.title }}">
|
24
|
-
{% for item in site.main_menu.items %}
|
25
|
-
<a class="menu-item" href="{{ item.url }}" {% if item.external %}target="_blank"{% endif %}>
|
26
|
-
{{- item.label -}}
|
27
|
-
</a>
|
28
|
-
{% endfor %}
|
29
|
-
</nav>
|
30
|
-
{% endif %}
|
31
|
-
</header>
|
1
|
+
{%- capture site_branding -%}
|
2
|
+
<a class="site-branding" href="{{ '/' | absolute_url }}">
|
3
|
+
{%- if site.logo -%}
|
4
|
+
<img class="site-logo" src="{{ site.logo | absolute_url }}" alt="{{ site.title }}" role="presentation" />
|
5
|
+
{%- endif -%}
|
6
|
+
|
7
|
+
{{ site.title -}}
|
8
|
+
</a>
|
9
|
+
{%- endcapture -%}
|
10
|
+
|
11
|
+
<header class="site-header">
|
12
|
+
{% if page.title and page.title != "" %}
|
13
|
+
<span class="site-title">
|
14
|
+
{{ site_branding }}
|
15
|
+
</span>
|
16
|
+
{% else %}
|
17
|
+
<h1 class="site-title">
|
18
|
+
{{ site_branding }}
|
19
|
+
</h1>
|
20
|
+
{% endif %}
|
21
|
+
|
22
|
+
{% if site.main_menu %}
|
23
|
+
<nav class="main-menu" aria-label="{{ site.main_menu.title }}">
|
24
|
+
{% for item in site.main_menu.items %}
|
25
|
+
<a class="menu-item" href="{{ item.url }}" {% if item.external %}target="_blank"{% endif %}>
|
26
|
+
{{- item.label -}}
|
27
|
+
</a>
|
28
|
+
{% endfor %}
|
29
|
+
</nav>
|
30
|
+
{% endif %}
|
31
|
+
</header>
|
data/_includes/post.html
CHANGED
@@ -1,25 +1,25 @@
|
|
1
|
-
<article class="post">
|
2
|
-
{% if include.post.title and include.post.title != "" %}
|
3
|
-
<h2 class="post-title">
|
4
|
-
<a href="{{ include.post.url | relative_url }}">
|
5
|
-
{{ include.post.title }}
|
6
|
-
</a>
|
7
|
-
</h2>
|
8
|
-
{% endif %}
|
9
|
-
|
10
|
-
<div class="post-content">
|
11
|
-
{% if include.show_excerpts %}
|
12
|
-
{{ include.post.excerpt }}
|
13
|
-
{% else %}
|
14
|
-
{{ include.post.content }}
|
15
|
-
{% endif %}
|
16
|
-
</div>
|
17
|
-
|
18
|
-
<footer class="post-footer">
|
19
|
-
<a class="post-meta _permalink" href="{{ include.post.url | absolute_url }}" rel="bookmark">
|
20
|
-
<time class="_date" datetime="{{ include.post.date | date_to_xmlschema }}">
|
21
|
-
{{- include.post.date | date: site.minduim.date_formats.day -}}
|
22
|
-
</time>
|
23
|
-
</a>
|
24
|
-
</footer>
|
25
|
-
</article>
|
1
|
+
<article class="post">
|
2
|
+
{% if include.post.title and include.post.title != "" %}
|
3
|
+
<h2 class="post-title">
|
4
|
+
<a href="{{ include.post.url | relative_url }}">
|
5
|
+
{{ include.post.title }}
|
6
|
+
</a>
|
7
|
+
</h2>
|
8
|
+
{% endif %}
|
9
|
+
|
10
|
+
<div class="post-content">
|
11
|
+
{% if include.show_excerpts %}
|
12
|
+
{{ include.post.excerpt }}
|
13
|
+
{% else %}
|
14
|
+
{{ include.post.content }}
|
15
|
+
{% endif %}
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<footer class="post-footer">
|
19
|
+
<a class="post-meta _permalink" href="{{ include.post.url | absolute_url }}" rel="bookmark">
|
20
|
+
<time class="_date" datetime="{{ include.post.date | date_to_xmlschema }}">
|
21
|
+
{{- include.post.date | date: site.minduim.date_formats.day -}}
|
22
|
+
</time>
|
23
|
+
</a>
|
24
|
+
</footer>
|
25
|
+
</article>
|
data/_includes/sidebar.html
CHANGED
@@ -1,31 +1,31 @@
|
|
1
|
-
{% comment %}
|
2
|
-
Sidebar
|
3
|
-
|
4
|
-
You can add custom widgets to the sidebar of your site by sending
|
5
|
-
both title and contents of your widget through an include. For example:
|
6
|
-
|
7
|
-
{% capture widget_content %}
|
8
|
-
<p>This will appear in my sidebar!</p>
|
9
|
-
{% endcapture %}
|
10
|
-
|
11
|
-
{% assign widget_title = "This is an example" %}
|
12
|
-
|
13
|
-
{% include blog/widget.html title=widget_title content=widget_content %}
|
14
|
-
{% endcomment %}
|
15
|
-
|
16
|
-
{% assign blogroll_title = "Useful links" %}
|
17
|
-
|
18
|
-
{% capture blogroll_content %}
|
19
|
-
<dl>
|
20
|
-
<dt>
|
21
|
-
<a href="https://arthr.me/" target="_blank">Arthur Freitas</a>
|
22
|
-
</dt>
|
23
|
-
<dd>The author of this theme.</dd>
|
24
|
-
<dt>
|
25
|
-
<a href="https://github.com/arthrfrts/minduim" target="_blank">GitHub Repo</a>
|
26
|
-
</dt>
|
27
|
-
<dd>Report issues, read the documentation and help with development!</dd>
|
28
|
-
</dl>
|
29
|
-
{% endcapture %}
|
30
|
-
|
31
|
-
{%- include widget.html title=blogroll_title content=blogroll_content -%}
|
1
|
+
{% comment %}
|
2
|
+
Sidebar
|
3
|
+
|
4
|
+
You can add custom widgets to the sidebar of your site by sending
|
5
|
+
both title and contents of your widget through an include. For example:
|
6
|
+
|
7
|
+
{% capture widget_content %}
|
8
|
+
<p>This will appear in my sidebar!</p>
|
9
|
+
{% endcapture %}
|
10
|
+
|
11
|
+
{% assign widget_title = "This is an example" %}
|
12
|
+
|
13
|
+
{% include blog/widget.html title=widget_title content=widget_content %}
|
14
|
+
{% endcomment %}
|
15
|
+
|
16
|
+
{% assign blogroll_title = "Useful links" %}
|
17
|
+
|
18
|
+
{% capture blogroll_content %}
|
19
|
+
<dl>
|
20
|
+
<dt>
|
21
|
+
<a href="https://arthr.me/" target="_blank">Arthur Freitas</a>
|
22
|
+
</dt>
|
23
|
+
<dd>The author of this theme.</dd>
|
24
|
+
<dt>
|
25
|
+
<a href="https://github.com/arthrfrts/minduim" target="_blank">GitHub Repo</a>
|
26
|
+
</dt>
|
27
|
+
<dd>Report issues, read the documentation and help with development!</dd>
|
28
|
+
</dl>
|
29
|
+
{% endcapture %}
|
30
|
+
|
31
|
+
{%- include widget.html title=blogroll_title content=blogroll_content -%}
|
data/_includes/widget.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
<aside class="widget">
|
2
|
-
<h2 class="widget-title">{{ include.title }}</h2>
|
3
|
-
|
4
|
-
<div class="widget-content">{{ include.content }}</div>
|
5
|
-
</aside>
|
1
|
+
<aside class="widget">
|
2
|
+
<h2 class="widget-title">{{ include.title }}</h2>
|
3
|
+
|
4
|
+
<div class="widget-content">{{ include.content }}</div>
|
5
|
+
</aside>
|
data/_layouts/archive.html
CHANGED
@@ -1,41 +1,41 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
<div class="blog">
|
5
|
-
<h1 class="archive-title">
|
6
|
-
{%- if page.date -%}
|
7
|
-
{%- assign archive_date = page.date | date: site.minduim.date_formats[page.type] -%}
|
8
|
-
{{ site.minduim.translations.archive_date_title | replace: "%s", archive_date }}
|
9
|
-
{% else %}
|
10
|
-
{%- if page.type == "tag" -%}
|
11
|
-
{{ site.minduim.translations.archive_tag_title | replace: "%s", page.title }}
|
12
|
-
{%- else -%}
|
13
|
-
{{ site.minduim.translations.archive_category_title | replace: "%s", page.title }}
|
14
|
-
{%- endif -%}
|
15
|
-
{% endif %}
|
16
|
-
</h1>
|
17
|
-
|
18
|
-
{%- for post in page.posts -%}
|
19
|
-
{% include post.html post=post show_excerpts=true %}
|
20
|
-
{%- endfor -%}
|
21
|
-
|
22
|
-
{% if paginator.previous_page or paginator.next_page -%}
|
23
|
-
<nav class="blog-pagination" aria-label="{{ site.minduim.translations.blog_pagination_title }}">
|
24
|
-
<div class="pagination-links">
|
25
|
-
{% if paginator.previous_page -%}
|
26
|
-
<a class="prev-page menu-item" href="{{ paginator.previous_page_path | relative_url }}" rel="prev">
|
27
|
-
{{- site.minduim.translations.blog_pagination_prev_page -}}
|
28
|
-
</a>
|
29
|
-
{%- endif %}
|
30
|
-
|
31
|
-
{% if paginator.next_page -%}
|
32
|
-
<a class="next-page menu-item" href="{{ paginator.next_page_path | relative_url }}" rel="next">
|
33
|
-
{{- site.minduim.translations.blog_pagination_next_page -}}
|
34
|
-
</a>
|
35
|
-
{%- endif %}
|
36
|
-
</div>
|
37
|
-
</nav>
|
38
|
-
{%- endif %}
|
39
|
-
</div>
|
40
|
-
|
41
|
-
{% include sidebar.html %}
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<div class="blog">
|
5
|
+
<h1 class="archive-title">
|
6
|
+
{%- if page.date -%}
|
7
|
+
{%- assign archive_date = page.date | date: site.minduim.date_formats[page.type] -%}
|
8
|
+
{{ site.minduim.translations.archive_date_title | replace: "%s", archive_date }}
|
9
|
+
{% else %}
|
10
|
+
{%- if page.type == "tag" -%}
|
11
|
+
{{ site.minduim.translations.archive_tag_title | replace: "%s", page.title }}
|
12
|
+
{%- else -%}
|
13
|
+
{{ site.minduim.translations.archive_category_title | replace: "%s", page.title }}
|
14
|
+
{%- endif -%}
|
15
|
+
{% endif %}
|
16
|
+
</h1>
|
17
|
+
|
18
|
+
{%- for post in page.posts -%}
|
19
|
+
{% include post.html post=post show_excerpts=true %}
|
20
|
+
{%- endfor -%}
|
21
|
+
|
22
|
+
{% if paginator.previous_page or paginator.next_page -%}
|
23
|
+
<nav class="blog-pagination" aria-label="{{ site.minduim.translations.blog_pagination_title }}">
|
24
|
+
<div class="pagination-links">
|
25
|
+
{% if paginator.previous_page -%}
|
26
|
+
<a class="prev-page menu-item" href="{{ paginator.previous_page_path | relative_url }}" rel="prev">
|
27
|
+
{{- site.minduim.translations.blog_pagination_prev_page -}}
|
28
|
+
</a>
|
29
|
+
{%- endif %}
|
30
|
+
|
31
|
+
{% if paginator.next_page -%}
|
32
|
+
<a class="next-page menu-item" href="{{ paginator.next_page_path | relative_url }}" rel="next">
|
33
|
+
{{- site.minduim.translations.blog_pagination_next_page -}}
|
34
|
+
</a>
|
35
|
+
{%- endif %}
|
36
|
+
</div>
|
37
|
+
</nav>
|
38
|
+
{%- endif %}
|
39
|
+
</div>
|
40
|
+
|
41
|
+
{% include sidebar.html %}
|
data/_layouts/blog.html
CHANGED
@@ -1,35 +1,35 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
{%- assign posts = site.posts -%}
|
6
|
-
|
7
|
-
{%- if paginator.posts -%}
|
8
|
-
{%- assign posts = paginator.posts -%}
|
9
|
-
{%- endif -%}
|
10
|
-
|
11
|
-
<div class="blog">
|
12
|
-
{%- for post in posts -%}
|
13
|
-
{% include post.html post=post %}
|
14
|
-
{%- endfor -%}
|
15
|
-
|
16
|
-
{% if paginator.previous_page or paginator.next_page -%}
|
17
|
-
<nav class="blog-pagination" aria-label="{{ site.minduim.translations.blog_pagination_title }}">
|
18
|
-
{% if paginator.previous_page -%}
|
19
|
-
<a class="prev-page menu-item" href="{{ paginator.previous_page_path | relative_url }}" rel="prev">
|
20
|
-
{{- site.minduim.translations.blog_pagination_prev_page -}}
|
21
|
-
</a>
|
22
|
-
{%- endif %}
|
23
|
-
|
24
|
-
{% if paginator.next_page -%}
|
25
|
-
<a class="next-page menu-item" href="{{ paginator.next_page_path | relative_url }}" rel="next">
|
26
|
-
{{- site.minduim.translations.blog_pagination_next_page -}}
|
27
|
-
</a>
|
28
|
-
{%- endif %}
|
29
|
-
</nav>
|
30
|
-
{%- endif %}
|
31
|
-
</div>
|
32
|
-
|
33
|
-
<div class="sidebar">
|
34
|
-
{%- include sidebar.html -%}
|
35
|
-
</div>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{%- assign posts = site.posts -%}
|
6
|
+
|
7
|
+
{%- if paginator.posts -%}
|
8
|
+
{%- assign posts = paginator.posts -%}
|
9
|
+
{%- endif -%}
|
10
|
+
|
11
|
+
<div class="blog">
|
12
|
+
{%- for post in posts -%}
|
13
|
+
{% include post.html post=post %}
|
14
|
+
{%- endfor -%}
|
15
|
+
|
16
|
+
{% if paginator.previous_page or paginator.next_page -%}
|
17
|
+
<nav class="blog-pagination" aria-label="{{ site.minduim.translations.blog_pagination_title }}">
|
18
|
+
{% if paginator.previous_page -%}
|
19
|
+
<a class="prev-page menu-item" href="{{ paginator.previous_page_path | relative_url }}" rel="prev">
|
20
|
+
{{- site.minduim.translations.blog_pagination_prev_page -}}
|
21
|
+
</a>
|
22
|
+
{%- endif %}
|
23
|
+
|
24
|
+
{% if paginator.next_page -%}
|
25
|
+
<a class="next-page menu-item" href="{{ paginator.next_page_path | relative_url }}" rel="next">
|
26
|
+
{{- site.minduim.translations.blog_pagination_next_page -}}
|
27
|
+
</a>
|
28
|
+
{%- endif %}
|
29
|
+
</nav>
|
30
|
+
{%- endif %}
|
31
|
+
</div>
|
32
|
+
|
33
|
+
<div class="sidebar">
|
34
|
+
{%- include sidebar.html -%}
|
35
|
+
</div>
|
data/_layouts/default.html
CHANGED
@@ -16,6 +16,9 @@
|
|
16
16
|
<link rel="stylesheet" href="{% link assets/css/layout.css %}" />
|
17
17
|
<link rel="stylesheet" href="{% link assets/css/theme.css %}" />
|
18
18
|
<link rel="stylesheet" href="{% link assets/css/syntax.css %}" />
|
19
|
+
{% if site.favicon -%}
|
20
|
+
<link rel=" icon" {% if site.favicon.type -%} type="{{ site.favicon.type }}" {%- endif %} href="{{ site.favicon.url | default: site.favicon }}" />
|
21
|
+
{%- endif %}
|
19
22
|
</head>
|
20
23
|
<body>
|
21
24
|
{% include header.html %}
|
data/_layouts/page.html
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
<article class="page">
|
6
|
-
<header class="page-header">
|
7
|
-
<h1 class="page-title">{{ page.title }}</h1>
|
8
|
-
</header>
|
9
|
-
|
10
|
-
<div class="page-content">
|
11
|
-
{{ content }}
|
12
|
-
</div>
|
13
|
-
</article>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article class="page">
|
6
|
+
<header class="page-header">
|
7
|
+
<h1 class="page-title">{{ page.title }}</h1>
|
8
|
+
</header>
|
9
|
+
|
10
|
+
<div class="page-content">
|
11
|
+
{{ content }}
|
12
|
+
</div>
|
13
|
+
</article>
|