8. Theme Configuration¶
8.1. portal.conf¶
THEME_CONTEXT_NAME A string that gives a context variable into every template which can be used to reference the template stored within the database for each theme.
THEME_CONTEXT_NAME: theme
THEME_DEFAULT_NOTHEME A string that points to a template used when the THEME_CONTEXT_NAME doesn’t resolve correctly.
THEME_DEFAULT_NOTHEME: website/base_website.html
THEME_DEFAULT_CSS A string that points to a CSS file under the STATIC_URL directory if the css file hasn’t been set for a theme.
THEME_DEFAULT_CSS: css/base.css
THEME_USER_CHANGE Boolean value to whether a user on the site can change the theme that they use to another theme.
THEME_USER_CHANGE: True