-
Notifications
You must be signed in to change notification settings - Fork 0
/
tag.hbs
39 lines (31 loc) · 988 Bytes
/
tag.hbs
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
{{!< default}}
{{> header}}
<main>
<article class="post-full">
<header class="post-full-header">
<h1 class="post-full-title">Related to <em>{{#tag}}{{name}}{{/tag}}</em></h1>
<i class="fas fa-tag book-icon tags-icon"></i>
</header>
<section class="post-full-content">
<div class="post-content">
</div>
</section>
</article>
{{#foreach posts}}
{{#has tag="Quote"}}
{{> quote-preview}}
{{/has}}
{{^has tag="Quote"}}
{{#has tag="Book"}}
{{> book-preview}}
{{/has}}
{{#has tag="Article"}}
{{> post-preview}}
{{/has}}
{{#has tag="Letter"}}
{{> letter-preview}}
{{/has}}
{{/has}}
{{/foreach}}
</main>
<script>RENDER_SEARCH();</script>