allow pages without dates

This commit is contained in:
Nick Novitski 2019-09-16 17:43:16 -07:00 committed by GitHub
parent fe9ca624fb
commit 475d6eb729
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@
<path d="M30 7 L25 2 5 22 3 29 10 27 Z M21 6 L26 11 Z M5 22 L10 27 Z"/>
</svg>
Published: {{ page.date | date(format="%F") }}
{% if page.date %}Published: {{ page.date | date(format="%F") }}{% endif %}
{% endmacro meta %}
{% macro page_in_list(page) %}