diff options
| author | Mirek Kratochvil <exa.exa@gmail.com> | 2023-05-27 20:19:11 +0200 |
|---|---|---|
| committer | Mirek Kratochvil <exa.exa@gmail.com> | 2023-05-27 20:19:11 +0200 |
| commit | 35837f5607986b18746590c1611927d59cbe8c87 (patch) | |
| tree | 1b4332816c000d2e442af747fd7ec4ff151ff5b9 /templates | |
| parent | 919e953d2035836cf537beb31610e7b2edce8833 (diff) | |
| download | reploy-35837f5607986b18746590c1611927d59cbe8c87.tar.gz reploy-35837f5607986b18746590c1611927d59cbe8c87.tar.bz2 | |
render tags, run head-first into template problems
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/page.html | 3 | ||||
| -rw-r--r-- | templates/tag.html | 27 |
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> |
