minduim 1.0.1 → 1.0.2
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/README.md +1 -1
- data/_layouts/post.html +14 -2
- data/assets/css/base.css +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94eddb1fd4c47108552aababa25658b69a4b8b853292da4a912c30913223415e
|
4
|
+
data.tar.gz: bf5e5738db766d7ccc6433bfe9b2699eb3b6992302f6c5525262d94f6dfe2ea8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6639fa86ba13a4ef1534772b89e3067ca9106a7d4abbbae5c8acdab2235921d2dc367a4735c30a26bb8245855d57b048cf71bab417a28ee585b24f8b3134f38f
|
7
|
+
data.tar.gz: 6a2321938f04718d242394c8745d64f0c4f2b3e79ef5f71056aa3352e710f5a95617b4b9f85daffb19e016431189136f81534b2cca6a342638e60106f4daa86a
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
A charming Jekyll blog theme inspired by the classic Posterous default theme. Named after the Brazilian translation of the _Peanuts_ comic strip, Minduim offers a clean two-column layout with subtle homages to Charlie Brown.
|
4
4
|
|
5
|
-

|
6
6
|
|
7
7
|
## Features
|
8
8
|
|
data/_layouts/post.html
CHANGED
@@ -43,14 +43,26 @@ layout: default
|
|
43
43
|
{% if page.previous or page.next -%}
|
44
44
|
<nav class="blog-pagination" aria-label="{{ site.minduim.translations.blog_pagination_title }}">
|
45
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
|
+
|
46
52
|
<a class="prev-page menu-item" href="{{ page.next.url | relative_url }}" rel="next">
|
47
|
-
← {{
|
53
|
+
← {{ link_title }}
|
48
54
|
</a>
|
49
55
|
{%- endif %}
|
50
56
|
|
51
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
|
+
|
52
64
|
<a class="next-page menu-item" href="{{ page.previous.url | relative_url }}" rel="prev">
|
53
|
-
{{
|
65
|
+
{{ link_title }} →
|
54
66
|
</a>
|
55
67
|
{%- endif %}
|
56
68
|
</nav>
|
data/assets/css/base.css
CHANGED