Render photos individually, optimize gallery images, and prune old releases
This commit is contained in:
@@ -33,14 +33,17 @@ wide_gallery: true
|
||||
{% if post.published == false %}
|
||||
{% continue %}
|
||||
{% endif %}
|
||||
{% assign items = post.content | markdownify | lazy_images | gallery_items %}
|
||||
{% for item in items %}
|
||||
<li class='lang-{% if post.lang %}{{ post.lang }}{% else %}en{% endif %}'>
|
||||
<article class='post-content'>
|
||||
{% if post.anchor %}
|
||||
{% if post.anchor and forloop.first %}
|
||||
<span id='{{ post.title }}'></span>
|
||||
{% endif %}
|
||||
{{ post.content | markdownify | lazy_images }}
|
||||
{{ item }}
|
||||
</article>
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user