image templates
This commit is contained in:
5
templates/posts/post_2.html
Normal file
5
templates/posts/post_2.html
Normal 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 %}
|
||||
Reference in New Issue
Block a user