From ffb428e629b3f94c724f41e35c77ca024ba47149 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sat, 25 Jan 2020 10:47:36 +0100 Subject: Wiki: Add ContentTools to all wiki pages. Change-Id: I30e3c59458b2754439c9edfd5029d260816dd9de --- src/main/resources/templates/base.html | 2 ++ src/main/resources/templates/benki/wiki/wikiPage.html | 18 +++++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) (limited to 'src/main/resources/templates') diff --git a/src/main/resources/templates/base.html b/src/main/resources/templates/base.html index 8fefe31..408424d 100644 --- a/src/main/resources/templates/base.html +++ b/src/main/resources/templates/base.html @@ -7,6 +7,8 @@ + + {#insert head}{/} diff --git a/src/main/resources/templates/benki/wiki/wikiPage.html b/src/main/resources/templates/benki/wiki/wikiPage.html index 7caf94d..8ca34e7 100644 --- a/src/main/resources/templates/benki/wiki/wikiPage.html +++ b/src/main/resources/templates/benki/wiki/wikiPage.html @@ -1,7 +1,20 @@ {@eu.mulk.mulkcms2.benki.wiki.WikiPageRevision page} {#include base.html} + {#title}{page.title} — Benki Wiki{/title} + +{#head} + + +{/head} + {#body}
@@ -9,7 +22,9 @@
- {#with page}{content.raw}{/} +
+ {#with page}{content.raw}{/} +

@@ -19,4 +34,5 @@
{/body} + {/include} -- cgit v1.2.3