This commit is contained in:
SG
2025-06-12 14:12:46 +03:00
parent 095424f252
commit 47badd9d5a
4 changed files with 17 additions and 13 deletions

View File

@@ -9,7 +9,7 @@
{% block content %}
<div class="container mt-4 mb-5">
{% if content_item.image_file %}<img src="{{ content_item.image_file }}" class="img-fluid mb-5 rounded w-100 h-auto">{% endif %}
{% if content_item.image_file %}<img src="{{ parent_path }}static/images/{{ content_item.image_file }}" class="img-fluid mb-5 rounded w-100 h-auto">{% endif %}
{% if not content_item.omit_second_title %}
<h1>{{ content_item.title }}</h1>
{% endif %}
@@ -24,8 +24,8 @@
{% endblock %}
{% block footer_includes %}
{% if content_item.custom_js %}
<script src="{{ content_item.custom_js }}"></script>
{% if content_item.js_file %}
<script src="{{ parent_path}}static/js/{{ content_item.slug }}.js"></script>
{% endif %}
{% endblock %}