From 20f21aa91e153f2fca9a17f90aea23ddaad20682 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Sun, 7 Feb 2021 18:50:47 +0100 Subject: [PATCH] do not change the default theme (because grav may update it --- themes/learn4/templates/partials/page.html.twig | 2 +- themes/yunohost-docs/templates/partials/page.html.twig | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 themes/yunohost-docs/templates/partials/page.html.twig diff --git a/themes/learn4/templates/partials/page.html.twig b/themes/learn4/templates/partials/page.html.twig index 77854430..641e1933 100644 --- a/themes/learn4/templates/partials/page.html.twig +++ b/themes/learn4/templates/partials/page.html.twig @@ -1,4 +1,4 @@ -
+

{{ page.title }}

{{ page.content|raw }} diff --git a/themes/yunohost-docs/templates/partials/page.html.twig b/themes/yunohost-docs/templates/partials/page.html.twig new file mode 100644 index 00000000..77854430 --- /dev/null +++ b/themes/yunohost-docs/templates/partials/page.html.twig @@ -0,0 +1,6 @@ +

+

{{ page.title }}

+

+ {{ page.content|raw }} +

+