jekyll-theme-isotc211 1.0.0 → 1.0.1

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
  SHA256:
3
- metadata.gz: 482d1d5747fe0dadc1c23bba86430df036e18fe766f4c7342a547197a072b771
4
- data.tar.gz: 59e2cd6ae9a73341a09fca839debb43ed37072ba8f8f64b4dcc083e5204b483d
3
+ metadata.gz: 49993944956ef969b70047c5400e33a49ff12eb84e55f3273d79118f7bd80404
4
+ data.tar.gz: 5212a5aac745436ecb5a9587e42f8a2fe54264d44dff5b7c865ed1422657e2b9
5
5
  SHA512:
6
- metadata.gz: 7b651ba082ef22a067a3aef87f62a3b4cf87a901174629460f0601bdf9f0335f710709a006d1e2c40ce789eb969776d5bf9760f385d1f7d354df8bad91908f17
7
- data.tar.gz: 0a7663f06a5cda88124909a96efdd466d8c231fbfe5a1ad832f13407f4ec135c336482d14d6fc6832af85272cd4f9ca17934247c5dd74d28d7f09d43ce445d2a
6
+ metadata.gz: 8490afa1aff0e8178167b66f51e3a5e102d8486cc064d230b8e18c5976f9a60f6dc0bd78d12c2c4c9bc4df11b1bfb18b4d407585219d5656ac8f1c3764ccea7c
7
+ data.tar.gz: fd8c30fee73a9c431cc96e9fb38e92a66b22285dbcd76a4602bfa533fa8fb97064e77a60a2eb24f9c8362a2bb77fe4d60fdd644a43ced2127a3fad16714a90e8
@@ -65,4 +65,8 @@
65
65
  .icon { width: 1rem; height: 1rem; }
66
66
  .icon--menu { width: 1.25rem; height: 1.25rem; }
67
67
  .icon--sun, .icon--moon { width: 1.125rem; height: 1.125rem; }
68
+ .icon--sun { display: none; }
69
+ .icon--moon { display: block; }
70
+ html.dark .icon--sun { display: block; }
71
+ html.dark .icon--moon { display: none; }
68
72
  }
@@ -26,7 +26,11 @@
26
26
  <ul class="site-footer__links">
27
27
  {% if site.nav %}
28
28
  {% for item in site.nav %}
29
+ {% if item.url contains "://" %}
30
+ <li><a href="{{ item.url }}" class="site-footer__link" target="_blank" rel="noopener">{{ item.title }}</a></li>
31
+ {% else %}
29
32
  <li><a href="{{ item.url | relative_url }}" class="site-footer__link">{{ item.title }}</a></li>
33
+ {% endif %}
30
34
  {% endfor %}
31
35
  {% endif %}
32
36
  {% if site.committee.home %}
@@ -15,7 +15,14 @@
15
15
  {% if site.nav %}
16
16
  <nav class="site-header__nav">
17
17
  {% for item in site.nav %}
18
+ {% if item.url contains "://" %}
19
+ <a href="{{ item.url }}" class="site-header__link" target="_blank" rel="noopener">
20
+ {{ item.title }}
21
+ <svg width="14" height="14" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6M15 3h6m0 0v6m0-6L10 14"/></svg>
22
+ </a>
23
+ {% else %}
18
24
  <a href="{{ item.url | relative_url }}" class="site-header__link">{{ item.title }}</a>
25
+ {% endif %}
19
26
  {% endfor %}
20
27
  </nav>
21
28
  {% endif %}
@@ -1 +1 @@
1
- <svg class="icon icon--moon block dark:hidden" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"/></svg>
1
+ <svg class="icon icon--moon" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"/></svg>
@@ -1 +1 @@
1
- <svg class="icon icon--sun hidden dark:block" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"/></svg>
1
+ <svg class="icon icon--sun" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"/></svg>
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: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.