jekyll-paspagon 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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed2906a3b3c966f623b2ee0af8c6fa8c8c0acbf1
4
- data.tar.gz: 77ba587dc6f6bd3fc2762832c6074adabe057b62
3
+ metadata.gz: 3473a67fa94697256aa751c4609966e8aecb4f17
4
+ data.tar.gz: 185620c215cd94724abaa23b9ad366e234b4f837
5
5
  SHA512:
6
- metadata.gz: a930f7f04a920f492f04f404ea0e2ab16f81ac1811a6f79879de60de4ad26269b6a2880d38b82d2d2b410c426b486801ebfa5319fbf53e1935cc4a73ad109814
7
- data.tar.gz: 6295693d3e6ffd335cef73d5a002fa1c44f25d9696c7210119519f2e0e474ffbb9bbe08ae6412e93f829e1dd0066365103df6cbd188f6a9f5649f331ed465944
6
+ metadata.gz: bf302dad427027862b62b614a2ad63a49cf0fb74fdd4ac080cc1c5b6760526ba57410a60fa80222a01174b8fe80bbb24d56c911b83265ea22befc9f17cd4f8e4
7
+ data.tar.gz: 9a9013a868676403ba42f401ce05fb8b440edf2889d0622a685b228c4dcbead937998c56e932f8e32f532e0561aedf7b48ba18d3a945626f43ed6804e4ca5039
data/README.md CHANGED
@@ -81,19 +81,19 @@ Caveat: “default” values in Jekyll are actually not default values that can
81
81
  Inform your readers that you offer alternate post formats by modifying the post template. In a simple form the relevant fragment may look like this:
82
82
 
83
83
  ```liquid
84
- {% if page.formats %}
84
+ {% unless page.formats == empty %}
85
85
  <p>Available formats:
86
86
  {% for format in page.format_array %}
87
87
  <a href="{{ format.full_url }}">{{ format.name }}</a>{% unless forloop.last %},{% endunless %}
88
88
  {% endfor %}
89
89
  </p>
90
- {% endif %}
90
+ {% endunless %}
91
91
  ```
92
92
 
93
93
  A more sophisticated example, which uses the `page.excerpt_only` variable (set only when HTML is a paid format and a summary is being rendered):
94
94
 
95
95
  ```liquid
96
- {% if page.formats %}
96
+ {% unless page.formats == empty %}
97
97
  <p>
98
98
  {% if page.excerpt_only %}
99
99
  Available formats:
@@ -106,7 +106,7 @@ A more sophisticated example, which uses the `page.excerpt_only` variable (set o
106
106
  {% endif %}
107
107
  {% endfor %}
108
108
  </p>
109
- {% endif %}
109
+ {% endunless %}
110
110
  ```
111
111
 
112
112
  ### Change feed template
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-paspagon
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
  - Krzysztof Jurewicz