Jessica Canady
89b73b5413
It can be open-sourced in a way better way than having to edit it, push, then clone. That workflow is just *ugh.*
26 lines
661 B
HTML
26 lines
661 B
HTML
{% extends "index.html" %}
|
|
|
|
{%- block title -%}
|
|
{{ title_macros::title(page_title=section.title, main_title=config.title) }}
|
|
{%- endblock -%}
|
|
|
|
{% block content %}
|
|
<div class="posts">
|
|
{%- if paginator %}
|
|
{%- set show_pages = paginator.pages -%}
|
|
{% else %}
|
|
{%- set show_pages = section.pages -%}
|
|
{% endif -%}
|
|
|
|
{%- for page in show_pages %}
|
|
<div class="post on-list">
|
|
|
|
{{ post_macros::header(page=page) }}
|
|
|
|
{{ post_macros::content(page=page, summary=true, show_only_description=section.extra.show_only_description |
|
|
default(value=false)) }}
|
|
</div>
|
|
{% endfor -%}
|
|
</div>
|
|
{% endblock content %}
|