updates
This commit is contained in:
@@ -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 %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user