From 61eae5c5f9881cab29712f6e696085baa977e1f9 Mon Sep 17 00:00:00 2001 From: Jeffrey Tse Date: Wed, 11 Sep 2019 12:19:34 +0800 Subject: release: v1.0.0 --- _layouts/archives.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 _layouts/archives.html (limited to '_layouts/archives.html') diff --git a/_layouts/archives.html b/_layouts/archives.html new file mode 100644 index 0000000..bbe9ebb --- /dev/null +++ b/_layouts/archives.html @@ -0,0 +1,18 @@ +--- +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 -%} -- cgit v1.2.3