From 1f2ab58478925481d5cf273d38e30fc06e96e69e Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Sun, 15 Oct 2023 23:06:59 +0200 Subject: stabilize and parametrize sorting of stuff, get rid of "title" --- templates/head.html | 7 ++++--- templates/header.html | 2 +- templates/list.html | 2 +- templates/tag.html | 6 +++--- 4 files changed, 9 insertions(+), 8 deletions(-) (limited to 'templates') diff --git a/templates/head.html b/templates/head.html index 59bbfa0..17fe88d 100644 --- a/templates/head.html +++ b/templates/head.html @@ -1,12 +1,13 @@ - {{?title}}Page: {{title}}{{/title}} + {{^htag}} + {{?name}}Page: {{name}}{{/name}} + {{/htag}} {{?htag}} Category: {{#htag}} - {{?tag}} » {{tag}}{{/tag}} - {{^tag}}All pages{{/tag}} + {{?name}} » {{name}}{{/name}} {{/htag}} {{/htag}} diff --git a/templates/header.html b/templates/header.html index 8fa2cc6..1afc80e 100644 --- a/templates/header.html +++ b/templates/header.html @@ -10,7 +10,7 @@ Categories: {{/htags}} diff --git a/templates/list.html b/templates/list.html index 8fe58e4..4c173f5 100644 --- a/templates/list.html +++ b/templates/list.html @@ -23,7 +23,7 @@

Pages

{{/pages}} diff --git a/templates/tag.html b/templates/tag.html index 8e8fb09..600e050 100644 --- a/templates/tag.html +++ b/templates/tag.html @@ -15,7 +15,7 @@