[% SET start = c.config.ADMIN_BASE_URL IF admin %] [% IF c.req.uri.path.match('^/waste') %] [% ELSE %] [% END %] [% IF manifest_theme %] [% FOREACH icon IN manifest_theme.icons %] [% END %] [% END %] [% IF csrf_token %] [% END %] [% IF robots %] [% ELSIF c.config.STAGING_SITE %] [% END %] [% INCLUDE 'header_rss.html' %] [% INCLUDE 'header/title.html' %] [% IF bodyclass.match('frontpage') %] [%~ IF NOT c.user_exists OR NOT (c.user.from_body OR c.user.is_superuser) %] [%~ END %] [% END %] [% IF NOT bodyclass.match('mappage') %] [% FOR script IN map_js.merge(c.cobrand.call_hook('map_js_extra')) %] [% END %] [% END %]