diff options
author | Daniel Schadt <kingdread@gmx.de> | 2022-11-28 17:51:00 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2022-11-28 17:51:00 +0100 |
commit | 49f6b66f34f5019d582baabdd1ae713b163d3a3a (patch) | |
tree | 6900189320c7f6ee660ad1882945c339ca5b47d3 /doc/administration | |
parent | e3dba500584c0975f7d39b84378e7dc698b2a16d (diff) | |
download | fietsboek-49f6b66f34f5019d582baabdd1ae713b163d3a3a.tar.gz fietsboek-49f6b66f34f5019d582baabdd1ae713b163d3a3a.tar.bz2 fietsboek-49f6b66f34f5019d582baabdd1ae713b163d3a3a.zip |
Allow overwriting of the home page
Diffstat (limited to 'doc/administration')
-rw-r--r-- | doc/administration/custom-pages.rst | 21 |
1 files changed, 21 insertions, 0 deletions
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 ------------- |