test
This commit is contained in:
15
templates/taxonomy_list.html
Normal file
15
templates/taxonomy_list.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends "base.html" %}
|
||||
{% import 'macros/card.html' as macro_card -%}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% for taxo in terms %}
|
||||
<div class="columns is-vcentered mt-6">
|
||||
{{ macro_card::create_card_tag(link=current_url, title=taxo.name) }}
|
||||
{% for page in taxo.pages %}
|
||||
{{ macro_card::create_card(link=page.permalink, img=page.extra.image, title=page.title, abstract=page.summary, tags=page.taxonomies.tags, date=page.date) }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endblock content %}
|
||||
|
||||
Reference in New Issue
Block a user