cloudfour / pwastats

A directory of Progressive Web App case studies.
https://www.pwastats.com
MIT License
101 stars 8 forks source link

Tiles are in different order than current production site #214

Closed megnotarte closed 4 years ago

megnotarte commented 4 years ago

I noticed that the tiles are ordered differently on the preview site as compared to production. Look at the Commonfloor tile for example. order

Is this expected? If not, is it acceptable?

emersonthis commented 4 years ago

This is expected / discussed with @tylersticka. On both versions, the posts appear in reverse chronological order, but Eleventy and Jekyll's ordering algorithm(s) differ subtly in how they handle "a tie" between two posts that were published on the same date. The overall ordering should be the same outside of these instances. It's not obvious at-a-glance because we don't print the publication dates onto the page. But you can verify by looking at the filenames in the source code, which are prefixed with a date. There's a few instances where several stats were published together on the same day.

Please reopen if you see anything that's inconsistent with this explanation.