attempted to use as much generic view as possible. the previous views were generic anyway. also did some managing of inheritance (extends/includes)
22 lines
438 B
HTML
22 lines
438 B
HTML
<!DOCTYPE html>
|
|
<html lang="en"> {% load static %}
|
|
|
|
<head>
|
|
<title>{% block title %}Title{% endblock %}</title>
|
|
{% include 'base_layout.html' %}
|
|
</head>
|
|
|
|
{% block navbar %}
|
|
{% include 'navbar.html' %}
|
|
{% endblock %}
|
|
|
|
<body class="bg-light">
|
|
{% block header %}
|
|
{% endblock %}
|
|
<main role="main" class="container my-2">
|
|
<h1>{% block page_heading %}{% endblock %}</h1>
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
|
|
</body>
|
|
</html> |