jekyll-theme-jod 0.1.9 → 0.1.10

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: ff9189b8aebf9e7f3120d15d24564f6f47227f048a5f169405aaf5ef85c79911
4
- data.tar.gz: b1b66e51212258823875d976ebf45cb5891c635c0ff10aa62ca953564979a65d
3
+ metadata.gz: 298f1177013aab2f1d2f52cd6f2dbf5ea9fbb100f664d0e33eb39436ad89f8e3
4
+ data.tar.gz: f553d563caa4c3b712354279aff3665a3708da52f8f769ab0b5ae3ae054b14ce
5
5
  SHA512:
6
- metadata.gz: '026528d11c2551cb203231074536d8af489561ff56deb2f506d5c9667549a3da9c0b7ae5db7fd17d84f1af3c9c1a6fb079e8b657c999920ace08ac2bf4630917'
7
- data.tar.gz: 3388005880fc894855c664e3ae525486aa4906f40bcf636039335a9b1a1ae517836b2db33bba92e86f97a252adb38e930e89c740e05adb69828b9393ce5ab950
6
+ metadata.gz: 7a3cb29f46c9e1c26cfc773879fce106c7746e48f0078877983382ffb6eac31bfd1d8561410bcc4147b12248e30fd662caead84671faefd3ea9cff445de2eb47
7
+ data.tar.gz: 0e5a32151477b31e300e14bc8c957d17ae5fa96bc165bd7ce5c4f5a3e3aa1ef321c83aa23f48707f676e6f829cd8e5c925fd673289ac57e142a37b1d85296250
@@ -2,6 +2,8 @@
2
2
  {%- assign labelResource = iri | rdf_get -%}
3
3
  {%- assign label = labelResource | rdf_property: 'skos:prefLabel', 'en' -%}
4
4
  {%- unless label -%}{%- assign label = labelResource | rdf_property: 'skos:prefLabel' -%}{%- endunless -%}
5
+ {%- unless label -%}{%- assign label = labelResource | rdf_property: 'foaf:name', 'en' -%}{%- endunless -%}
6
+ {%- unless label -%}{%- assign label = labelResource | rdf_property: 'foaf:name' -%}{%- endunless -%}
5
7
  {%- unless label -%}{%- assign label = labelResource | rdf_property: 'rdfs:label', 'en' -%}{%- endunless -%}
6
8
  {%- unless label -%}{%- assign label = labelResource | rdf_property: 'rdfs:label' -%}{%- endunless -%}
7
9
  {%- unless label -%}{%- assign label = labelResource.iri | split: "#" -%}{%- assign label = {{label[1]}} -%}{%- endunless -%}
@@ -20,6 +20,24 @@
20
20
  <dt>Modified</dt>
21
21
  <dd>{{- dctmodified -}}</dd>
22
22
  {%- endif -%}
23
+ {%- assign dctcreators = page.rdf | rdf_property: 'dct:creator', nil, true -%}
24
+ {%- if dctcreators.first -%}
25
+ {%- if dctcreators.size > 1 -%}
26
+ <dt>Creators</dt>
27
+ {%- else -%}
28
+ <dt>Creator</dt>
29
+ {%- endif -%}
30
+ <dd>
31
+ {%- for dctcreator in dctcreators -%}
32
+ {%- if dctcreator.iri -%}
33
+ <a href="{{- dctcreator.iri -}}">{%- include label.html iri = dctcreator.iri -%}</a>
34
+ {%- else -%}
35
+ {{- dctcreator -}}
36
+ {%- endif -%}
37
+ {%- unless forloop.last -%}, {% endunless -%}
38
+ {%- endfor -%}
39
+ </dd>
40
+ {%- endif -%}
23
41
  {%- assign vannPreferredNamespacePrefix = page.rdf | rdf_property: 'vann:preferredNamespacePrefix' -%}
24
42
  {%- if vannPreferredNamespacePrefix -%}
25
43
  <dt>Preferred Namespace Prefix</dt>
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.1.9
4
+ version: 0.1.10
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: 2019-01-29 00:00:00.000000000 Z
12
+ date: 2020-02-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  version: '0'
108
108
  requirements: []
109
109
  rubyforge_project:
110
- rubygems_version: 2.7.6
110
+ rubygems_version: 2.7.6.2
111
111
  signing_key:
112
112
  specification_version: 4
113
113
  summary: The JOD theme generates documentation web pages from Ontology turtle documents