jekyll-rdf 3.0.0.pre.develop.446 → 3.0.0.pre.develop.459

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
  SHA256:
3
- metadata.gz: cb17555e4019eec909dfbd275285ac46e665d81907d9b2f669b859d3d6ad5c9a
4
- data.tar.gz: bfc9f474d07844b2d4708ec854cacfe465c2cbc38cf439d3720bb66b88c93512
3
+ metadata.gz: 0260521d080276dd3169b8900ea5dbc3f4294b79146213f0e7c819aabdee380b
4
+ data.tar.gz: 2e0fa135641a71f30b6750bd8586341d89c1e83dbb052e258096ec123353672f
5
5
  SHA512:
6
- metadata.gz: e7fd57ac5c2420c0a38a9040d027bca82666b94b7e18456b7e6d1b68fef763c4c851592d983f5fc818f51a0f8100ac05d560a60dda8e4ce11c51f5bea48b18f1
7
- data.tar.gz: b2fc353676e12cdb0a1e840e2a3b617ff903710ab81eac40c9a63d4c67836510f47dad6b1e0091c3201e76558471ae0a01d1db242956060eadd263136ef7c672
6
+ metadata.gz: 3eaf18fd5d8f3bc17e6b732898b14f8ac1ce696b2863f37fbe343d990c9299825dbcfcc9a346d743d5342fa4976c821e594fbe582b3a27ba49e7973a27471437
7
+ data.tar.gz: 172e9e58157089182c8ae0ec5e4389cbc6fff7d3ba8daf33672d13fe7b4016a1383b247d49775b032b44339d1d36eac9da4de86f9c07c2f2e38088df60dccef8
@@ -50,7 +50,7 @@ module Jekyll
50
50
 
51
51
  def self.page= page
52
52
  @@page = page
53
- if(@@page.class <= Jekyll::RdfPageData && !@@page.data["rdf_prefixes"].nil?)
53
+ unless (@@page.data["rdf_prefixes"].nil?)
54
54
  @@usePage = true
55
55
  else
56
56
  @@usePage = false
@@ -27,5 +27,8 @@ Jekyll::Hooks.register :pages, :pre_render do |page, payload|
27
27
  if(page.class <= Jekyll::RdfPageData)
28
28
  payload["content"] = ""
29
29
  end
30
+ if(page.data["rdf_prefixes"].nil? && !page.data["rdf_prefix_path"].nil?)
31
+ Jekyll::JekyllRdf::Helper::RdfHelper.load_prefixes(File.join(page.instance_variable_get(:@base), page.data["rdf_prefix_path"]), page.data)
32
+ end
30
33
  Jekyll::JekyllRdf::Helper::RdfHelper::page = page
31
34
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-rdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.pre.develop.446
4
+ version: 3.0.0.pre.develop.459
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elias Saalmann
@@ -17,7 +17,7 @@ authors:
17
17
  autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
- date: 2018-06-12 00:00:00.000000000 Z
20
+ date: 2018-06-15 00:00:00.000000000 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  name: linkeddata