jekyll-rdf 3.0.1.pre.develop.594 → 3.0.1.pre.develop.595

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: 3397202f71bd508e2323522bfacc7c908b59d49868abddba37f496a77d1a0c40
4
- data.tar.gz: bfc442452a0dd852c55e0683b110a7882840978c408aac2b6391a40c80046bdb
3
+ metadata.gz: 4a9fbdd611af56293b8edb5fd850680fc10ebf0544ca5e807d968a9b622f83d9
4
+ data.tar.gz: 4b838094f0a75479cf07aebcfe18398065202d6d9024366913aea566141e693f
5
5
  SHA512:
6
- metadata.gz: 3c8b2c5786a7983422007f046bf5da0d6abc2d75f37e6018da14a9a40f344b8c46909e0bfcc9cce946e4a7985c24ae6f94c8854a9cfe7714a7b953d994508104
7
- data.tar.gz: b57aaa095c90f45d3b93c21995de1a68b4d58a65719561781e07b390346dc7a5b9464cf6d00632d1f951b471ebbdb10cfda55e3df495b173aec7fe4daf969761
6
+ metadata.gz: 4407d669f3615b67d9dc80c404dca1cd3729a1cce35f924a5429967386e8299343915e60bac2d6a58a4fbdd58dfaedfc7f3dcc43bf18272bda7dca99418ae869
7
+ data.tar.gz: fdbffcc76191f0da6c495a67fa52c380e1da8f006735ffc4a9f5064e93edd67099421b35b84eec38ae30632cb863ee2124be8edb54e93252f8c75fe1bf0a10f0
@@ -24,6 +24,7 @@
24
24
 
25
25
 
26
26
  Jekyll::Hooks.register :pages, :pre_render do |page, payload|
27
+ Jekyll.logger.info "page"
27
28
  unless(page.data['rdf'].nil?)
28
29
  payload["content"] = ""
29
30
  end
@@ -31,4 +32,12 @@ Jekyll::Hooks.register :pages, :pre_render do |page, payload|
31
32
  Jekyll::JekyllRdf::Helper::RdfHelper.load_prefixes(File.join(page.instance_variable_get(:@base), page.data["rdf_prefix_path"]), page.data)
32
33
  end
33
34
  Jekyll::JekyllRdf::Helper::RdfHelper::page = page
35
+ end
36
+
37
+ Jekyll::Hooks.register :documents, :pre_render do |page, payload|
38
+ Jekyll::JekyllRdf::Helper::RdfHelper::page = page
39
+ end
40
+
41
+ Jekyll::Hooks.register :posts, :pre_render do |page, payload|
42
+ Jekyll::JekyllRdf::Helper::RdfHelper::page = page
34
43
  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.1.pre.develop.594
4
+ version: 3.0.1.pre.develop.595
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elias Saalmann