jekyll-everypolitician 0.4.0 → 0.5.0

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: 72ae121d8a732ae6e1eca70c23838772ef97df42
4
- data.tar.gz: 45356441a9064e6166f9e67ae48e78124535dafc
3
+ metadata.gz: 0f205be356b7d84956af044c3cae0a0a78afac5b
4
+ data.tar.gz: 2d9d345566f50926e5aa210cb6d4b80854262010
5
5
  SHA512:
6
- metadata.gz: cd30320c8b95c7423ae6cd01a3010cd4b8aa94a778256a3587168179a3308e7ba94814e8a8b5d376212d3e1915aa930272a7e7c38830cbd917bc24912b28c47f
7
- data.tar.gz: 0df4c37bb21ce8b8b97a68230af4502e1c3e66e3dba4419d3f0f8503e5d27a1d6e53ddfbf761272e56c1a57430493a6b1007bb4c61b2faa7fd3d0e26760bbc68
6
+ metadata.gz: 25e251e67cf19a1b1dce76f87ae75ae5d42f5f32fc200f560cb26db72dfa122f63fa10661c8347259b579ad38d66190c02a78f786e25d0d776546c313ad62a25
7
+ data.tar.gz: f4cec71336868e7ef176d7f9ee8c660061b5d80a7e3c621d96278e7dbdbf533445d69dddc3a14db45257629250829479519148cc0f8da799614692365a635f4f
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
+ ## [0.5.0] - 2015-12-03
6
+
7
+ ### Added
8
+
9
+ - If you've specified multiple sources the layout property for each document in the collection will first try to use `sourcename_collectionname.html` then fallback to `collectionname.html`. E.g. if you'd specified a source for `assembly`, objects in the `people` collection would first try to use `assembly_people.html`, then fallback to `people.html`.
10
+
5
11
  ## [0.4.0] - 2015-12-03
6
12
 
7
13
  ### Changed
@@ -33,3 +39,4 @@ This project adheres to [Semantic Versioning](http://semver.org/).
33
39
  [0.2.0]: https://github.com/everypolitician/jekyll-everypolitician/compare/v0.1.0...v0.2.0
34
40
  [0.3.0]: https://github.com/everypolitician/jekyll-everypolitician/compare/v0.2.0...v0.3.0
35
41
  [0.4.0]: https://github.com/everypolitician/jekyll-everypolitician/compare/v0.3.0...v0.4.0
42
+ [0.5.0]: https://github.com/everypolitician/jekyll-everypolitician/compare/v0.4.0...v0.5.0
@@ -46,6 +46,8 @@ module Jekyll
46
46
  )
47
47
  if site.layouts.key?(collection_name)
48
48
  doc.merge_data!('layout' => collection_name)
49
+ elsif site.layouts.key?(collection_name_for(type))
50
+ doc.merge_data!('layout' => collection_name_for(type))
49
51
  end
50
52
  collection.docs << doc
51
53
  end
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Everypolitician
3
- VERSION = '0.4.0'
3
+ VERSION = '0.5.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-everypolitician
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Mytton