From 49f6b66f34f5019d582baabdd1ae713b163d3a3a Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Mon, 28 Nov 2022 17:51:00 +0100 Subject: Allow overwriting of the home page --- doc/administration/custom-pages.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'doc') diff --git a/doc/administration/custom-pages.rst b/doc/administration/custom-pages.rst index 87d4c7c..db92c49 100644 --- a/doc/administration/custom-pages.rst +++ b/doc/administration/custom-pages.rst @@ -105,6 +105,27 @@ directory will be included: fietsboek.pages = /fietsboek/pages/ +Overwriting the Home Page +------------------------- + +If you set a slug of ``/``, you can overwrite Fietsboek's custom home page: + +.. code:: markdown + + Title: Home + Slug: / + Link-name: home + + Welcome to Fietsboek! + ===================== + +Note that you can use the same ``Locale`` and ``Show-to`` filters for the home +page as you can for other custom pages. If no matching home page is found, +Fietsboek will fall back to the default. + +When defining your own home page, make sure to still include it in the +configuration! + Tips & Tricks ------------- -- cgit v1.2.3