From 9a743b1c706b63f1a2cbf2b441fb365a2d06155f Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Fri, 5 Oct 2018 14:42:05 +0200 Subject: [PATCH] Add a div wrapper around wiki page contents This makes it possible to do styling that applies to just the wiki contents and nothing else on the page. --- template.jinja/confwiki/wikipage.html | 2 ++ template.jinja/confwiki/wikipage_edit.html | 2 ++ 2 files changed, 4 insertions(+) diff --git a/template.jinja/confwiki/wikipage.html b/template.jinja/confwiki/wikipage.html index 467addd..10eb504 100644 --- a/template.jinja/confwiki/wikipage.html +++ b/template.jinja/confwiki/wikipage.html @@ -11,7 +11,9 @@ {% endif %}

{{page.title}}

+
{{page.contents|markdown}} +
{%if page.history%}

diff --git a/template.jinja/confwiki/wikipage_edit.html b/template.jinja/confwiki/wikipage_edit.html index d0b12f5..2a17802 100644 --- a/template.jinja/confwiki/wikipage_edit.html +++ b/template.jinja/confwiki/wikipage_edit.html @@ -42,7 +42,9 @@ table.pageform textarea { {%if not baseform%}

Preview +
{{preview|markdown}} +
-- 2.39.5