From ae980fc859d9c895f19a4a9011f5289e7b0a74a4 Mon Sep 17 00:00:00 2001 From: dequis Date: Mon, 5 Jun 2017 21:38:37 -0300 Subject: Merge all security data files to _data/security.yml for i in _data/security/*; do basename $i | sed -r 's/^(.*)\.yml/- name: \1/g'; cat $i | sed 's/^/ /'; echo; done > _data/security.yml --- security/index.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'security/index.html') diff --git a/security/index.html b/security/index.html index 9526e49..e370d87 100644 --- a/security/index.html +++ b/security/index.html @@ -17,10 +17,8 @@ categories: [ _nav ] -{% assign items = site.data.security | sort %} -{% for item in items reversed %} - {% assign name = item[0] %} - {% assign values = item[1] %} +{% assign items = site.data.security %} +{% for values in items reversed %} {{ values.release_date }} -- cgit v1.2.3