context processors: return mini-template if there's no skeleton url (#73796) #13
|
@ -83,6 +83,8 @@ class RemoteTemplate:
|
|||
# deployed.
|
||||
return Template('<html><body>{% block content %}{% endblock %}</body></html>')
|
||||
self.theme_skeleton_url = context['portal_url'] + '__skeleton__/'
|
||||
elif not settings.THEME_SKELETON_URL:
|
||||
return Template('<html><body>{% block content %}{% endblock %}</body></html>')
|
||||
else:
|
||||
self.theme_skeleton_url = settings.THEME_SKELETON_URL
|
||||
if item is None:
|
||||
|
|
Loading…
Reference in New Issue