## mako
<%namespace name='static' file='static_content.html'/>
<%!
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-header.html" />
% else:
  <%include file="${microsite.get_template_path('navigation.html')}" />
% endif
