Created
May 4, 2024 22:48
-
-
Save archatas/e14c816e7af30a9912db021d1d30a1b0 to your computer and use it in GitHub Desktop.
Boilerplate base.html template inspired by django-allauth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% load i18n %} | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title> | |
{% block head_title %} | |
{% endblock head_title %} | |
</title> | |
{% block extra_head %} | |
{% endblock extra_head %} | |
</head> | |
<body> | |
{% block body %} | |
<h1> | |
{% block page_title %} | |
{% endblock page_title %} | |
</h1> | |
{% block content %} | |
{% endblock content %} | |
{% endblock body %} | |
{% block extra_body %} | |
{% endblock extra_body %} | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment