aboutsummaryrefslogtreecommitdiff
path: root/templates/tag.html
blob: ccb3e84575d5e297dd19d603a31412372c71f278 (plain)
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
<!doctype html5>
<html>
{{> head.html}}
<body>
<h1>
{{?htag}}
  Category:
  {{#htag}}
  <a class="cards-tagpiece" href="{{href}}">
    {{^tag}}all{{/tag}}
    {{?tag}}» {{tag}}{{/tag}}
  </a>
  {{/htag}}
{{/htag}}
{{^htag}}All cards{{/htag}}
</h1>
{{?subtags}}<h2>Sub-categories</h2>
<ul class="cards-subcategories">
{{#subtags}}
<li><a href="{{href}}">{{#tags}} » {{.}} {{/tags}}</a></li>
{{/subtags}}
</ul>
{{/subtags}}
{{?pages}}
<h2>Cards</h2>
<ul class="cards-list">
{{#pages}}
<li><a href="{{href}}">{{meta.title}}</a></li>
{{/pages}}
</ul>
{{/pages}}
</body>
</html>