diff --git a/templates/macros.html b/templates/macros.html index 693d833..7561f2f 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -17,10 +17,12 @@ {% endmacro %} {% macro page_info(page) %} -
- {{ page.date }} - {%- if page.extra.author -%} - , {{ page.extra.author }} - {% endif %} -
+ {% if page.date %} +
+ {{ page.date }} + {%- if page.extra.author -%} + , {{ page.extra.author }} + {% endif %} +
+ {% endif %} {% endmacro %}