<%!
from microsite_configuration import microsite
%>
<%
theme_enabled = settings.FEATURES.get("USE_CUSTOM_THEME", False)
is_microsite = microsite.is_request_in_microsite()
%>

% if theme_enabled and not is_microsite:
  <%include file="theme-footer.html" />
% else:
  <%include file="${microsite.get_template_path('footer.html')}" />
% endif
