2020-09-29 06:54:54 +02:00
|
|
|
{% if include.params.filter %}
|
|
|
|
{% assign filter = include.params.filter %}
|
2019-09-11 06:19:34 +02:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% assign split_mark = '<|>' %}
|
|
|
|
|
|
|
|
{% assign dates = '' %}
|
|
|
|
{% for post in site.posts %}
|
|
|
|
{% assign name = post.date | date: filter %}
|
|
|
|
{% assign dates = dates | append: split_mark | append: name %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% assign return = dates
|
|
|
|
| remove_first: split_mark
|
|
|
|
| split: split_mark
|
|
|
|
| sort: self
|
|
|
|
| uniq %}
|
|
|
|
|