{% extends "base.html" %} {% block meta %} {% if section.description %} <meta name="description" content="{{ page.description }}" /> {% elif config.description %} <meta name="description" content="{{ config.description }}" /> {% endif %} {% endblock %} {% block title %} {{ section.title }} {% endblock %} {% block main %} <div class="my-4"> <div class="section"> <div class="content container"> Foo </div> </div> </div> {% endblock %}