{% load static %} {% comment %} Bottom code is for using the cookie consent bar. {% endcomment %} {% comment %} {% load cookie_consent_tags %} {% if not request|all_cookies_accepted %} {% static "cookie_consent/cookiebar.module.js" as cookiebar_src %} {% url 'cookie_consent_status' as status_url %} {% all_cookie_groups 'cookie-consent__cookie-groups' %} {% endif %} {% endcomment %}