Make some markdown lazy load image
This commit is contained in:
parent
b2950cfcdc
commit
fddde73583
7 changed files with 7 additions and 7 deletions
|
@ -38,7 +38,7 @@
|
|||
</h2>
|
||||
<div class="summary content-description blog-description">
|
||||
{% cache 86400 'post_summary' post.id %}
|
||||
{{ post.summary|default(post.content, true)|markdown|reference|str|safe }}
|
||||
{{ post.summary|default(post.content, true)|markdown(lazy_load=True)|reference|str|safe }}
|
||||
{% endcache %}
|
||||
</div>
|
||||
</section>
|
Loading…
Add table
Add a link
Reference in a new issue