aboutsummaryrefslogtreecommitdiff
path: root/templates/tag.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tag.html')
-rw-r--r--templates/tag.html27
1 files changed, 13 insertions, 14 deletions
diff --git a/templates/tag.html b/templates/tag.html
index 6f329cd..c706469 100644
--- a/templates/tag.html
+++ b/templates/tag.html
@@ -1,14 +1,13 @@
-<section>
- <h2>Tag</h2>
- <ul>
- $for(htags)$
- <li>$htag$</li>
- $endfor$
- </ul>
- <h2>Pages</h2>
- <ul>
- $for(pages)$
- <li><a href="$page$">$page$</a></li>
- $endfor$
- </ul>
-</section>
+<!doctype html5>
+<html>
+{{> head.html}}
+<body>
+<h2>{{?tag}}Tag: {{tagpath}}{{/tag}}{{^tag}}All pages{{/tag}}</h2>
+Path: (root){{#tag}} / #{{.}}{{/tag}}
+<ul>
+{{#pages}}
+<li>{{#anchor}}{{name}}{{/anchor}}</li>
+{{/pages}}
+</ul>
+</body>
+</html>