mirror of
https://github.com/captn3m0/plugo.git
synced 2024-09-07 22:46:45 +00:00
275 B
275 B
1 | --- |
---|---|
2 | permalink: /location-count.csv |
3 | # This generates a count for every date |
4 | --- |
5 | date,count{%assign count = 0 %}{% assign locations = site.data.plugo | sort:'createdAt' %}{% for l in locations %}{%assign count = count|plus:1 %} |
6 | {{l.createdAt|slice:0,10}},{{count}}{% endfor %} |