aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/page.html3
-rw-r--r--templates/tag.html27
2 files changed, 13 insertions, 17 deletions
diff --git a/templates/page.html b/templates/page.html
deleted file mode 100644
index 38b50ce..0000000
--- a/templates/page.html
+++ /dev/null
@@ -1,3 +0,0 @@
-<section>
- $body$
-</section>
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>