{# docs/overrides/main.html — extends Material's base #} {# This file enables our partial overrides (header + footer) #} {# and adds the shared cross-site header above Material's chrome. #} {% extends "base.html" %} {# Inject the shared header markup before everything Material renders. #} {% block header %} {% include "partials/cross-site-header.html" %} {{ super() }} {% endblock %} {# Replace Material's footer with the shared one. #} {% block footer %} {% include "partials/cross-site-footer.html" %} {% endblock %} {# Keep Material's but add our font + theme-flash-prevention script. #} {% block extrahead %} {{ super() }} {% endblock %}