This commit is contained in:
SG
2025-06-10 20:50:21 +03:00
parent 26c4b9c1e1
commit 7c7dedcfa5
6 changed files with 76 additions and 109 deletions

View File

@@ -7,14 +7,19 @@
{% endif %}
{% endblock %}
{% block menu_links %}
<a href="../index.html">Home</a>
<a href="../static/about.html">About</a>
{% endblock %}
{% block content %}
<div class="container mt-4 mb-5">
{% if content_item.image %}<img src="{{ content_item.image }}" class="img-fluid mb-5" style="border-radius: 5px;">{% endif %}
{% if content_item.image_file %}<img src="{{ content_item.image_file }}" class="img-fluid mb-5" style="border-radius: 5px;">{% endif %}
{% if not content_item.omit_second_title %}
<h1>{{ content_item.title }}</h1>
{% endif %}
<article>{{ content_item.html | safe }}</article>
<a href="index.html" class="btn btn-secondary mt-4">← Back</a>
<a href="../index.html" class="btn btn-secondary mt-4">← Back</a>
</div>
{% endblock %}