jekyll-geolexica 1.9.3 → 1.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/localized-concept.html +3 -2
- data/_layouts/default.html +1 -1
- data/lib/jekyll/geolexica/filters.rb +4 -0
- data/lib/jekyll/geolexica/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94037cb304bd047f7d283b202bc09fb7dcc939122b1430ffbcb4729577d25b7e
|
4
|
+
data.tar.gz: 9c0a1f768cc16ded1a135a70db18f0ec5d31a02432ac3e26e2fc3349e662af8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b74162d92dde142a5427bee56144e115d15b60e233003aaca09848e460c9649dce582977801f2f5a6bee12b61a0f12b93371f15736b4b4f2b633b6aced727cc
|
7
|
+
data.tar.gz: adb5cb53743658ab9756282ebaf6a74ab428f6b98a8c9d22c60e4bb1404b9ae2c92e586e34a504b3f85df8621229a97dbac922daa67a20374e58018d3a41535b
|
@@ -3,6 +3,7 @@
|
|
3
3
|
{%- assign term_status = english.entry_status -%}
|
4
4
|
{%- assign classification = english.terms.first.normative_status -%}
|
5
5
|
{%- assign english_authoritative_source = english.sources | get_authoritative -%}
|
6
|
+
{%- assign english_authoritative_sources = english.sources | get_all_authoritative_sources -%}
|
6
7
|
{%- assign localized_authoritative_source = localized_term.sources | get_authoritative -%}
|
7
8
|
|
8
9
|
<article
|
@@ -114,12 +115,12 @@
|
|
114
115
|
<p class="origin localized">
|
115
116
|
{% if lang == "eng" %}
|
116
117
|
[SOURCE:
|
117
|
-
{% for source in
|
118
|
+
{% for source in english_authoritative_sources %}
|
118
119
|
{{ source | display_authoritative_source }}{% unless forloop.last %};{% endunless %}
|
119
120
|
{%- endfor -%}
|
120
121
|
]
|
121
122
|
{% else %}
|
122
|
-
ORIGIN: <a href="/registers/#language-{{ lang }}">{{ site.data.info.languages[lang].register-name }}</a>
|
123
|
+
ORIGIN: <a href="{{ '/registers' | relative_url }}/#language-{{ lang }}">{{ site.data.info.languages[lang].register-name }}</a>
|
123
124
|
(last updated: {{ site.data.info.languages[lang].date-of-last-change }})
|
124
125
|
{% endif %}
|
125
126
|
</p>
|
data/_layouts/default.html
CHANGED
@@ -93,7 +93,7 @@
|
|
93
93
|
|
94
94
|
<div class="powered-by">
|
95
95
|
<span class="powered-by-text">Powered by</span>
|
96
|
-
<a href="{{ site.powered_by.url }}" class="powered-by-logo"><img src="{{ site.powered_by.logo_path }}" alt="{{ site.powered_by.title }}"/></a>
|
96
|
+
<a href="{{ site.powered_by.url }}" class="powered-by-logo"><img src="{{ site.powered_by.logo_path | relative_url }}" alt="{{ site.powered_by.title }}"/></a>
|
97
97
|
</div>
|
98
98
|
|
99
99
|
<p class="legal">
|
@@ -204,6 +204,10 @@ module Jekyll
|
|
204
204
|
def get_authoritative(sources)
|
205
205
|
sources&.find { |source| source["type"] == "authoritative" }
|
206
206
|
end
|
207
|
+
|
208
|
+
def get_all_authoritative_sources(sources)
|
209
|
+
sources&.select { |source| source["type"] == "authoritative" }
|
210
|
+
end
|
207
211
|
end
|
208
212
|
end
|
209
213
|
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.9.
|
4
|
+
version: 1.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: glossarist
|