this repo has no description
1{% macro list_pages() %}
2<section class="posts">
3
4 {%- for page in paginator.pages -%}
5
6 <div class="post on-list">
7 <h3 class="post-title">
8 <a href="{{ page.permalink }}">{{ page.title }}</a>
9 </h3>
10
11 {{ posts::meta(page=page, author=config.extra.show_author) }}
12
13 <div class="post-content">
14 {% if page.description -%}
15 {{ page.description }}
16 {#- end if-check for description -#}
17 {% elif page.summary -%}
18 {{ page.summary | safe }}
19 {% endif -%}
20 </div>
21 {% if page.description or page.summary -%}
22 <div>
23 <a class="read-more button" href="{{ page.permalink }}">{{ config.extra.read_more }} →</a>
24 </div>
25 {% endif -%}
26 </div>
27 {# End of pagination for-loop #}
28 {%- endfor -%}
29 {#- I don't put pagination here like Terminal does. I don't like how
30 the buttons move with the size of post entries in the content div. -#}
31</section>
32{% endmacro list_pages %}