{% capture date %}{{ page.date }}{{ post.date }}{% endcapture %} {% capture date_formatted %}{{ page.date_formatted }}{{ post.date_formatted }}{% endcapture %} {% capture has_date %}{{ date | size }}{% endcapture %} {% if has_date != '0' %} {% capture time %}{% endcapture %} {% endif %}