{% load staticfiles %} {# @var settings #} {# Load assets as external files, to cache independently of markup. #} {% comment %} FAQ: IF a script or style is better cached with markup, THEN: - Such a style belongs inline before relevant markup, not via this block - Such a script belongs inline after relevant markup, not via this block {% endcomment %} {# NOTE: Fonts may be loaded early via `assets_font` #} {# CAVEAT: Requires `npm run build` step before running the Django project. #} {# Portal & Docs #} {# FAQ: Websites that load CMS header should load these assets in this order #} {% comment %} {# To load externally-hosted font which is in the font stack of CMS styles #} {# FAQ: CMS does ALSO load but does so in `assets_font.html` instead #} {# To load CSS that styles the header #} {# FAQ: CMS does ALSO load so it styles header using identical complex code #} {% endcomment %}