forked from deepStateMirrors/tabi
✨ feat: add taxonomy list & single term templates (#239)
This commit is contained in:
parent
a1a258708e
commit
39fc4ece61
2 changed files with 58 additions and 0 deletions
16
templates/taxonomy_single.html
Normal file
16
templates/taxonomy_single.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
{% extends "index.html" %}
|
||||
|
||||
{% block main_content %}
|
||||
|
||||
{{ macros_page_header::page_header(title=term.name) }}
|
||||
|
||||
{% set max = section.extra.max_posts | default(value=999999) %}
|
||||
{{ macros_list_posts::list_posts(posts=term.pages, max=max) }}
|
||||
|
||||
<ul class="pagination">
|
||||
<li class="page-item">
|
||||
<a class="all-tags" href="{{ get_url(path="tags", lang=lang) }}/">← {{- macros_translate::translate(key=taxonomy.name, default=taxonomy.name, language_strings=language_strings) -}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
{% endblock main_content %}
|
Loading…
Add table
Add a link
Reference in a new issue