Files

22 lines
557 B
Python

from web_project.template_helpers.theme import TemplateHelper
"""
This is an entry and Bootstrap class for the theme level.
The init() function will be called in web_project/__init__.py
"""
class TemplateBootstrapSystem:
def init(context):
context.update(
{
"layout": "blank",
"content_layout": "wide",
"display_customizer": False,
}
)
# map_context according to updated context values
TemplateHelper.map_context(context)
return context