From aef05617b7c0634e896a0f686ef90bbd6a06fd39 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Tue, 6 Jun 2023 20:23:32 +0200 Subject: render tag pages --- templates/head.html | 10 +++++++++- templates/tag.html | 28 ++++++++++++++++++++++++---- 2 files changed, 33 insertions(+), 5 deletions(-) (limited to 'templates') diff --git a/templates/head.html b/templates/head.html index 1bc1509..c267616 100644 --- a/templates/head.html +++ b/templates/head.html @@ -1 +1,9 @@ -{{title}} + + + + {{?title}}{{title}}{{/title}} + {{?htag}} + All cards {{#htag}} » {{tag}}{{/htag}} + {{/htag}} + + diff --git a/templates/tag.html b/templates/tag.html index c706469..ccb3e84 100644 --- a/templates/tag.html +++ b/templates/tag.html @@ -2,12 +2,32 @@ {{> head.html}} -

{{?tag}}Tag: {{tagpath}}{{/tag}}{{^tag}}All pages{{/tag}}

-Path: (root){{#tag}} / #{{.}}{{/tag}} -