minduim 1.0.3 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d16f3ee1ca3988ef76959684bcac62ec47af8df800d621f9a71ace5e2983361e
4
- data.tar.gz: 881cb23ba02e3db5a32bdc26a5d5006d51c9d69f45a5f71e382e14fa95c4a52d
3
+ metadata.gz: ef1cdf2f211ce739fbc331c50cb0b5862972a75487597bf4d250a91801fed93b
4
+ data.tar.gz: 4f326d7982b90a128bc91490a247c3a693ee4eeafa4444e67a262da30afe3ee5
5
5
  SHA512:
6
- metadata.gz: 232bde07b5f80aec8f91a97e137e8929d4d7cd9ecb365806139c43aad53b32aacfe39f529d666f6c6bfcd9d4abde93cbf7f7e5e1c1311203094b98ca20126da9
7
- data.tar.gz: 5140368d2e0f4942f4aa4efebc14930606eccbac6c51a892fec4bfb8a4f66a5d4036dfca98982c97a90d485d17278dab3d119bc1f2b3fbc112b111f0573cda5b
6
+ metadata.gz: ad65a89a2a860b95717a04cf21722ae83fae6f6c01a3a1ad74d929305df2c8a5e676f0804deb0563672e279e23867b9169b2fc95fbdde06e609825ca4570f5fe
7
+ data.tar.gz: 4f8f156e5a480b45a094abedae312fc57c5fb2e2a6c48506814b1bbc4fd54c2fffb4a2406c7eef18fcb0e4bd619c88cd8ad613731ff02bf2caccb7812dfb7f21
@@ -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
- &mdash; {{ 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
+ &mdash; {{ site.description }}
15
+ </p>
16
+ </footer>
@@ -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>
@@ -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 -%}
@@ -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>
@@ -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/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>
data/_layouts/post.html CHANGED
@@ -1,74 +1,74 @@
1
- ---
2
- layout: default
3
- ---
4
- <article class="post">
5
- <header class="post-header">
6
- <h1 class="post-title">
7
- {{ page.title }}
8
- </h1>
9
- </header>
10
-
11
- <div class="post-content">
12
- {{ content }}
13
- </div>
14
-
15
- <footer class="post-footer">
16
- <a class="post-meta _permalink" href="{{ page.url | absolute_url }}" rel="bookmark">
17
- <time class="_date" datetime="{{ page.date | date_to_xmlschema }}">
18
- {{ page.date | date: site.minduim.date_formats.day }}
19
- </time>
20
- </a>
21
-
22
- {% if page.tags.size > 0 %}
23
- <div class="post-meta _tags">
24
- <p class="tags-label">
25
- {{ site.minduim.translations.post_tagged_with }}
26
- </p>
27
-
28
- <ul class="tags-list">
29
- {% for tag in page.tags -%}
30
- {%- assign tag_name = tag | slugify: site.slug_mode -%}
31
- {%- assign tag_url = site.jekyll-archives.permalinks.tag | replace: ":name", tag_name | relative_url -%}
32
- <li class="tag-item">
33
- <a href="{{- tag_url -}}" rel="tag">
34
- {{ tag }}
35
- </a>
36
- </li>
37
- {%- endfor %}
38
- </ul>
39
- </div>
40
- {% endif %}
41
- </footer>
42
-
43
- {% if page.previous or page.next -%}
44
- <nav class="blog-pagination" aria-label="{{ site.minduim.translations.blog_pagination_title }}">
45
- {% if page.next -%}
46
- {% assign link_title = page.next.title %}
47
-
48
- {% if page.next.title == "" %}
49
- {% assign link_title = page.next.content | markdownify | strip_html | strip_newlines | truncatewords: 10 %}
50
- {% endif %}
51
-
52
- <a class="prev-page menu-item" href="{{ page.next.url | relative_url }}" rel="next">
53
- &larr; {{ link_title }}
54
- </a>
55
- {%- endif %}
56
-
57
- {% if page.previous -%}
58
- {% assign link_title = page.previous.title %}
59
-
60
- {% if page.previous.title == "" %}
61
- {% assign link_title = page.previous.content | markdownify | strip_html | strip_newlines | truncatewords: 10 %}
62
- {% endif %}
63
-
64
- <a class="next-page menu-item" href="{{ page.previous.url | relative_url }}" rel="prev">
65
- {{ link_title }} &rarr;
66
- </a>
67
- {%- endif %}
68
- </nav>
69
- {%- endif %}
70
- </article>
71
-
72
- <div class="sidebar">
73
- {%- include sidebar.html -%}
74
- </div>
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post">
5
+ <header class="post-header">
6
+ <h1 class="post-title">
7
+ {{ page.title }}
8
+ </h1>
9
+ </header>
10
+
11
+ <div class="post-content">
12
+ {{ content }}
13
+ </div>
14
+
15
+ <footer class="post-footer">
16
+ <a class="post-meta _permalink" href="{{ page.url | absolute_url }}" rel="bookmark">
17
+ <time class="_date" datetime="{{ page.date | date_to_xmlschema }}">
18
+ {{ page.date | date: site.minduim.date_formats.day }}
19
+ </time>
20
+ </a>
21
+
22
+ {% if page.tags.size > 0 %}
23
+ <div class="post-meta _tags">
24
+ <p class="tags-label">
25
+ {{ site.minduim.translations.post_tagged_with }}
26
+ </p>
27
+
28
+ <ul class="tags-list">
29
+ {% for tag in page.tags -%}
30
+ {%- assign tag_name = tag | slugify: site.slug_mode -%}
31
+ {%- assign tag_url = site.jekyll-archives.permalinks.tag | replace: ":name", tag_name | relative_url -%}
32
+ <li class="tag-item">
33
+ <a href="{{- tag_url -}}" rel="tag">
34
+ {{ tag }}
35
+ </a>
36
+ </li>
37
+ {%- endfor %}
38
+ </ul>
39
+ </div>
40
+ {% endif %}
41
+ </footer>
42
+
43
+ {% if page.previous or page.next -%}
44
+ <nav class="blog-pagination" aria-label="{{ site.minduim.translations.blog_pagination_title }}">
45
+ {% if page.next -%}
46
+ {% assign link_title = page.next.title %}
47
+
48
+ {% if page.next.title == "" %}
49
+ {% assign link_title = page.next.content | markdownify | strip_html | strip_newlines | truncatewords: 10 %}
50
+ {% endif %}
51
+
52
+ <a class="prev-page menu-item" href="{{ page.next.url | relative_url }}" rel="next">
53
+ &larr; {{ link_title }}
54
+ </a>
55
+ {%- endif %}
56
+
57
+ {% if page.previous -%}
58
+ {% assign link_title = page.previous.title %}
59
+
60
+ {% if page.previous.title == "" %}
61
+ {% assign link_title = page.previous.content | markdownify | strip_html | strip_newlines | truncatewords: 10 %}
62
+ {% endif %}
63
+
64
+ <a class="next-page menu-item" href="{{ page.previous.url | relative_url }}" rel="prev">
65
+ {{ link_title }} &rarr;
66
+ </a>
67
+ {%- endif %}
68
+ </nav>
69
+ {%- endif %}
70
+ </article>
71
+
72
+ <div class="sidebar">
73
+ {%- include sidebar.html -%}
74
+ </div>
data/assets/css/base.css CHANGED
@@ -193,7 +193,7 @@ a {
193
193
  text-decoration-style: wavy;
194
194
  transition-property: color, text-decoration-color;
195
195
  transition-duration: var(--transition-duration);
196
- text-decoration-thickness: from-font;
196
+ text-decoration-thickness: 1px;
197
197
  }
198
198
 
199
199
  a:hover,