jekyll-theme-open-project-helpers 2.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0432556ca9177690f62bca9daa3276f9b2c0779
|
4
|
+
data.tar.gz: 9a9f23fceb75dbb16963505839178d634711cc32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2215795614367b68ce9a0d41d173cdc2919579adf7f93228c8e21fe5a3d5fc730e08eb8110aa36b04c045bcc5748a689ed4b20d41c1214a631c847078ae039b3
|
7
|
+
data.tar.gz: b6b896dd46c2d8691d882bfae6e8860dbd043e2eea46d1563f81d75996c55c5754c5494bb5c8fbce2980ec7c3caf0aa0b9f6fec9ebf8fc6547f95850325fd18d
|
@@ -113,7 +113,7 @@ module Jekyll
|
|
113
113
|
site.config["num_all_#{index_name}"] = items.size
|
114
114
|
|
115
115
|
featured_items = items.select { |item| item.data['feature_with_priority'] != nil }
|
116
|
-
site.config["featured_#{index_name}"] = featured_items
|
116
|
+
site.config["featured_#{index_name}"] = featured_items.sort_by { |item| item.data['feature_with_priority'] }
|
117
117
|
site.config["num_featured_#{index_name}"] = featured_items.size
|
118
118
|
|
119
119
|
non_featured_items = items.select { |item| item.data['feature_with_priority'] == nil }
|