-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsection-cats_tags.html
53 lines (53 loc) · 1.54 KB
/
section-cats_tags.html
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
<div class="card">
<header class="card-header">
<p class="card-header-title">
<i class="fa fa-commenting" aria-hidden="true"></i>
<span class="tran-notice">Notice</span>
</p>
</header>
<div class="card-content site-notice">
<div class="content">
{% if ext_notice %} {{ext_notice}} {% /if %}
</div>
</div>
</div>
<div class="card">
<header class="card-header">
<p class="card-header-title">
<i class="fa fa-folder-open" aria-hidden="true"></i>
<span class="tran-site-categories">Categories</span>
</p>
</header>
<div class="card-content site-categories">
<div class="content">
<ul>
{% for p in categoriesTree %}
<li><a href="{{ p.url }}">{{ p.name }}</a>
{% if p.children.@count %} <ul> {% /if %}
{% for p2 in p.children %}
<li><a href="{{ p2.url }}">{{ p2.name }}</a></li>
{% /for %}
{% if p.children.@count %} </ul> {% /if %}
</li>
{% /for %}
</ul>
</div>
</div>
</div>
<div class="card">
<header class="card-header">
<p class="card-header-title">
<i class="fa fa-tags" aria-hidden="true"></i>
<span class="tran-site-tags">Tags</span>
</p>
</header>
<div class="card-content site-tags">
<div class="content">
<div class="tags">
{% for p in allTags %}
<a class="tag is-link is-light" href="{{ p.url }}">#{{ p.name }}</a>
{% /for %}
</div>
</div>
</div>
</div>