jekyll-geolexica 1.0.0 → 1.0.2

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: 357c378038e9d32edad712e02507a806c132527d80596e36680212a3f410390f
4
- data.tar.gz: 83182053323349e9b98ecd381b03cf392edb8cf3980530308796bd33e4cc1038
3
+ metadata.gz: 6bb57079f26e913eaace586ce2a65a38eb8a1d4d89ca94059839ef14ccc4e0e7
4
+ data.tar.gz: 2c73e10948a211c6c85bd4f9f4ab8524bcdad1b93559b18a1b2f3437c118d9cb
5
5
  SHA512:
6
- metadata.gz: 2f8deda97f0fc5d9e2f60709fa2ef9fb40f7a59f10753f8d6059a8151437a60c2585bf159cf14c51c69e762db46c49f4656fc6810636c6e652d651fa041c79de
7
- data.tar.gz: bc7a718ffca5a3a7c21bd88260182d3332fd179f950e40b25b9b9546c19534e76fbdb1e56495699cd9292767b755c514cd4e2869e1d2ff6a0a25bf88a23fbd8c
6
+ metadata.gz: 47fa786e4822868f0b7c721df32187da18d7b2dd448447f465c41e547c56f2c5a5faece4fe870aa119a6efa7bc92277ba17f80da2ddc0d85e961152e6415f2ea
7
+ data.tar.gz: d01e5a39b5fc7ebf6cd17491628a6c1486a77a76f474bc43cea88c3d6bff912d6d28010b3d4dc5defbc0e788c23cd0ac318b201217095becf2a25e15d0ef91ad
@@ -60,29 +60,3 @@ geolexica:
60
60
  - eng
61
61
  formats:
62
62
  - html
