jekyll-theme-jod 0.2.4 → 0.2.6

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: 7349e974ab17f4bf20a7d8de8af3a8b0dfac001d2dee48b70a5549ee2ca41862
4
- data.tar.gz: 6b73e7bea68f6c655843bbbdce6ee14b8fa64fc5730dfea5bcb551d128cbb6f6
3
+ metadata.gz: 3ea95e49a1acce1dea2970061fa62f043f4255c50414dfe5307e41403f3233d5
4
+ data.tar.gz: 6bf6ffa293ac80d0da7a6807cf8b5a955897c09f54d9f69a7ea02e46bfc84e77
5
5
  SHA512:
6
- metadata.gz: 1516ff2135599f0fb957c28f195f1db065a82c83058f651e54faeab5e346698828f663dc4e979b84b911effe3e2651c42698c0b8f4fccb979ae12923e5daa50b
7
- data.tar.gz: 44e813c9b9296e84891f5874f7f33cb0b2d1796e9fab2d3bf8be0ad1d2084f12795db7320d360bda6ec1ff311d4846f8fb70928b62e25591d1f519fbe2f9e282
6
+ metadata.gz: 9dc78a252165fb31259d81e5c3cc0decbcb4137a95530d41abf2345b8e322bf05f17cd96a194cc8ae336ed7759709a6433582cf6df9ea0a613ddfc2339a32da6
7
+ data.tar.gz: 5ecb7a68d662643b9ac99496334406b5a2f25cbb743070c1ee91fa2b0424cb203ab1681287427c5be55058b5c82297e4bac2c352bcb3d964edf2cbe8086c815d
data/_config.yml ADDED
@@ -0,0 +1,11 @@
1
+ baseurl: "/" # the subpath of your site, e.g. /blog
2
+ url: "http://example.org" # the base hostname & protocol for your site, e.g. http://example.com
3
+
4
+ theme: jekyll-theme-jod
5
+
6
+ jekyll_rdf:
7
+ path: "ontology.ttl"
8
+ include_blank: false
9
+ default_template: "resource.html"
10
+ class_template_mappings:
11
+ "http://www.w3.org/2002/07/owl#Ontology": "ontology.html"
@@ -1,7 +1,7 @@
1
1
  {%- capture iri -%}<{{include.iri}}>{%- endcapture -%}
2
2
  {%- assign linkedResource = iri | rdf_get -%}
3
3
  <a
4
- href="#{{ linkedResource.iri | md5 }}"
4
+ href="#id-{{ linkedResource.iri | md5 }}"
5
5
  >
6
6
  {%- include label.html iri = linkedResource.iri -%}
7
7
  </a>
@@ -1,5 +1,13 @@
1
1
  <div class="jumbotron">
2
- <h1 class="display-3">{% include label.html iri = page.rdf.iri %}</h1>
2
+ {% assign site_title_config = site.title | strip %}
3
+ {% if site_title_config != "" %}
4
+ {% assign site_title = site.title %}
5
+ {% else %}
6
+ {% capture site_title -%}
7
+ {% include label.html iri = page.rdf.iri %}
8
+ {%- endcapture %}
9
+ {% endif %}
10
+ <h1 class="display-3">{{ site_title }}</h1>
3
11
  <p class="lead subtitle">{{ page.rdf | rdf_property: 'dbo:subtitle', 'en' }}</p>
4
12
  <p class="lead">{{ page.rdf | rdf_property: 'rdfs:comment', 'en' }}</p>
5
13
  <hr class="my-4">
@@ -1,7 +1,15 @@
1
1
  <!doctype html>
2
2
  <html lang="en">
3
3
  <head>
4
- <title>{{ site.title }}</title>
4
+ {% assign site_title_config = site.title | strip %}
5
+ {% if site_title_config != "" %}
6
+ {% assign site_title = site.title %}
7
+ {% else %}
8
+ {% capture site_title -%}
9
+ {% include label.html iri = page.rdf.iri %}
10
+ {%- endcapture %}
11
+ {% endif %}
12
+ <title>{{ site_title }}</title>
5
13
  <!-- Required meta tags -->
6
14
  <meta charset="utf-8">
7
15
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-jod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Tramp
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-03-28 00:00:00.000000000 Z
12
+ date: 2022-11-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '4.2'
20
+ version: '4.3'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '4.2'
27
+ version: '4.3'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: jekyll-rdf
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -53,20 +53,34 @@ dependencies:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
55
  version: 0.0.3
56
+ - !ruby/object:Gem::Dependency
57
+ name: webrick
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '1.7'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '1.7'
56
70
  - !ruby/object:Gem::Dependency
57
71
  name: bundler
58
72
  requirement: !ruby/object:Gem::Requirement
59
73
  requirements:
60
74
  - - "~>"
61
75
  - !ruby/object:Gem::Version
62
- version: '1.12'
76
+ version: '3.3'
63
77
  type: :development
64
78
  prerelease: false
65
79
  version_requirements: !ruby/object:Gem::Requirement
66
80
  requirements:
67
81
  - - "~>"
68
82
  - !ruby/object:Gem::Version
69
- version: '1.12'
83
+ version: '3.3'
70
84
  - !ruby/object:Gem::Dependency
71
85
  name: rake
72
86
  requirement: !ruby/object:Gem::Requirement
@@ -91,6 +105,7 @@ extra_rdoc_files: []
91
105
  files:
92
106
  - LICENSE
93
107
  - README.md
108
+ - _config.yml
94
109
  - _data/prefixes.pref
95
110
  - _includes/class-card.html
96
111
  - _includes/internal-link.html
@@ -120,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
135
  - !ruby/object:Gem::Version
121
136
  version: '0'
122
137
  requirements: []
123
- rubygems_version: 3.3.5
138
+ rubygems_version: 3.3.7
124
139
  signing_key:
125
140
  specification_version: 4
126
141
  summary: The JOD theme generates documentation web pages from Ontology turtle documents