This is the current NodeBB theme for the Lospec Forums. https://Lospec.com/forums.
It uses slick as the base theme: https://github.com/pichalite/nodebb-theme-slick
-
Install NodeBB.
-
npm install git+https://github.com/lospec/nodebb-theme-lospec.git
-
Activate theme under Extend > Plugins
-
Rebuild and Restart the server (from overview)
To make changes to HTML, you must modify the .tpl
files in the templates folder. If a file does not exist, you must first copy it from the slick theme. If it doesn't exist on the slick theme, it inherits it from Persona (I think)
CSS can be edited in theme.less
.
You will definitely want to install grunt (npm install grunt -g
), then run grunt
in the nodebb folder, this will watch your files for changes and recompile them.
To add a widget section you need to add HTML into a template (see categories.tpl), then add it to the list of defined widget areas in lib/theme.js.