mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-19 01:31:34 +00:00
chore: comment for pages option in config
This commit is contained in:
parent
e82cf714dd
commit
61904ee1a7
@ -84,9 +84,14 @@ module.exports = {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
Pages to process for the frontend.
|
Pages to process for the frontend.
|
||||||
|
|
||||||
To add new pages, you may create a new Nunjucks-templated pages (.njk) in "views" directory,
|
To add new pages, you may create a new Nunjucks-templated pages (.njk) in "views" directory,
|
||||||
or regular HTML files (.html) in "pages/custom" directory,
|
|
||||||
then simply add the filename without its extension name into the array below.
|
then simply add the filename without its extension name into the array below.
|
||||||
|
|
||||||
|
Alternatively, you may create regular HTML files (.html) in "pages/custom" directory.
|
||||||
|
If doing so, you don't need to add the filename into the array,
|
||||||
|
as any changes in said directory will be detected live.
|
||||||
|
You may even add or remove pages while lolisafe is running.
|
||||||
*/
|
*/
|
||||||
pages: ['home', 'auth', 'dashboard', 'faq'],
|
pages: ['home', 'auth', 'dashboard', 'faq'],
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user