diff options
Diffstat (limited to '_layouts/archives.html')
-rw-r--r-- | _layouts/archives.html | 18 |
1 files changed, 18 insertions, 0 deletions
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 -%} |