test
This commit is contained in:
26
templates/taxonomy_single.html
Normal file
26
templates/taxonomy_single.html
Normal file
@@ -0,0 +1,26 @@
|
||||
{% extends "base.html" %}
|
||||
{% import 'macros/card.html' as macro_card -%}
|
||||
|
||||
|
||||
{% block content %}
|
||||
<div class="container mt-6">
|
||||
|
||||
<div class="column is-full">
|
||||
<div class="card">
|
||||
<div class="card-content" >
|
||||
<div class="media">
|
||||
<div class="title is-3 has-text-centered">{{ term.name }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="columns is-multiline mt-6">
|
||||
|
||||
{% for page in term.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>
|
||||
{% endblock content %}
|
||||
Reference in New Issue
Block a user