Sha256: 49a93fbf2b10c30f10b27a2299d8af9dbf957c8da01816b50045eec35fa7491c

Contents?: true

Size: 907 Bytes

Versions: 34

Compression:

Stored size: 907 Bytes

Contents

{% 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 updated_formatted %}{{ page.updated_formatted }}{{ post.updated_formatted }}{% 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 %}
{% endif %}

{% if was_updated != '0' %}
  {% capture updated %}<time datetime="{{ updated | datetime | date_to_xmlschema }}" class="updated">Updated {{ updated_formatted }}</time>{% endcapture %}
{% else %}{% assign updated = false %}{% endif %}

Version data entries

34 entries across 20 versions & 3 rubygems

Version Path
link-checker-0.3.1 spec/test-site/source/_includes/post/date.html
link-checker-0.3.1 spec/test-site/.themes/classic/source/_includes/post/date.html
link-checker-0.3.0 spec/test-site/.themes/classic/source/_includes/post/date.html
link-checker-0.3.0 spec/test-site/source/_includes/post/date.html
link-checker-0.2.0 spec/test-site/source/_includes/post/date.html
link-checker-0.2.0 spec/test-site/.themes/classic/source/_includes/post/date.html
link-checker-0.1.2 spec/test-site/source/_includes/post/date.html
link-checker-0.1.2 spec/test-site/.themes/classic/source/_includes/post/date.html
link-checker-0.1.1 spec/test-site/source/_includes/post/date.html
link-checker-0.1.1 spec/test-site/.themes/classic/source/_includes/post/date.html
link-checker-0.1.0 spec/test-site/source/_includes/post/date.html
link-checker-0.1.0 spec/test-site/.themes/classic/source/_includes/post/date.html
link-checker-0.0.0 spec/test-site/source/_includes/post/date.html
link-checker-0.0.0 spec/test-site/.themes/classic/source/_includes/post/date.html