We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customization colour and company title via settings file
How:
app.js
server.js
The text was updated successfully, but these errors were encountered:
Customization will be done via settings file (or via env vars when starting docker)
settings.headerBackgroundColor = process.env['DATATONIC_HEADER_BACKGROUND_COLOR'] || '#fff'; settings.headerColor = process.env['DATATONIC_HEADER_COLOR'] || '#6d7078'; settings.headerFont = process.env['DATATONIC_HEADER_FONT'] || "400 17px 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif", settings.headerCompanyName = process.env['DATATONIC_HEADER_COMPANY_NAME'] || 'Datatonic'; settings.headerCompanyLink = process.env['DATATONIC_HEADER_COMPANY_LINK'] || 'http://www.datatonic.com'; settings.headerCompanyLogo = process.env['DATATONIC_HEADER_COMPANY_LOGO'] || 'http://datatonic.com/wp-content/themes/datatonic/img/logo.png'; settings.headerCompanyLogoAlt = process.env['DATATONIC_HEADER_COMPANY_LOGO_ALT'] || 'datatonic'; settings.headerCompanyLogoWidth = process.env['DATATONIC_HEADER_COMPANY_LOGO_WIDTH'] || 168; settings.headerCompanyLogoHeight = process.env['DATATONIC_HEADER_COMPANY_LOGO_HEIGHT'] || 31;
This will change the header and footer (both NB and Tree template), and will set company logo & name & url, text, text color, and background color
Sorry, something went wrong.
customization header Closes #7
48a8f4c
7e71097
No branches or pull requests
Customization colour and company title via settings file
How:
app.js
orserver.js
reads a settings file)The text was updated successfully, but these errors were encountered: