Render photos individually, optimize gallery images, and prune old releases

This commit is contained in:
2026-09-19 16:20:07 +03:30
parent e112ed7640
commit 3ec6cdd3ec
210 changed files with 117 additions and 12 deletions
+5 -2
View File
@@ -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>