this repo has no description
at master 1.3 kB view raw
1{%- extends "index.html"-%} 2{%- block main-%} 3 <div class="post"> 4 <h1 class="post-title"> 5 categories ∋ {{ "{" }}{{ term.name }}{{ "}" }} 6 ({{ term.pages | length }} post{{ term.pages | length | pluralize }}) 7 </h1> 8 9 <ul> 10 {%- for post in term.pages -%} 11 <li class="tag-list"> 12 {{ post.date | date(format="%Y.%m.%d") }} 13 :: <a href="{{ post.permalink }}">{{ post.title }}</a> 14 :: {{ "{" }} 15 {%- for cat in post.taxonomies["categories"] -%} 16 {%- set _cat = get_taxonomy_url(kind="categories", name=cat) -%} 17 {%- if loop.last -%} 18 <a href="{{ _cat }}">{{ cat }}</a> 19 {%- else -%} 20 <a href="{{ _cat }}">{{ cat }}</a>,&nbsp; 21 {%- endif -%} 22 {% endfor %}{{ "}" }} 23 </li> 24 {# End of pagination for-loop #} 25 {%- endfor -%} 26 {#- I don't put pagination here like Terminal does. I don't like how 27 the buttons move with the size of post entries in the content div. -#} 28 </ul> 29</div> 30{%- endblock main-%}