jekyll-theme-isotc211 0.4.4 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_config.yml +3 -0
- data/_includes/head.html +2 -2
- data/_layouts/default.html +6 -1
- data/_sass/legacy-crossbrowser.scss +1 -17
- data/assets/ga.js +15 -0
- metadata +3 -3
- data/_includes/google-analytics.html +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9da2ec8a2773a502606f2c4bdbff2964017c43a
|
4
|
+
data.tar.gz: db83314a7b4f8284dd4373a1e73e38c6a1f06eee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23eb23c31e4c227be85052e2841578b6eb10aea53a599fc2165d12ca489d0fb0016a501a884b1f8c3165f08cf62d7c98a7afd61be08fed478c7eb40067d37f62
|
7
|
+
data.tar.gz: f232894f58dc363e7fba17b5dce36a93616e4cd548117a63a009aafbefb2a5893345cb21145b7d6130ee828828b91856fb8764cae08fc8d75eeaa8c6fb2a9cb9
|
data/_config.yml
CHANGED
data/_includes/head.html
CHANGED
@@ -28,8 +28,8 @@
|
|
28
28
|
|
29
29
|
<link rel="canonical" href="{{ page.url | replace:'index.html','' | relative_url }}" />
|
30
30
|
|
31
|
-
{% if
|
32
|
-
{
|
31
|
+
{% if site.google_analytics %}
|
32
|
+
<script src="{{ "/assets/ga.js" | relative_url }}"></script>
|
33
33
|
{% endif %}
|
34
34
|
|
35
35
|
</head>
|
data/_layouts/default.html
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
|
3
|
-
<html
|
3
|
+
<html
|
4
|
+
{% if site.google_analytics %}
|
5
|
+
data-gaid="{{ site.google_analytics.id }}"
|
6
|
+
{% endif %}
|
7
|
+
lang="{{ page.lang | default: site.lang | default: "en" }}">
|
8
|
+
|
4
9
|
{% include head.html %}
|
5
10
|
|
6
11
|
<body class="{{ page.bodyClass | default: layout.bodyClass }}">
|
@@ -1,12 +1,3 @@
|
|
1
|
-
// Flexbox corrections for IE 11
|
2
|
-
@media all and (-ms-high-contrast:none){
|
3
|
-
body.home section.resource-row > .resource{
|
4
|
-
display: inline-block;
|
5
|
-
}
|
6
|
-
}
|
7
|
-
|
8
|
-
|
9
|
-
|
10
1
|
// Layout workaround without using Flexbox for IE 10 and below
|
11
2
|
|
12
3
|
@media screen and (min-width:0\0) {
|
@@ -31,12 +22,6 @@
|
|
31
22
|
display: block;
|
32
23
|
}
|
33
24
|
|
34
|
-
body.home section.resource-row>.resource {
|
35
|
-
width: 31%;
|
36
|
-
display: block;
|
37
|
-
float: left;
|
38
|
-
}
|
39
|
-
|
40
25
|
body.home>main>.news .items {
|
41
26
|
padding: 0;
|
42
27
|
margin: 0;
|
@@ -59,8 +44,7 @@
|
|
59
44
|
min-height: 208px;
|
60
45
|
}
|
61
46
|
|
62
|
-
body.home>main>.news
|
63
|
-
body.home section.resource-row {
|
47
|
+
body.home>main>.news {
|
64
48
|
clear: both;
|
65
49
|
display: block;
|
66
50
|
}
|
data/assets/ga.js
ADDED
@@ -0,0 +1,15 @@
|
|
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
|
+
}());
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-isotc211
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -133,7 +133,6 @@ files:
|
|
133
133
|
- README.md
|
134
134
|
- _config.yml
|
135
135
|
- _includes/copyright.html
|
136
|
-
- _includes/google-analytics.html
|
137
136
|
- _includes/head.html
|
138
137
|
- _includes/newsroll-entry.html
|
139
138
|
- _includes/script.html
|
@@ -154,6 +153,7 @@ files:
|
|
154
153
|
- _sass/offsets.scss
|
155
154
|
- _sass/post.scss
|
156
155
|
- _sass/posts.scss
|
156
|
+
- assets/ga.js
|
157
157
|
- assets/logo-iso-noninverted.svg
|
158
158
|
- assets/logo-iso.svg
|
159
159
|
- assets/logo-ribose.svg
|
@@ -1,11 +0,0 @@
|
|
1
|
-
<script>
|
2
|
-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
3
|
-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
4
|
-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
5
|
-
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
6
|
-
|
7
|
-
ga('create', '{{ site.google_analytics }}', 'auto');
|
8
|
-
ga('send', 'pageview');
|
9
|
-
|
10
|
-
</script>
|
11
|
-
|