feat: use enhance-content to style and manipulate content tags
This commit is contained in:
parent
165a00570e
commit
5abf927a5d
1 changed files with 4 additions and 1 deletions
|
@ -24,7 +24,10 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="body">
|
<div class="body">
|
||||||
{{thread.content | safe}}
|
|
||||||
|
<enhance-content data-server={{server}} data-tag-url={{url_for('threads.tag', id='' )}}>
|
||||||
|
{{thread.content | safe}}
|
||||||
|
</enhance-content>
|
||||||
{% for media in thread.media_attachments %}
|
{% for media in thread.media_attachments %}
|
||||||
{% if media.type == 'image'%}
|
{% if media.type == 'image'%}
|
||||||
<a href="{{ media.url }}">
|
<a href="{{ media.url }}">
|
||||||
|
|
Loading…
Reference in a new issue