Skip to content

Commit

Permalink
album
Browse files Browse the repository at this point in the history
  • Loading branch information
PicsewArt committed Feb 19, 2021
1 parent a4032a1 commit e08c3fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _layouts/album.html
Expand Up @@ -12,7 +12,8 @@
{% capture this_media_url %}{% include gallery_media_url.html item=item %}{% endcapture %}
{% capture this_thumbnail_url %}{% include gallery_media_thumbnail_url.html item=item %}{% endcapture %}

{% assign this_item = this_item | push: forloop.index %}
{% assign this_idx = page.media.size | minus: forloop.index | plus: 1 %}
{% assign this_item = this_item | push: this_idx %}
{% assign date_formatted = item.date | date: "%b %d, %Y" %}
{% assign this_item = this_item | push: date_formatted %}
{% assign this_item = this_item | push: this_thumbnail_url %}
Expand Down

0 comments on commit e08c3fa

Please sign in to comment.