63
-
64
- exclude:
65
- - spec/
66
-
67
- - "*.xlsx"
68
- - "*.yaml"
69
-
70
- - Gemfile
71
- - Gemfile.lock
72
- - Makefile
73
-
74
- - babel.config.js
75
- - package.json
76
- - package-lock.json
77
- - monitor.sh
78
- - node_modules
79
-
80
- - deploy.sh
81
- - monitor.sh
82
-
83
- - .sass-cache/
84
-
85
- - vendor/bundle/
86
- - vendor/cache/
87
- - vendor/gems/
88
- - vendor/ruby/
@@ -0,0 +1,39 @@
1
+ {%- assign json_url = page.representations.json.url -%}
2
+ {%- if json_url %}
3
+ <section class="field json">
4
+ <p class="field-name">JSON</p>
5
+ <p class="field-value"><a href="{{ json_url }}">{{ json_url }}</a></p>
6
+ </section>
7
+ {% endif -%}
8
+
9
+ {%- assign yaml_url = page.representations.yaml.url -%}
10
+ {%- if yaml_url %}
11
+ <section class="field yaml">
12
+ <p class="field-name">YAML</p>
13
+ <p class="field-value"><a href="{{ yaml_url }}">{{ yaml_url }}</a></p>
14
+ </section>
15
+ {% endif -%}
16
+
17
+ {%- assign json_url = page.representations.jsonld.url -%}
18
+ {%- if json_url %}
19
+ <section class="field json">
20
+ <p class="field-name">SKOS in JSON-LD</p>
21
+ <p class="field-value"><a href="{{ json_url }}">{{ json_url }}</a></p>
22
+ </section>
23
+ {% endif -%}
24
+
25
+ {%- assign ttl_url = page.representations.turtle.url -%}
26
+ {%- if ttl_url %}
27
+ <section class="field ttl">
28
+ <p class="field-name">SKOS in RDF</p>
29
+ <p class="field-value"><a href="{{ ttl_url }}">{{ ttl_url }}</a></p>
30
+ </section>
31
+ {% endif -%}
32
+
33
+ {%- assign tbx_url = page.representations.tbx.url -%}
34
+ {%- if tbx_url %}
35
+ <section class="field tbx">
36
+ <p class="field-name">TBX-ISO-TML</p>
37
+ <p class="field-value"><a href="{{ tbx_url }}">{{ tbx_url }}</a></p>
38
+ </section>
39
+ {% endif -%}
@@ -0,0 +1,6 @@
1
+ <header>
2
+ <h2 class="section-title">
3
+ Concept
4
+ <span class="term-name"><span class="q-open">“</span>{{ page.term | escape }}”</span>
5
+ </h2>
6
+ </header>
@@ -0,0 +1,23 @@
1
+ {%- assign english = page["eng"] -%}
2
+ <section class="field info">
3
+ <p class="field-name">info</p>
4
+ <div class="field-value">
5
+ <ul class="labels">
6
+ {% if english.entry_status -%}
7
+ <li>status: {{ english.entry_status | escape }}</li>
8
+ {% endif -%}
9
+
10
+ {% if english.terms.first.normative_status -%}
11
+ <li>classification: {{ english.terms.first.normative_status | escape }}</li>
12
+ {% endif -%}
13
+
14
+ {% if english.date_accepted -%}
15
+ <li>date accepted: {{ english.date_accepted | date: "%F" }}</li>
16
+ {% endif -%}
17
+
18
+ {% if english.date_amended -%}
19
+ <li>date amended: {{ english.date_amended | date: "%F" }}</li>
20
+ {%- endif %}
21
+ </ul>
22
+ </div>
23
+ </section>
@@ -0,0 +1,4 @@
1
+ <section class="field ref">
2
+ <p class="field-name">Term ID</p>
3
+ <p class="field-value">{{ page.termid }}</p>
4
+ </section>
@@ -0,0 +1,38 @@
1
+ {%- assign english = page["eng"] -%}
2
+ {% if english.review_date -%}
3
+ <section class="field json">
4
+ <p class="field-name">Review</p>
5
+ <div class="field-value">
6
+ <dl class="review">
7
+ <div class="review-info">
8
+ <dt>last review performed:</dt>
9
+ <dd>({{ english.review_date | date: "%F" }})</dd>
10
+ </div>
11
+ {% if english.review_status -%}
12
+ <div class="review-info">
13
+ <dt>status:</dt>
14
+ <dd>{{ english.review_status }}</dd>
15
+ </div>
16
+ {% endif -%}
17
+ {% if english.review_decision -%}
18
+ <div class="review-info">
19
+ <dt>decision:</dt>
20
+ <dd>{{ english.review_decision | escape }}</dd>
21
+ </div>
22
+ {% endif -%}
23
+ {% if english.review_decision_event -%}
24
+ <div class="review-info">
25
+ <dt>decision event:</dt>
26
+ <dd>{{ english.review_decision_event | escape }}</dd>
27
+ </div>
28
+ {% endif -%}
29
+ {% if english.review_decision_notes -%}
30
+ <div class="review-info">
31
+ <dt>notes:</dt>
32
+ <dd>{{ english.review_decision_notes | escape }}</dd>
33
+ </div>
34
+ {%- endif %}
35
+ </dl>
36
+ </div>
37
+ </section>
38
+ {%- endif %}
@@ -0,0 +1,11 @@
1
+ {%- assign english = page["eng"] -%}
2
+ <section class="field source">
3
+ <p class="field-name">source</p>
4
+ <p class="field-value">
5
+ {% if english.authoritative_source.link %}
6
+ <a href="{{ english.authoritative_source.link }}">{{ english.authoritative_source.ref | default: english.authoritative_source.link | escape_once }}</a>{% if english.authoritative_source.clause %}, {{ english.authoritative_source.clause }}{% endif %}
7
+ {% else %}
8
+ {{ english.authoritative_source.ref }}{% if english.authoritative_source.clause %}, {{ english.authoritative_source.clause }}{% endif %}
9
+ {% endif %}
10
+ </p>
11
+ </section>
@@ -1,3 +1,5 @@
1
+ {%- assign english = page["eng"] -%}
2
+ {%- assign localized_term = page[lang] -%}
1
3
  {%- assign term_status = english.entry_status -%}
2
4
  {%- assign classification = english.terms.first.normative_status -%}
3
5
  <article
@@ -18,137 +18,23 @@ term_attributes:
18
18
  - review_decision_notes
19
19
  - release
20
20
  ---
21
- <header>
22
- <h2 class="section-title">
23
- Concept
24
- <span class="term-name"><span class="q-open">“</span>{{ page.term | escape }}”</span>
25
- </h2>
26
- </header>
21
+ {%- assign english = page["eng"] -%}
27
22
 
28
- <section class="field ref">
29
- <p class="field-name">Term ID</p>
30
- <p class="field-value">{{ page.termid }}</p>
31
- </section>
23
+ {% include concept-header.html %}
32
24
 
33
- {% assign english = page["eng"] %}
34
- <section class="field source">
35
- <p class="field-name">source</p>
36
- <p class="field-value">
37
- {% if english.authoritative_source.link %}
38
- <a href="{{ english.authoritative_source.link }}">{{ english.authoritative_source.ref | default: english.authoritative_source.link | escape_once }}</a>{% if english.authoritative_source.clause %}, {{ english.authoritative_source.clause }}{% endif %}
39
- {% else %}
40
- {{ english.authoritative_source.ref }}{% if english.authoritative_source.clause %}, {{ english.authoritative_source.clause }}{% endif %}
41
- {% endif %}
42
- </p>
43
- </section>
25
+ {% include concept-lead-info.html %}
44
26
 
45
- {% for lang in site.geolexica.term_languages %}
27
+ {% include concept-source.html %}
46
28
 
47
- {%- assign localized_term = page[lang] -%}
48
-
49
- {%- if localized_term -%}
50
- {%- include localized-concept.html lang=lang localized_term=localized_term english=english -%}
29
+ {% for lang in site.geolexica.term_languages -%}
30
+ {%- if page[lang] -%}
31
+ {%- include localized-concept.html lang=lang -%}
51
32
  {%- endif %}
52
33
 
53
34
  {% endfor %}
54
35
 
55
- {% assign json_url = page.representations.json.url -%}
56
- {% if json_url -%}
57
- <section class="field json">
58
- <p class="field-name">JSON</p>
59
- <p class="field-value"><a href="{{ json_url }}">{{ json_url }}</a></p>
60
- </section>
61
- {%- endif %}
62
-
63
- {% assign yaml_url = page.representations.yaml.url -%}
64
- {% if yaml_url -%}
65
- <section class="field yaml">
66
- <p class="field-name">YAML</p>
67
- <p class="field-value"><a href="{{ yaml_url }}">{{ yaml_url }}</a></p>
68
- </section>
69
- {%- endif %}
70
-
71
- {% assign json_url = page.representations.jsonld.url -%}
72
- {% if json_url -%}
73
- <section class="field json">
74
- <p class="field-name">SKOS in JSON-LD</p>
75
- <p class="field-value"><a href="{{ json_url }}">{{ json_url }}</a></p>
76
- </section>
77
- {%- endif %}
78
-
79
- {% assign ttl_url = page.representations.turtle.url -%}
80
- {% if ttl_url -%}
81
- <section class="field ttl">
82
- <p class="field-name">SKOS in RDF</p>
83
- <p class="field-value"><a href="{{ ttl_url }}">{{ ttl_url }}</a></p>
84
- </section>
85
- {%- endif %}
86
-
87
- {% assign tbx_url = page.representations.tbx.url -%}
88
- {% if tbx_url -%}
89
- <section class="field tbx">
90
- <p class="field-name">TBX-ISO-TML</p>
91
- <p class="field-value"><a href="{{ tbx_url }}">{{ tbx_url }}</a></p>
92
- </section>
93
- {%- endif %}
94
-
95
- <section class="field info">
96
- <p class="field-name">info</p>
97
- <div class="field-value">
98
- <ul class="labels">
99
- {% if english.entry_status -%}
100
- <li>status: {{ english.entry_status | escape }}</li>
101
- {% endif -%}
102
-
103
- {% if english.terms.first.normative_status -%}
104
- <li>classification: {{ english.terms.first.normative_status | escape }}</li>
105
- {% endif -%}
106
-
107
- {% if english.date_accepted -%}
108
- <li>date accepted: {{ english.date_accepted | date: "%F" }}</li>
109
- {% endif -%}
36
+ {% include concept-api-links.html %}
110
37
 
111
- {% if english.date_amended -%}
112
- <li>date amended: {{ english.date_amended | date: "%F" }}</li>
113
- {%- endif %}
114
- </ul>
115
- </div>
116
- </section>
38
+ {% include concept-info.html %}
117
39
 
118
- {% if english.review_date -%}
119
- <section class="field json">
120
- <p class="field-name">Review</p>
121
- <div class="field-value">
122
- <dl class="review">
123
- <div class="review-info">
124
- <dt>last review performed:</dt>
125
- <dd>({{ english.review_date | date: "%F" }})</dd>
126
- </div>
127
- {% if english.review_status -%}
128
- <div class="review-info">
129
- <dt>status:</dt>
130
- <dd>{{ english.review_status }}</dd>
131
- </div>
132
- {% endif -%}
133
- {% if english.review_decision -%}
134
- <div class="review-info">
135
- <dt>decision:</dt>
136
- <dd>{{ english.review_decision | escape }}</dd>
137
- </div>
138
- {% endif -%}
139
- {% if english.review_decision_event -%}
140
- <div class="review-info">
141
- <dt>decision event:</dt>
142
- <dd>{{ english.review_decision_event | escape }}</dd>
143
- </div>
144
- {% endif -%}
145
- {% if english.review_decision_notes -%}
146
- <div class="review-info">
147
- <dt>notes:</dt>
148
- <dd>{{ english.review_decision_notes | escape }}</dd>
149
- </div>
150
- {%- endif %}
151
- </dl>
152
- </div>
153
- </section>
154
- {% endif -%}
40
+ {% include concept-review.html %}
@@ -3,6 +3,6 @@
3
3
 
4
4
  module Jekyll
5
5
  module Geolexica
6
- VERSION = "1.0.0".freeze
6
+ VERSION = "1.0.2".freeze
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-geolexica
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-22 00:00:00.000000000 Z
11
+ date: 2020-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -112,6 +112,12 @@ files:
112
112
  - _config.yml
113
113
  - _data/lang.yaml
114
114
  - _includes/_title.html
115
+ - _includes/concept-api-links.html
116
+ - _includes/concept-header.html
117
+ - _includes/concept-info.html
118
+ - _includes/concept-lead-info.html
119
+ - _includes/concept-review.html
120
+ - _includes/concept-source.html
115
121
  - _includes/head.html
116
122
  - _includes/localized-concept.html
117
123
  - _includes/newsroll-entry.html
@@ -164,9 +170,6 @@ files:
164
170
  - assets/resource-viewer-placeholder.html
165
171
  - assets/style.scss
166
172
  - babel.config.js
167
- - browserconfig.xml
168
- - fonts/MetaWebPro-Normal.woff
169
- - fonts/MetaWebPro-Thin.woff
170
173
  - jekyll-geolexica.gemspec
171
174
  - lib/jekyll-geolexica.rb
172
175
  - lib/jekyll/geolexica.rb
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <browserconfig>
3
- <msapplication>
4
- <tile>
5
- <square70x70logo src="images/mstile-70x70.png"/>
6
- <square150x150logo src="images/mstile-150x150.png"/>
7
- <square310x310logo src="images/mstile-310x310.png"/>
8
- <wide310x150logo src="images/mstile-310x150.png"/>
9
- <TileColor>#ffffff</TileColor>
10
- </tile>
11
- </msapplication>
12
- </browserconfig>
Binary file
Binary file