blog/_layouts/archives.html
2019-09-11 12:21:17 +08:00

18 lines
403 B
HTML

---
layout: framework
sidebar: archive-list
---
{%- if site.posts.size > 0 -%}
{% include functions.html func='log' level='debug' msg='Get datetimes value' %}
{% assign filter = '%Y' %}
{% include functions.html func='get_datetimes' %}
{% assign datetimes = return %}
{% assign keys = datetimes | reverse %}
{% assign field = 'date' %}
{% include views/segments.html %}
{%- endif -%}