jekyll-geolexica 1.8.3 → 1.8.5

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: d34fa1f811cbba1cf8f45b6fcbd70b8427980682cb5103da5d45ad43e8d7f909
4
- data.tar.gz: a45caf617eccc0a5a60f3005b31b8a5b5b6bd0aa0cc9085321b95ca01cd08af2
3
+ metadata.gz: 1f2e4bcbfbbc858dab343b69a8ca6e6f9bffc7614e351edd4912d5b634f2b753
4
+ data.tar.gz: e594f95d15905ba550ba28dc9406fea89275c72a83698991b6cf059f8c8ebf73
5
5
  SHA512:
6
- metadata.gz: 25582e2774f6b04604c1055b216f75e867e3fe00a2c629028c5427972ea946502c907fd45683a1459c58affacaebd49f621bf848709e72facd1eb6803c971057
7
- data.tar.gz: dea1cb748bfb0ee854108efe5036136c80f8ad1b313abe504bf564ef8b4368f09ca724f4a139383e3f970c8de00698ae2be26416f2395dfd8821c10e4e36e56a
6
+ metadata.gz: b8f4388e91b95498f5bb9c149442a4f80838934e85abe00dadc76db098c77d1c20cc94d7774f25c85c726747bc92b447fc5bebf544b417e02597713636cc54ad
7
+ data.tar.gz: 4edf86b932528075fa07fb67a6fe93d222e31367b42a6461054eed9773859362b37bb80f7ce98a31822bdf76f0a8c15fd7a70ef76f0b2ed104201ee6a2c74a68
@@ -1,6 +1,28 @@
1
1
  <header>
2
- <h2 class="section-title">
3
- Concept
4
- <span class="term-name">{{ page.term | escape }}</span>
5
- </h2>
2
+ <div class="header-row">
3
+ <h2>
4
+ Concept
5
+ <span class="term-name">{{ page.term | escape }}</span>
6
+ </h2>
7
+
8
+ <div class="links">
9
+ {%- assign current_url = site.url | append: page.url -%}
10
+
11
+ {% if site.suggest_translation_url %}
12
+ <div>
13
+ <a href="{{ site.suggest_translation_url }}<{{ current_url }}>" target="_blank">
14
+ Suggest translation
15
+ </a>
16
+ </div>
17
+ {% endif %}
18
+
19
+ {% if site.suggest_translation_url %}
20
+ <div>
21
+ <a href="{{ site.report_issue_url }}<{{ current_url }}>" target="_blank">
22
+ Report an issue
23
+ </a>
24
+ </div>
25
+ {% endif %}
26
+ </div>
27
+ </div>
6
28
  </header>
@@ -33,7 +33,7 @@
33
33
  var textToCopy = '';
34
34
  var elmsToCopy = [];
35
35
 
36
- elmsToCopy.push(tgtElement.getElementsByTagName('h3')[0]);
36
+ elmsToCopy.push(tgtElement.getElementsByClassName('heading')[0]);
37
37
  elmsToCopy.push(tgtElement.getElementsByClassName('definition')[0]);
38
38
  elmsToCopy.push(tgtElement.getElementsByClassName('notes')[0]);
39
39
  elmsToCopy.push(tgtElement.getElementsByClassName('examples')[0]);
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  layout: default
3
- nav_items: [concepts, stats, about, posts, feedback, registers]
3
+ nav_items: [concepts, stats, about, posts, feedback, registers, semantic-search]
4
4
  bodyClass: concept
5
5
  term_attributes:
6
6
  - definition
data/_pages/concepts.adoc CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  layout: base-page
3
3
  permalink: "/concepts/index.html"
4
- nav_items: [home, about, stats, posts, feedback, registers]
4
+ nav_items: [home, about, stats, posts, feedback, registers, semantic-search]
5
5
  bodyClass: concepts
6
6
  title: All Concepts
7
7
  ---
data/_pages/index.adoc CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  layout: custom-home
3
3
  permalink: /
4
- nav_items: [about, posts, stats, feedback, registers]
4
+ nav_items: [about, posts, stats, feedback, registers, semantic-search]
5
5
  title: Index
6
6
  ---
7
7
  :page-liquid:
data/_pages/posts.adoc CHANGED
@@ -2,5 +2,5 @@
2
2
  layout: posts
3
3
  title: News & Articles
4
4
  permalink: "/posts/index.html"
5
- nav_items: [home, concepts, stats, about, feedback, registers]
5
+ nav_items: [home, concepts, stats, about, feedback, registers, semantic-search]
6
6
  ---
data/_pages/stats.adoc CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  permalink: "/stats/index.html"
3
3
  layout: base-page
4
- nav_items: [concepts, posts, feedback, registers, about]
4
+ nav_items: [concepts, posts, feedback, registers, about, semantic-search]
5
5
  bodyClass: page
6
6
  title: Statistics
7
7
  ---
data/_sass/concept.scss CHANGED
@@ -195,10 +195,25 @@ body.concept > main {
195
195
  margin-left: $sideOffsetBase;
196
196
  margin-right: $sideOffsetBase;
197
197
  }
198
+
198
199
  .field {
199
200
  margin: 0 15vw 0 15vw;
200
201
  }
201
202
 
203
+ .header-row {
204
+ margin: 0 15vw 0 0;
205
+ display: flex;
206
+ }
207
+
208
+ .links {
209
+ margin-left: auto;
210
+
211
+ > div a {
212
+ color: $warningColor;
213
+ border-bottom: none;
214
+ }
215
+ }
216
+
202
217
  @media screen and (min-width: $bigscreenBreakpoint) {
203
218
  .field {
204
219
  margin-left: calc(#{$sideOffsetBase} - #{$logoOffset});
@@ -30,6 +30,14 @@ module Jekyll
30
30
  File.expand_path("#{glossary_path}/bibliography.yaml", site.source)
31
31
  end
32
32
 
33
+ def suggest_translation_url
34
+ glossary_config["suggest_translation_url"]
35
+ end
36
+
37
+ def report_issue_url
38
+ glossary_config["report_issue_url"]
39
+ end
40
+
33
41
  def term_languages
34
42
  glossary_config["term_languages"]
35
43
  end
@@ -3,6 +3,6 @@
3
3
 
4
4
  module Jekyll
5
5
  module Geolexica
6
- VERSION = "1.8.3".freeze
6
+ VERSION = "1.8.5".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.8.3
4
+ version: 1.8.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: 2022-09-29 00:00:00.000000000 Z
11
+ date: 2022-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -263,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
263
263
  - !ruby/object:Gem::Version
264
264
  version: '0'
265
265
  requirements: []
266
- rubygems_version: 3.1.6
266
+ rubygems_version: 3.3.26
267
267
  signing_key:
268
268
  specification_version: 4
269
269
  summary: Geolexica plugin for Jekyll