blob: a3d2159408857ebe29e60c72853cf4bc0de6115a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
{% extends "base.html" %}
{% block header %}
<header class='hero'>
<div class='hero-body pb-0'>
<div class='container'>
<div class='has-text-centered'>
<h1 class="title">
<span class="icon-text">
<span class="icon">
<i class="fas fa-cube"></i>
</span>
<span>{{ term.name }}</span>
</span>
</h1>
</div>
</div>
</div>
</header>
{% endblock %}
{% block content %}
<section class="section">
<div class="container">
<div class="columns is-centered">
<div class="column is-9">
{% if paginator %}
{% set pages = paginator.pages %}
{% else %}
{% set pages = term.pages %}
{% endif %}
{% for page in pages %}
<article class="box">
<h2 class="title">
<a href='{{ page.permalink }}'>
{{ page.title }}
</a>
</h2>
<p class="subtitle">{{ page.description }}</p>
<div class="columns is-multiline is-gapless">
<div class="column is-8">
{{ macros::page_publish_metadata(page=page) }}
</div>
<div class="column is-4 has-text-right-desktop">
{{ macros::page_content_metadata(page=page) }}
</div>
</div>
<div class="content mt-2">
{{ page.summary | safe }}
<a href='{{ page.permalink }}'>
Read More
<span class="icon is-small">
<i class="fas fa-arrow-right fa-xs"></i>
</span>
</a>
</div>
<div class="columns">
<div class="column">
{% if page.taxonomies.categories %}
{{ macros::render_categories(categories=page.taxonomies.categories) }}
{% endif %}
</div>
<div class="column has-text-right-desktop">
{% if page.taxonomies.tags %}
{{ macros::render_tags(tags=page.taxonomies.tags) }}
{% endif %}
</div>
</div>
</article>
{% endfor %}
</div>
</div>
</div>
</section>
{% endblock content %}
|