From 2a50452d8c42e1d4b74062533bbe4f84d87cac19 Mon Sep 17 00:00:00 2001 From: Hanna Date: Mon, 29 Nov 2021 16:26:49 +0000 Subject: [PATCH] Make the preview app template examples more realistic Add basic page content and initialise JavaScript for components so that the pages can be used for tests. --- app/views/examples/template-custom/index.njk | 1 + app/views/examples/template-default/index.njk | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/app/views/examples/template-custom/index.njk b/app/views/examples/template-custom/index.njk index 6b4bb6f9d2..f31844c4e6 100644 --- a/app/views/examples/template-custom/index.njk +++ b/app/views/examples/template-custom/index.njk @@ -130,5 +130,6 @@ {% block bodyEnd %} + {% endblock %} diff --git a/app/views/examples/template-default/index.njk b/app/views/examples/template-default/index.njk index 1116ac33b9..5392052f85 100644 --- a/app/views/examples/template-default/index.njk +++ b/app/views/examples/template-default/index.njk @@ -12,6 +12,14 @@ {% endblock %} +{% block content %} + +

Default page template

+ +{% endblock %} + + {% block bodyEnd %} + {% endblock %}