aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/_includes/post
diff options
context:
space:
mode:
authorFrederic Hemberger <mail@frederic-hemberger.de>2011-10-18 17:39:19 +0200
committerFrederic Hemberger <mail@frederic-hemberger.de>2011-10-18 17:39:19 +0200
commit81e814a3543d9bb5793c427fd6623d89ec505d78 (patch)
treec8319255714aef6543b4aef14181d74ddcc5cb39 /.themes/classic/source/_includes/post
parentc2a68cc2a980506b12b9054d5be8e4806fe79c1c (diff)
downloadmy_new_personal_website-81e814a3543d9bb5793c427fd6623d89ec505d78.tar.xz
my_new_personal_website-81e814a3543d9bb5793c427fd6623d89ec505d78.zip
Remove unsupported 'updated' flag from _includes/post/date.html
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 %}'.
Diffstat (limited to '.themes/classic/source/_includes/post')
-rw-r--r--.themes/classic/source/_includes/post/date.html8
1 files changed, 1 insertions, 7 deletions
diff --git a/.themes/classic/source/_includes/post/date.html b/.themes/classic/source/_includes/post/date.html
index 3fd702d7..4fb570d2 100644
--- a/.themes/classic/source/_includes/post/date.html
+++ b/.themes/classic/source/_includes/post/date.html
@@ -1,13 +1,7 @@
{% capture date %}{{ page.date }}{{ post.date }}{% endcapture %}
{% capture date_formatted %}{{ page.date_formatted }}{{ post.date_formatted }}{% endcapture %}
{% capture has_date %}{{ date | size }}{% endcapture %}
-{% capture updated %}{{ page.updated }}{{ post.updated }}{% endcapture %}
-{% capture was_updated %}{{ updated | size }}{% endcapture %}
{% if has_date != '0' %}
- {% capture time %}<time datetime="{{ date | datetime | date_to_xmlschema }}" pubdate {% if updated %} data-updated="true" {% endif %}>{{ date_formatted }}</time>{% endcapture %}
+ {% capture time %}<time datetime="{{ date | datetime | date_to_xmlschema }}" pubdate>{{ date_formatted }}</time>{% endcapture %}
{% endif %}
-
-{% if was_updated != '0' %}
- {% capture updated %}<time class="updated" datetime="{{ updated | datetime | date_to_xmlschema }}">Updated {{ updated | ordinalize }}</time>{% endcapture %}
-{% else %}{% assign updated = false %}{% endif %}