0.4.48 static page template

This commit is contained in:
SDE
2024-01-09 13:48:33 +03:00
parent 3ee1af268f
commit 87f318d4aa
3 changed files with 28 additions and 11 deletions

View File

@@ -1,10 +1,27 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
{% extends 'tb_base.html' %}
{% block CONTENT %}
</body>
</html>
{% include 'blocks/b_sections_buttons.html' %}
{% if page.description or page.title or page.text %}
<div {% include "block_settings/blocks_settings.html" %}>
<div class="cut-width">
<div>
{% if page.description %}
<div class="description_page standart_txt">{{ page.description }}</div>
{% endif %}
{% if page.title %}
<div class="title_page standart_txt">{{ page.title }}</div>
{% endif %}
{% if page.text %}
<div style="padding: 20px 0;">{{ page.text|safe }}</div>
{% endif %}
</div>
</div>
</div>
{% endif %}
{% endblock %}