diff options
Diffstat (limited to 'templates/section.html')
-rw-r--r-- | templates/section.html | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/templates/section.html b/templates/section.html index 57fe0aa..880f421 100644 --- a/templates/section.html +++ b/templates/section.html @@ -1,23 +1,17 @@ {% extends "index.html" %} {% block content %} {{ super() }} - <div> + <ul class="simple"> {% for page in section.pages %} - <article> - <div> - <h2> - <a href="{{ page.permalink }}">{{ page.title }}</a> - - - <time datetime="{{ page.date | date(format="%Y-%m-%d") }}"> - {{ page.date | date(format="%d %b %Y") }} - </time> - </h2> - </div> - {% if page.summary %} - <p>{{ page.summary | safe }}</p> - <a href="{{ page.permalink }}#continue-reading">...</a> - {% endif %} - </article> + <li> + <article> + {{ macros::post_header(page_ref=page) }} + {% if page.summary %} + <p>{{ page.summary | safe }}</p> + <a href="{{ page.permalink }}#continue-reading">...</a> + {% endif %} + </article> + </li> {% endfor %} - </div> + </ul> {% endblock content %} |