1 2 3 4 5 6 7 8 9 10 11 12
{% extends "base.html" %} {% block extrahead %} <style>h1 {color: red;}</style> <script> console.log("Hello"); </script> {% endblock extrahead %} {% block content %} <h1>{{ product.name }} - {{ product.manufacturer }}</h1> {% endblock content %}