https://gitlab.synchro.net/sbbs/sbbs/-/commit/f1606a940708ca56e3e2381c
Modified Files:
webv4/lib/pages.js
Log Message:
Allow for a mods/pages directory.If a page is found in both pages/ and mods/pages/, theversion from mods/pages/ will be used.When matching files, the numeric ordering prefix is ignored;this means that eg. mods/pages/666-home.xjs will overridepages/000-home.xjs.If a page is found in mods/pages/ which does not have acounterpart in pages/, it will be listed and available. (Thismakes mods/pages/ a good place for you to put custom content.)If a subdirectory with the same name is found in both pages/ andmods/pages/, the contents of those subdirectories will be handledaccording to the above rules.If you're using webctrl.ini, you'll need to put a copy in thesame subdirectory of mods where your custom page lives, with anentry relevant to that file. (I think.)Still needs a bunch of testing.
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)