created:2021-05-14
author:Foobär
top:README:Files And Directories
sort:027
title:settings

<p>
The <code>settings</code> file must exist in order for SBWG to recognise the directory as a SBWG web site source directory. SBWG will refuse to generate the website if this
file isn't there and it will assume that there is a valid SBWG web site source structure in the same directory if the file exists.
</p><p>
You can use the file to inject any Bash code that should be executed before the web site is generated. Commonly it is only used to set a few global variables and
declare hooks (see the "Hooks" section below). You can copy the settings file from the example directory or peek at it for explanations of the settings that should
be set for any new web site. I suggest that you include at least the 'sitename' and 'url' settings. There are more settings worth knowing about. Have a look at the
settings file in the example directory or see the short descriptions of all settings further down in this file under "Settings".
</p>
