jekyll-paspagon 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3473a67fa94697256aa751c4609966e8aecb4f17
|
4
|
+
data.tar.gz: 185620c215cd94724abaa23b9ad366e234b4f837
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
{%
|
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
|
-
{%
|
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
|
-
{%
|
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
|
-
{%
|
109
|
+
{% endunless %}
|
110
110
|
```
|
111
111
|
|
112
112
|
### Change feed template
|