jekyll-theme-isotc211 0.4.6 → 0.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e9da2ec8a2773a502606f2c4bdbff2964017c43a
4
- data.tar.gz: db83314a7b4f8284dd4373a1e73e38c6a1f06eee
3
+ metadata.gz: 571160e8d19b92333f991f0abf2076126eaec553
4
+ data.tar.gz: 76534a9f167ea8bd05a86957efdcfb3beaae379c
5
5
  SHA512:
6
- metadata.gz: 23eb23c31e4c227be85052e2841578b6eb10aea53a599fc2165d12ca489d0fb0016a501a884b1f8c3165f08cf62d7c98a7afd61be08fed478c7eb40067d37f62
7
- data.tar.gz: f232894f58dc363e7fba17b5dce36a93616e4cd548117a63a009aafbefb2a5893345cb21145b7d6130ee828828b91856fb8764cae08fc8d75eeaa8c6fb2a9cb9
6
+ metadata.gz: f3bd6aeac34b36ce4fb73d016f2997fba625e975250247c18d0ff4ef5fa0fb17be5ca93e0967e948c7a5a39375c5a71b8dfb773e66475fdbb841ab95f19bf797
7
+ data.tar.gz: 239747a2998299aa1e1a1e3d55847814b93788efa6746da47f10acb76b0ad1a65aaf6db3687a269591a3d8abe99f5a577cfbf325d70a7562c06225ac74d1201f
data/README.md CHANGED
@@ -4,6 +4,76 @@ This is a theme used across ISO/TC211 sites powered by Ribose,
4
4
  including www.isotc211.org and resource sites such as geolexica.com.
5
5
 
6
6
 
7
+ ## Configuring site
8
+
9
+ Recommended plugins to add to your Gemfile:
10
+
11
+ ```
12
+ group :jekyll_plugins do
13
+ gem "jekyll-data"
14
+ gem "jekyll-asciidoc"
15
+ gem "jekyll-external-links"
16
+ end
17
+ ```
18
+
19
+ Configuration keys:
20
+
21
+ ```
22
+ title: <site title to be used in meta and in body>
23
+ title_html: <if specified, is used in body instead of title>
24
+
25
+ google_analytics:
26
+ id: UA-XXXXXX-X
27
+
28
+ committee:
29
+ id: <numerical committee ID>
30
+ name: <full committee name>
31
+ home: <committee homepage, probably on iso.org>
32
+ links:
33
+ - url: /about
34
+ title: About
35
+ - url: /strategic-policy
36
+ title: Strategic Policy Statement
37
+ - url: /faq
38
+ title: FAQ
39
+
40
+ always_show_committee_link_on_landing: yes
41
+
42
+ awards:
43
+ - title: 2010 Lawrence D. Eicher Leadership Award
44
+ path: /award/2010/09/16/tc211-wins-iso-excellence-award.html
45
+
46
+ social:
47
+ links:
48
+ - url: https://twitter.com/<account>
49
+ - url: https://github.com/<org>
50
+ - url: https://www.facebook.com/groups/<group ID>/
51
+ - url: https://www.linkedin.com/groups/<group ID>
52
+
53
+ # Committee site maintainer
54
+ powered_by:
55
+ title: <organization name>
56
+ url: <organization site>
57
+ logo_path: /assets/<logo-filename.svg>
58
+
59
+ # Primary navigation
60
+ nav:
61
+ items:
62
+ - id: home
63
+ url: /
64
+ title: Home
65
+ description: Standard resource links & latest news
66
+ - id: news
67
+ url: /posts
68
+ title: News & Articles
69
+
70
+ # Footer navigation (example)
71
+ footer_nav:
72
+ - url: <committee site URL>
73
+ title: ISO/TC XXX
74
+ ```
75
+
76
+
7
77
  ## Contributing
8
78
 
9
79
  Bug reports and pull requests are welcome on GitHub
@@ -28,7 +28,7 @@
28
28
 
29
29
  <link rel="canonical" href="{{ page.url | replace:'index.html','' | relative_url }}" />
30
30
 
31
- {% if site.google_analytics %}
31
+ {% if jekyll.environment == 'production' and site.google_analytics %}
32
32
  <script src="{{ "/assets/ga.js" | relative_url }}"></script>
33
33
  {% endif %}
34
34
 
@@ -189,4 +189,9 @@
189
189
  }
190
190
  }
191
191
  }
192
+ @media all and (-ms-high-contrast: none) {
193
+ body > main .admonitionblock {
194
+ overflow-x: auto;
195
+ }
196
+ }
192
197
  }
@@ -4,8 +4,20 @@ a {
4
4
  }
5
5
 
6
6
  body > main a {
7
- text-decoration: underline;
8
7
  color: $linkColor;
8
+ border-bottom: 1px solid $linkColor;
9
+
10
+ &[rel=external] {
11
+ border-bottom-style: dotted;
12
+ &:link, &:hover, &:focus, &:active {
13
+ .ico-ext {
14
+ font-size: 50%;
15
+ vertical-align: text-top;
16
+ position: relative;
17
+ left: .15em;
18
+ }
19
+ }
20
+ }
9
21
  }
10
22
 
11
23
  // Main layout
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.6
4
+ version: 0.4.7
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-21 00:00:00.000000000 Z
11
+ date: 2019-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll