jekyll-geolexica 1.1.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_config.yml +1 -0
- data/_includes/analytics.html +12 -0
- data/_includes/concept-info.html +2 -2
- data/_includes/concept-review.html +1 -1
- data/_includes/concepts-list.html +23 -0
- data/_includes/head.html +4 -6
- data/_includes/localized-concept.html +1 -1
- data/_includes/math-config.html +7 -0
- data/_includes/title.html +2 -0
- data/_layouts/default.html +4 -3
- data/_pages/concepts.adoc +3 -25
- data/_pages/robots.txt +11 -0
- data/lib/jekyll/geolexica/version.rb +1 -1
- metadata +7 -4
- data/_includes/_title.html +0 -5
- data/assets/js/ga.js +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 937aa9a815af279fa491c305325b4568ead482dddab2b23cbebcf2f491f1477c
|
4
|
+
data.tar.gz: aaf706f1a2063e6ee0366ac6472be181d8c8e66a14d504a1423436c14837c2f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c321a94dee1c5dfbe9f209b05c0b0884335ce66d49c2714f0b311d79148f681b25f0ee381961b947a385d3d1ecd022a10d11e0899dfeaad8ec7869a8e343ae11
|
7
|
+
data.tar.gz: a00ce82e212b750ea978e69ed53c2060c7de7cbf11711fe6d0ebae91686ee95e82de0bbb07711ac09ad015263167a6d1df3f0712d768559dce22ba46ccb2a47b
|
data/_config.yml
CHANGED
@@ -0,0 +1,12 @@
|
|
1
|
+
{%- assign gaid = site.google_analytics.id -%}
|
2
|
+
{%- if jekyll.environment == 'production' and gaid -%}
|
3
|
+
<!-- Global site tag (gtag.js) - Google Analytics -->
|
4
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id={{ gaid }}"></script>
|
5
|
+
<script>
|
6
|
+
window.dataLayer = window.dataLayer || [];
|
7
|
+
function gtag(){dataLayer.push(arguments);}
|
8
|
+
gtag("js", new Date());
|
9
|
+
|
10
|
+
gtag("config", "{{ gaid }}");
|
11
|
+
</script>
|
12
|
+
{%- endif -%}
|
data/_includes/concept-info.html
CHANGED
@@ -12,11 +12,11 @@
|
|
12
12
|
{% endif -%}
|
13
13
|
|
14
14
|
{% if english.date_accepted -%}
|
15
|
-
<li>date accepted: {{ english.date_accepted | date:
|
15
|
+
<li>date accepted: {{ english.date_accepted | date: site.geolexica.concept_date_format }}</li>
|
16
16
|
{% endif -%}
|
17
17
|
|
18
18
|
{% if english.date_amended -%}
|
19
|
-
<li>date amended: {{ english.date_amended | date:
|
19
|
+
<li>date amended: {{ english.date_amended | date: site.geolexica.concept_date_format }}</li>
|
20
20
|
{%- endif %}
|
21
21
|
</ul>
|
22
22
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<dl class="review">
|
7
7
|
<div class="review-info">
|
8
8
|
<dt>last review performed:</dt>
|
9
|
-
<dd>({{ english.review_date | date:
|
9
|
+
<dd>({{ english.review_date | date: site.geolexica.concept_date_format }})</dd>
|
10
10
|
</div>
|
11
11
|
{% if english.review_status -%}
|
12
12
|
<div class="review-info">
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<div class="all-concepts">
|
2
|
+
<table>
|
3
|
+
<thead>
|
4
|
+
<tr>
|
5
|
+
<th class="field-termid">Term ID
|
6
|
+
<th class="field-term">Term
|
7
|
+
</tr>
|
8
|
+
</thead>
|
9
|
+
|
10
|
+
<tbody>
|
11
|
+
{% for concept in include.concepts %}
|
12
|
+
<tr>
|
13
|
+
<td class="field-termid">
|
14
|
+
<a href="{{ concept.url | relative_url }}">{{ concept.termid }}</a>
|
15
|
+
</td>
|
16
|
+
<td class="field-term">
|
17
|
+
<a href="{{ concept.url | relative_url }}">{{ concept.term }}</a>
|
18
|
+
</td>
|
19
|
+
</tr>
|
20
|
+
{% endfor %}
|
21
|
+
</tbody>
|
22
|
+
</table>
|
23
|
+
</div>
|
data/_includes/head.html
CHANGED
@@ -1,10 +1,13 @@
|
|
1
1
|
<head>
|
2
2
|
<meta charset="utf-8">
|
3
3
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
+
|
5
|
+
{% include analytics.html %}
|
6
|
+
|
4
7
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
8
|
<meta name="description" content="{{ site.description }}">
|
6
9
|
|
7
|
-
<title>{% include
|
10
|
+
<title>{% include title.html %}</title>
|
8
11
|
|
9
12
|
<link rel="icon" type="image/png" href="/images/favicon-32x32.png" sizes="32x32" />
|
10
13
|
<link rel="icon" type="image/png" href="/images/android-chrome-192x192.png" sizes="192x192" />
|
@@ -41,9 +44,4 @@
|
|
41
44
|
<![endif]-->
|
42
45
|
|
43
46
|
<link rel="stylesheet" type="text/css" href="{{ "/assets/style.css" | relative_url }}" />
|
44
|
-
|
45
|
-
{% if jekyll.environment == 'production' and site.google_analytics %}
|
46
|
-
<script src="{{ "/assets/js/ga.js" | relative_url }}"></script>
|
47
|
-
{% endif %}
|
48
|
-
|
49
47
|
</head>
|
data/_layouts/default.html
CHANGED
@@ -1,9 +1,6 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
|
3
3
|
<html
|
4
|
-
{% if site.google_analytics %}
|
5
|
-
data-gaid="{{ site.google_analytics.id }}"
|
6
|
-
{% endif %}
|
7
4
|
lang="{{ page.lang | default: site.lang | default: "en" }}">
|
8
5
|
|
9
6
|
{% include head.html %}
|
@@ -153,6 +150,10 @@
|
|
153
150
|
|
154
151
|
{% include script.html %}
|
155
152
|
|
153
|
+
{% if site.geolexica.math %}
|
154
|
+
{%- include math-config.html -%}
|
155
|
+
{% endif %}
|
156
|
+
|
156
157
|
<template id="expandableNavTrigger">
|
157
158
|
<button class="nav-expand-trigger">
|
158
159
|
<i class="fas fa-bars"></i>
|
data/_pages/concepts.adoc
CHANGED
@@ -9,30 +9,8 @@ title: All Concepts
|
|
9
9
|
|
10
10
|
The concepts below are sorted by term name, alphabetically, in a case-insensitive way.
|
11
11
|
|
12
|
-
|
13
|
-
{% assign sortedConcepts = site.concepts | sort_natural: "term" %}
|
14
|
-
|
15
|
-
<div class="all-concepts">
|
16
|
-
<table>
|
17
|
-
<thead>
|
18
|
-
<tr>
|
19
|
-
<th class="field-termid">Term ID
|
20
|
-
<th class="field-term">Term
|
21
|
-
</tr>
|
22
|
-
</thead>
|
12
|
+
{% assign sorted_concepts = site.concepts | sort_natural: "term" -%}
|
23
13
|
|
24
|
-
|
25
|
-
|
26
|
-
<tr>
|
27
|
-
<td class="field-termid">
|
28
|
-
<a href="{{ concept.url | relative_url }}">{{ concept.termid }}</a>
|
29
|
-
</td>
|
30
|
-
<td class="field-term">
|
31
|
-
<a href="{{ concept.url | relative_url }}">{{ concept.term }}</a>
|
32
|
-
</td>
|
33
|
-
</tr>
|
34
|
-
{% endfor %}
|
35
|
-
</tbody>
|
36
|
-
</table>
|
37
|
-
</div>
|
14
|
+
++++
|
15
|
+
{% include concepts-list.html concepts=sorted_concepts %}
|
38
16
|
++++
|
data/_pages/robots.txt
ADDED
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.1
|
4
|
+
version: 1.3.1
|
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-06-
|
11
|
+
date: 2020-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -111,19 +111,22 @@ files:
|
|
111
111
|
- README.adoc
|
112
112
|
- _config.yml
|
113
113
|
- _data/lang.yaml
|
114
|
-
- _includes/
|
114
|
+
- _includes/analytics.html
|
115
115
|
- _includes/concept-api-links.html
|
116
116
|
- _includes/concept-header.html
|
117
117
|
- _includes/concept-info.html
|
118
118
|
- _includes/concept-lead-info.html
|
119
119
|
- _includes/concept-review.html
|
120
120
|
- _includes/concept-source.html
|
121
|
+
- _includes/concepts-list.html
|
121
122
|
- _includes/head.html
|
122
123
|
- _includes/localized-concept.html
|
124
|
+
- _includes/math-config.html
|
123
125
|
- _includes/newsroll-entry.html
|
124
126
|
- _includes/page-header.html
|
125
127
|
- _includes/resource-tree-item.html
|
126
128
|
- _includes/script.html
|
129
|
+
- _includes/title.html
|
127
130
|
- _layouts/base-page.html
|
128
131
|
- _layouts/concept.html
|
129
132
|
- _layouts/concept.jsonld.html
|
@@ -144,6 +147,7 @@ files:
|
|
144
147
|
- _pages/concepts.adoc
|
145
148
|
- _pages/index.adoc
|
146
149
|
- _pages/posts.adoc
|
150
|
+
- _pages/robots.txt
|
147
151
|
- _pages/stats.adoc
|
148
152
|
- _pages/stats.json
|
149
153
|
- _sass/adoc-markup.scss
|
@@ -163,7 +167,6 @@ files:
|
|
163
167
|
- assets/algolia-search.js
|
164
168
|
- assets/js/concept-search-worker.js
|
165
169
|
- assets/js/concept-search.js
|
166
|
-
- assets/js/ga.js
|
167
170
|
- assets/js/nav.js
|
168
171
|
- assets/js/resource-browser.js
|
169
172
|
- assets/logo-ribose.svg
|
data/_includes/_title.html
DELETED
data/assets/js/ga.js
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
(function () {
|
2
|
-
|
3
|
-
var gaid = document.documentElement.getAttribute('data-gaid');
|
4
|
-
|
5
|
-
if (gaid) {
|
6
|
-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
7
|
-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
8
|
-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
9
|
-
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
10
|
-
|
11
|
-
ga('create', gaid, 'auto');
|
12
|
-
ga('send', 'pageview');
|
13
|
-
}
|
14
|
-
|
15
|
-
}());
|