This commit is contained in:
m
2026-03-14 19:46:41 +01:00
parent b03e46aa99
commit 2fb2e4f3d1
6 changed files with 29 additions and 57 deletions

View File

@@ -0,0 +1,5 @@
<div class="background-svg">
<img src="{{ url_for('static', filename='animation.svg') }}" alt="" />
<br />
<p>tree source: codepen @uchardon</p>
</div>

View File

@@ -1,9 +1,3 @@
{% macro render_post(post) %}
<article class="blog-content">
{{ post.content | safe }}{% if post.template %} {% include post.template %} {%
endif %}
</article>
<hr class="post-divider post-divider-expanded" />
{% endmacro %}
<article class="blog-content">{{ post.content | safe }}</article>
{% if post.template %} {% include post.template %} {% endif %} {% endmacro %}

View File

@@ -1 +0,0 @@
{% include "components/timeline.html" %}

View File

@@ -11,15 +11,7 @@ Template{% endblock %} {% block content %} {% from
<span class="glyphicon glyphicon-time"></span> Posted on {{ post.date }}
</p>
<hr />
{{ render_post(post) }} {% 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>
{% endif %}
<div class="blog-content">{{ post.content | safe }}</div>
{{ render_post(post) }}
<a href="{{ url_for('home') }}" class="btn btn-default btn-custom"
>← Back to Posts</a