Fixed portfolio ordering

This commit is contained in:
Claudio Maggioni (maggicl) 2021-02-02 10:09:20 +01:00
parent 948d1ae931
commit 785df83e39

View file

@ -4,11 +4,13 @@ title: Portfolio
permalink: /portfolio/
---
{% assign ps = site.portfolio | sort:"date-start" %}
<div class="portfolio">
<div class="line"></div>
<div class="line-end"></div>
<div class="line-end-bottom"></div>
{% for p in site.portfolio %}
{% for p in ps reversed %}
<section class="port-elem">
<div class="side">
<div class="date">{{ p.date-start }} to {{ p.date-end }}</div>