From c275812ffa1382f350c24cf3967aa3fc5cdebcdb Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sun, 9 Feb 2020 06:46:33 +0100 Subject: Create a base design. Change-Id: Idf90f0e4b1c411edb72d468d9b4c10daac6c67a3 --- src/main/resources/templates/base.html | 20 +++++++++++++++++++- .../resources/templates/benki/wiki/wikiPage.html | 8 +++++--- .../templates/benki/wiki/wikiPageRevisionList.html | 2 ++ 3 files changed, 26 insertions(+), 4 deletions(-) (limited to 'src/main/resources/templates') diff --git a/src/main/resources/templates/base.html b/src/main/resources/templates/base.html index 6b1ad42..8619f3e 100644 --- a/src/main/resources/templates/base.html +++ b/src/main/resources/templates/base.html @@ -13,6 +13,24 @@ -{#insert body}{/} +
+

Benki → {#insert siteSection}{/}

+
+ + + +
+ {#insert body}{/} +
+ + diff --git a/src/main/resources/templates/benki/wiki/wikiPage.html b/src/main/resources/templates/benki/wiki/wikiPage.html index e4a7d58..6ebf7c2 100644 --- a/src/main/resources/templates/benki/wiki/wikiPage.html +++ b/src/main/resources/templates/benki/wiki/wikiPage.html @@ -4,6 +4,8 @@ {#title}{page.title} — Benki Wiki{/title} +{#siteSection}Wiki{/siteSection} + {#head} @@ -75,14 +77,14 @@

{page.title}

-
+
-
+
{#with page}{enrichedContent.raw}{/}
-
+
diff --git a/src/main/resources/templates/benki/wiki/wikiPageRevisionList.html b/src/main/resources/templates/benki/wiki/wikiPageRevisionList.html index f4a3d95..eb64ff9 100644 --- a/src/main/resources/templates/benki/wiki/wikiPageRevisionList.html +++ b/src/main/resources/templates/benki/wiki/wikiPageRevisionList.html @@ -5,6 +5,8 @@ {#title}Revisions — {title} — Benki Wiki{/title} +{#siteSection}Wiki{/siteSection} + {#body}

Revisions — {title}

-- cgit v1.2.3