090500
This commit is contained in:
26
templates/components/_base.html
Normal file
26
templates/components/_base.html
Normal file
@@ -0,0 +1,26 @@
|
||||
{% load compress %}
|
||||
{% load static %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
{% include 'components/seo.html' %}
|
||||
<title>{{ title }}</title>
|
||||
<!-- styles -->
|
||||
{% compress css %}
|
||||
<link rel="stylesheet" href="{% static 'src/output.css' %}">
|
||||
{% endcompress %}
|
||||
{% include 'components/css.html' %}
|
||||
<!-- script -->
|
||||
{% include 'components/script.html' %}
|
||||
</head>
|
||||
<body class="antialiased bg-gray-50 dark:bg-gray-900">
|
||||
{% include 'components/navbars/nav.html' %}
|
||||
{% include 'components/navbars/sidebar.html' %}
|
||||
<div class="container mx-auto mt-4">
|
||||
{% block content %}
|
||||
{% endblock content %}
|
||||
</div>
|
||||
<!-- script -->
|
||||
{% include 'components/footer/script.html' %}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user