jekyll-theme-jod 0.2.5 → 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: 3d050f5917b35c2445ceff40f6e70c79216c565f72176b32d09c37b9f69e2b4e
4
- data.tar.gz: 7cc760314d908c273ef4fb64ce988ca76024c2d4879894d8ba7d7870d6aa5715
3
+ metadata.gz: 3ea95e49a1acce1dea2970061fa62f043f4255c50414dfe5307e41403f3233d5
4
+ data.tar.gz: 6bf6ffa293ac80d0da7a6807cf8b5a955897c09f54d9f69a7ea02e46bfc84e77
5
5
  SHA512:
6
- metadata.gz: 064e6a8aa7a1edb8a182c0f095ddfa0875499069902b8c36012b3cf9d943f81302b2debf988b1f931545669ccb0ffbcf975a8fc1e71c42fc12b836145b9a7338
7
- data.tar.gz: b3d68c53c31ce737380168683c52d23c792803b10d48c1abe7c11f8c83d02716d5652210af1a41fd8d796c0712b8f6be423588946768bf26964456b7d93336bb
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,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.5
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-06-21 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