jekyll-theme-isotc211 0.4.2 → 0.4.3

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
  SHA1:
3
- metadata.gz: 936888d8a590670e1e912788af795e737c693ba4
4
- data.tar.gz: 8c6a4bd7045a46743e542f46de0edc496e882a3c
3
+ metadata.gz: 899cb3e4abe3b867302cb46b98d45f15481d0652
4
+ data.tar.gz: '04695f96d0cd749b29b85167ae26a9ebb65a7a6f'
5
5
  SHA512:
6
- metadata.gz: 4cdfd0832ea3dbc4a896313f72f8cc28689f7d3fb31bd831f12b6460cb6209eea84583fb69a74edb88e34fce8e0a03cf2807c73dda7f6d00500b228e3bc4c2b5
7
- data.tar.gz: be622f98deb6601f7e26f4ffcc5f27c6689c6a39d7b71e01425aedf8688449bee1c97e8e0bf4ada463b3738209fef272bcb764367a2f11eeaa7da48564709073
6
+ metadata.gz: 11fbdd2eaa885e0696551b019acaccccb9c2e856d98eba45cf5551d661dfcc0cfc41d6f8d8035d9b90201ffba40d7b0552108adf4f657a385381a6f2c65d7180
7
+ data.tar.gz: 579629c711296196e82705df6cc6c319d6ec3121977e7d719dd7711f12b4dbf63a4c2e9984bdb3c89717529643a7b98120e221adffddc2b13f7fc598d450e15b
data/_config.yml CHANGED
@@ -44,6 +44,10 @@ nav:
44
44
  url: /posts/
45
45
  title: News & Articles
46
46
 
47
+ always_show_committee_link_on_landing: no
48
+ # Switching this to “yes” will enable the Committee site link
49
+ # to appear on landing page even when expandable menu is collapsed.
50
+
47
51
  # Footer navigation
48
52
  footer_nav:
49
53
  - url: https://committee.iso.org/home/tc211
@@ -24,17 +24,23 @@
24
24
  <span class="widget-item committee-name">
25
25
  {{ site.committee.name }}
26
26
  </span>
27
+
28
+ {% if page.layout == "home" and site.always_show_committee_link_on_landing and site.committee.home %}
29
+ <a href="{{ site.committee.home }}" class="widget-item home">
30
+ <i class="fas fa-home"></i>
31
+ Committee site
32
+ </a>
33
+ {% endif %}
27
34
  </span>
28
35
 
29
36
  {% if site.committee.home or site.committee.links %}
30
37
  <span class="widget-group committee-menu">
31
- {% if site.committee.home %}
32
- <a href="{{ site.committee.home }}" class="widget-item home"
33
- title="Committee home page">
38
+ {% unless page.layout == "home" and site.always_show_committee_link_on_landing and site.committee.home %}
39
+ <a href="{{ site.committee.home }}" class="widget-item home">
34
40
  <i class="fas fa-home"></i>
41
+ Committee site
35
42
  </a>
36
- {% endif %}
37
-
43
+ {% endunless %}
38
44
  {% if site.committee.links %}
39
45
  {% for link in site.committee.links %}
40
46
  <a href="{{ link.url }}" class="widget-item">
data/_sass/main.scss CHANGED
@@ -261,6 +261,13 @@ body {
261
261
  }
262
262
  }
263
263
 
264
+ .widget-item.home {
265
+ white-space: nowrap;
266
+ .fa-home {
267
+ margin-right: .25em;
268
+ }
269
+ }
270
+
264
271
  .widget-item.parent-org-reference {
265
272
  display: inline;
266
273
  background: #e30b1f;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-isotc211
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.