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 <header>
8 <h1 class="post-title">
9 <a href="{{ page.permalink }}">{{ page.title }}</a>
10 </h1>
11 </header>
12
13
14 {{ posts::meta(page=page, author=config.extra.show_author) }}
15
16 {#- NOTE -#}
17 {#- -------------------------------- -#}
18 {#- Skipping the Cover page implementation. Not included/covered for now. -#}
19
20 <div class="post-content">
21 {% if page.description -%}
22 {{ page.description }}
23 {#- end if-check for description -#}
24 {% elif page.summary -%}
25 {{ page.summary | safe }}
26 {% endif -%}
27 </div>
28 {% if page.description or page.summary -%}
29 <div>
30 <a class="read-more button" href="{{ page.permalink }}">{{ config.extra.read_more }} →</a>
31 </div>
32 {% endif -%}
33 </div>
34 {# End of pagination for-loop #}
35 {%- endfor -%}
36 {#- I don't put pagination here like Terminal does. I don't like how
37 the buttons move with the size of post entries in the content div. -#}
38</section>
39{% endmacro list_pages %}