Add image lazy load for markdown
This commit is contained in:
parent
42eb5115d1
commit
b43772c3e5
5 changed files with 18 additions and 4 deletions
|
@ -82,7 +82,7 @@
|
|||
{% if user.about %}
|
||||
<h4>{{ _('About') }}</h4>
|
||||
{% cache 86400 'user_about' user.id MATH_ENGINE %}
|
||||
{{ user.about|markdown|reference|str|safe }}
|
||||
{{ user.about|markdown(lazy_load=True)|reference|str|safe }}
|
||||
{% endcache %}
|
||||
{% else %}
|
||||
<i>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue