Files
band-management/resources/vuexy-admin-v10.11.1/django-version/full-version/templates/layout/bootstrap/layout_front.py

24 lines
635 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 TemplateBootstrapLayoutFront:
def init(context):
context.update(
{
"layout": "front",
"is_front": True,
"display_customizer": True,
"content_layout": "wide",
"navbar_type": "fixed",
}
)
# map_context according to updated context values
TemplateHelper.map_context(context)
return context