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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32f5d0b1f1e923d8666b6d00babf7c94e2e2d36d44413112aff43f4967dcdaf1
4
- data.tar.gz: c40456322bc1851a2b6b50c20a8303d0e38e51e6c290dcf5470c0cc6dc2b18fc
3
+ metadata.gz: 94eddb1fd4c47108552aababa25658b69a4b8b853292da4a912c30913223415e
4
+ data.tar.gz: bf5e5738db766d7ccc6433bfe9b2699eb3b6992302f6c5525262d94f6dfe2ea8
5
5
  SHA512:
6
- metadata.gz: fa9cc405a90e5039566ae01724612235a12598a8c9050d9f08fc917b60fa64aaeca675a901ee47c951bb9933c66390e526cb0f667e2881437a69f43726e93cec
7
- data.tar.gz: df8eb5525d4aaeaa27e600c8e5cd5b397abc1d2db8b7a57446b0852c5c0f2039870672bd1fe1c562ec4036c3feeaf44ef231258b4a4d303f53853af0633f45e5
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
- ![Minduim Theme Preview](assets/preview.png)
5
+ ![Minduim Theme Preview](preview.png)
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
- &larr; {{ page.next.title }}
53
+ &larr; {{ 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
- {{ page.previous.title }} &rarr;
65
+ {{ link_title }} &rarr;
54
66
  </a>
55
67
  {%- endif %}
56
68
  </nav>
data/assets/css/base.css CHANGED
@@ -193,6 +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
197
  }
197
198
 
198
199
  a:hover,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minduim
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arthur Freitas