include post.template

This commit is contained in:
m
2026-03-14 11:53:23 +01:00
parent e48e80ed70
commit 66908c8898
4 changed files with 194 additions and 98 deletions

View File

@@ -10,15 +10,17 @@ Template{% endblock %} {% block content %}
</p>
<hr />
{% if post.id == 8 %}
<div class="background-svg">
<img
src="{{ url_for('static', filename='animation.svg') }}"
alt=""
/>
<br>
<p>tree source: codepen @uchardon</p></div>
<div class="background-svg">
<img src="{{ url_for('static', filename='animation.svg') }}" alt="" />
<br />
<p>tree source: codepen @uchardon</p>
</div>
{% endif %}
<div class="blog-content">{{ post.content | safe }}</div>
{% include post.template %}
<a href="{{ url_for('home') }}" class="btn btn-default btn-custom"
>← Back to Posts</a
>