add the list template
This commit is contained in:
parent
4a7dcc2dbe
commit
6deeb8be82
35
templates/list.html
Normal file
35
templates/list.html
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
<!doctype html5>
|
||||||
|
<html>
|
||||||
|
{{> head.html}}
|
||||||
|
<body>
|
||||||
|
{{> header.html}}
|
||||||
|
<h1>
|
||||||
|
{{?htag}}
|
||||||
|
Category listing:
|
||||||
|
{{#htag}}
|
||||||
|
<a class="cards-tagpiece" href="{{href}}">
|
||||||
|
{{^tag}}all{{/tag}}
|
||||||
|
{{?tag}}» {{tag}}{{/tag}}
|
||||||
|
</a>
|
||||||
|
{{/htag}}
|
||||||
|
{{/htag}}
|
||||||
|
</h1>
|
||||||
|
<p>See the <a href="{{taghref}}">hierarchical view of this category</a>.</p>
|
||||||
|
{{?subtags}}<h3>Sub-categories</h3>
|
||||||
|
<ul class="cards-subcategories">
|
||||||
|
{{#subtags}}
|
||||||
|
<li><a href="{{href}}">{{#tags}} » {{.}} {{/tags}}</a></li>
|
||||||
|
{{/subtags}}
|
||||||
|
</ul>
|
||||||
|
{{/subtags}}
|
||||||
|
{{?pages}}
|
||||||
|
<h3>Cards</h3>
|
||||||
|
<ul class="cards-list">
|
||||||
|
{{#pages}}
|
||||||
|
<li><a href="{{href}}">{{meta.title}}</a></li>
|
||||||
|
{{/pages}}
|
||||||
|
</ul>
|
||||||
|
{{/pages}}
|
||||||
|
{{> footer.html}}
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in a new issue