blog/_layouts/archives.html

19 lines
403 B
HTML
Raw Permalink Normal View History

2019-09-11 06:19:34 +02:00
---
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 -%}