|
|
@ -70,6 +70,9 @@ |
|
|
|
{% macro list_posts(pages) %} |
|
|
|
{% macro list_posts(pages) %} |
|
|
|
<ul> |
|
|
|
<ul> |
|
|
|
{%- for page in pages %} |
|
|
|
{%- for page in pages %} |
|
|
|
|
|
|
|
{%- if page.draft %} |
|
|
|
|
|
|
|
{% continue %} |
|
|
|
|
|
|
|
{% endif -%} |
|
|
|
<li class="post-list"> |
|
|
|
<li class="post-list"> |
|
|
|
<a href="{{ page.permalink }}"> |
|
|
|
<a href="{{ page.permalink }}"> |
|
|
|
<span class="post-date">{{ page.date }}</span> |
|
|
|
<span class="post-date">{{ page.date }}</span> |
|
|
|