sort albums descending

This commit is contained in:
sakrecoer 2020-07-06 18:43:28 +02:00
parent d0fda4bc6c
commit 20dd11b737

View file

@ -27,7 +27,8 @@ image: /images/guillaume-techer-jm9p0mdpo6a-unsplash.jpg
</section>
{% for album in site.albums %}
{% assign sorted = site.albums | sort: 'date' | reverse %}
{% for album in sorted %}
<section class="spotlight style4 orient-{% cycle 'left', 'right' %} content-align-left image-position-center onscroll-image-fade-in" {% if forloop.index == 1 %}style="box-shadow: none;" {% endif %}>
<div class="content">