From 9984c3afc8aa4aa0dbc36a0a985af22ba7166f7c Mon Sep 17 00:00:00 2001 From: Michele Redolfi Date: Fri, 31 Jan 2014 15:59:38 +0100 Subject: [PATCH] support for natural sorting for isotope (Jim Palmer https://github.com/overset/javascript-natural-sort/) --- _config.yml | 1 + index.html | 1 + jquery.isotope.js | 3 +++ jquery.isotope.min.js | 3 +-- js/naturalSort.js | 42 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 js/naturalSort.js diff --git a/_config.yml b/_config.yml index 46dfeee..54264c3 100644 --- a/_config.yml +++ b/_config.yml @@ -3,6 +3,7 @@ permalink: /:categories/:title.html pygments: true isotope_js: jquery.isotope.min.js jquery_js: js/jquery-1.7.1.min.js +naturalsort_js: js/naturalSort.js exclude: [ minify.sh ] random_order: [ 11, 91, 63, 38, 4, 25, 94, 29, 60, 48, 32, 67, 33, 37, 39, 84, 40, 7, 96, 8, 97, 9, 14, 99, 15, 19, 5, 36, 114, 20, 30, 80, 13, 47, 21, 3, 22, 31, 54, 66, 55, 71, 1, 23, 41, 70, 2, 77, 117, 79, 42, 95, 46, 50, 69, 53, 56, 72, 51, 73, 59, 74, 35, 49, 101, 88, 34, 76, 102, 75, 103, 81, 58, 6, 82, 26, 27, 44, 83, 45, 86, 68, 87, 104, 105, 10, 85, 43, 12, 109, 110, 113, 28, 106, 107, 108, 115, 62, 116, 0, 57, 111, 112, 61, 89, 90, 64, 65, 92, 93, 78, 24, 98, 100, 16, 17, 18, 52 ] diff --git a/index.html b/index.html index 43dfdf4..e805235 100644 --- a/index.html +++ b/index.html @@ -86,6 +86,7 @@ features: +