aboutsummaryrefslogtreecommitdiff
path: root/templates/tag.html
diff options
context:
space:
mode:
authorMirek Kratochvil <exa.exa@gmail.com>2023-05-27 20:19:11 +0200
committerMirek Kratochvil <exa.exa@gmail.com>2023-05-27 20:19:11 +0200
commit35837f5607986b18746590c1611927d59cbe8c87 (patch)
tree1b4332816c000d2e442af747fd7ec4ff151ff5b9 /templates/tag.html
parent919e953d2035836cf537beb31610e7b2edce8833 (diff)
downloadreploy-35837f5607986b18746590c1611927d59cbe8c87.tar.gz
reploy-35837f5607986b18746590c1611927d59cbe8c87.tar.bz2
render tags, run head-first into template problems
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>