Jekyll does not support this value for Page or Post classes. The
capture returned an empty Sting, which was always evaluated to true
in '{% if updated %}'.
... | ... |
@@ -1,13 +1,7 @@ |
1 | 1 |
{% capture date %}{{ page.date }}{{ post.date }}{% endcapture %} |
2 | 2 |
{% capture date_formatted %}{{ page.date_formatted }}{{ post.date_formatted }}{% endcapture %} |
3 | 3 |
{% capture has_date %}{{ date | size }}{% endcapture %} |
4 |
-{% capture updated %}{{ page.updated }}{{ post.updated }}{% endcapture %} |
|
5 |
-{% capture was_updated %}{{ updated | size }}{% endcapture %} |
|
6 | 4 |
|
7 | 5 |
{% if has_date != '0' %} |
8 |
- {% capture time %}<time datetime="{{ date | datetime | date_to_xmlschema }}" pubdate {% if updated %} data-updated="true" {% endif %}>{{ date_formatted }}</time>{% endcapture %} |
|
6 |
+ {% capture time %}<time datetime="{{ date | datetime | date_to_xmlschema }}" pubdate>{{ date_formatted }}</time>{% endcapture %} |
|
9 | 7 |
{% endif %} |
10 |
- |
|
11 |
-{% if was_updated != '0' %} |
|
12 |
- {% capture updated %}<time class="updated" datetime="{{ updated | datetime | date_to_xmlschema }}">Updated {{ updated | ordinalize }}</time>{% endcapture %} |
|
13 |
-{% else %}{% assign updated = false %}{% endif %} |
... | ... |
@@ -15,7 +15,7 @@ layout: default |
15 | 15 |
<footer> |
16 | 16 |
{% if page.date or page.author %}<p class="meta"> |
17 | 17 |
{% if page.author %}{% include post/author.html %}{% endif %} |
18 |
- {% include post/date.html %}{% if updated %}{{ updated }}{% else %}{{ time }}{% endif %} |
|
18 |
+ {% include post/date.html %}{{ time }} |
|
19 | 19 |
{% if page.categories %}{% include post/categories.html %}{% endif %} |
20 | 20 |
</p>{% endif %} |
21 | 21 |
{% unless page.sharing == false %} |
... | ... |
@@ -9,17 +9,17 @@ single: true |
9 | 9 |
<footer> |
10 | 10 |
<p class="meta"> |
11 | 11 |
{% include post/author.html %} |
12 |
- {% include post/date.html %}{% if updated %}{{ updated }}{% else %}{{ time }}{% endif %} |
|
12 |
+ {% include post/date.html %}{{ time }} |
|
13 | 13 |
{% include post/categories.html %} |
14 | 14 |
</p> |
15 | 15 |
{% unless page.sharing == false %} |
16 | 16 |
{% include post/sharing.html %} |
17 | 17 |
{% endunless %} |
18 | 18 |
<p class="meta"> |
19 |
- {% if page.previous.url %} |
|
19 |
+ {% if page.previous.url %} |
|
20 | 20 |
<a class="basic-alignment left" href="{{page.previous.url}}" title="Previous Post: {{page.previous.title}}">« {{page.previous.title}}</a> |
21 | 21 |
{% endif %} |
22 |
- {% if page.next.url %} |
|
22 |
+ {% if page.next.url %} |
|
23 | 23 |
<a class="basic-alignment right" href="{{page.next.url}}" title="next Post: {{page.next.title}}">{{page.next.title}} »</a> |
24 | 24 |
{% endif %} |
25 | 25 |
</p> |