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/categories.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 _layouts/categories.html (limited to '_layouts/categories.html') diff --git a/_layouts/categories.html b/_layouts/categories.html new file mode 100644 index 0000000..7d37d89 --- /dev/null +++ b/_layouts/categories.html @@ -0,0 +1,16 @@ +--- +layout: framework +sidebar: category-list +--- + +{%- if site.posts.size > 0 -%} + + {%- include functions.html func='log' level='debug' msg='Get value' -%} + {%- include functions.html func='get_categories' -%} + {% assign categories = return %} + + {% assign keys = categories %} + {% assign field = 'categories' %} + {%- include views/segments.html -%} + +{%- endif -%} -- cgit v1.2.3