Merge pull request #15 from nicknovitski/patch-1

allow pages without dates
This commit is contained in:
Vincent Prouillet 2019-09-17 11:15:49 +02:00 committed by GitHub
commit d8d6dc5861
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) %}