Add image lazy load for markdown

This commit is contained in:
cuom1999 2022-10-29 01:25:22 -05:00
parent 42eb5115d1
commit b43772c3e5
5 changed files with 18 additions and 4 deletions

View file

@ -38,7 +38,7 @@
<div class="about-td">
{% if user.about %}
{% cache 86400 'user_about' user.id MATH_ENGINE %}
{{ user.about|markdown|reference|str|safe }}
{{ user.about|markdown(lazy_load=True)|reference|str|safe }}
{% endcache %}
{% endif %}
</div>