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 +4 -4
- data/lib/jekyll/hooks/rdf_page_pointer.rb +9 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a9fbdd611af56293b8edb5fd850680fc10ebf0544ca5e807d968a9b622f83d9
|
4
|
+
data.tar.gz: 4b838094f0a75479cf07aebcfe18398065202d6d9024366913aea566141e693f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|