image templates

This commit is contained in:
m
2026-03-24 21:33:10 +01:00
parent 664900cbd1
commit 86588c0080
2 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
{% for block in post.content %} {% if block.type == "image" %} {% include
"components/image.html" with src=url_for('content_image_files',
filename=block.src) %} {% elif block.type == "text" %}
<p>{{ block.value }}</p>
{% endif %} {% endfor %}