All templates inherit from a base one, which provides the HTML structure for all others, in a very object-oriented programming (OOP) fashion. It also specifies a few blocks, which are areas that can be overridden by children so that they can provide custom content for those areas. Let's start with the base template:
# entries/templates/entries/base.html{% load static from staticfiles %}<!DOCTYPE html><html lang="en"> <head> {% block meta %} <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> {% endblock meta %} {% block styles %} <link href="{% static "entries/css/main.css" %}" rel="stylesheet"> {% endblock styles %} <title> {% block title %}Title{% endblock title %} </title> ...