garth-jekyll-theme 0.2.4 → 0.2.5

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: 6608f7ecf92c3b6d9b195c34be37b11f5578d029
4
- data.tar.gz: 085eeafe3d76a1c0dea31e4dc26671406ba67caf
3
+ metadata.gz: 5bb41758b98092b2ef9968d73247f7fb1b790547
4
+ data.tar.gz: a4b75dc78a2b87eacf0acd383a353f989150f4f4
5
5
  SHA512:
6
- metadata.gz: ba2df0cea4e5fc68074c0473f4d7ee969c93e06388ef372f608246e0c1f62db3ad574cae678028a5180c0657888dd3b441c00d38ca1f7c85a002c108d4b07877
7
- data.tar.gz: de7e0e0a744a15048a4a4462abd9bbb09a124190af7cb967258fe226fde563e58449fc3b583dbb2afcee5c59fd48eb602605ba04a2dfda6fa993ed4d860c080a
6
+ metadata.gz: 1f6506502ecdc7bf5f7be977fd039177694c0675acc9097a6818d0751d593a74d61f828eb961baca623da65019f200b030969c7295f68a1767e4add1db215324
7
+ data.tar.gz: d00011f77da83ec82190456b62d89693bc10708a39f0a4f91881ca1039269c2e43ef29b780a31217512bc7a945989ea132eb70642da15cbd10a0e2a35fe4a389
@@ -2,7 +2,7 @@
2
2
 
3
3
  <div class="container">
4
4
 
5
- <small class="small">&copy; {{ site.time | date: '%Y' }}&nbsp;–&nbsp;{{ site.title }}</small>
5
+ <small class="small">&copy; {{ site.time | date: '%Y' }}&nbsp;–&nbsp;{% if site.title %}{{ site.title }}{% else %}Garth by <a href="https://darn.es/" title="David Darnes">David Darnes</a></small>
6
6
 
7
7
  </div>
8
8
 
@@ -11,21 +11,13 @@
11
11
  <button class="button">Menu</button>
12
12
 
13
13
  <nav class="nav nav--main">
14
- {% if data.nav %}
15
-
16
- {% for item in data.nav %}
17
- <a class="item" href="{{ item.url }}" title="{{ item.name }}">{{ item.name }}</a>
18
- {% endfor %}
19
-
20
- {% else %}
21
14
 
22
15
  {% for page in site.pages %}
23
16
  {% if page.title %}
24
- <a class="item" href="{{ page.url }}" title="{{ page.title }}">{{ page.title }}</a>
17
+ <a class="item" href="{{ page.url | prepend: site.baseurl }}" title="{{ page.title }}">{{ page.title | escape }}</a>
25
18
  {% endif %}
26
19
  {% endfor %}
27
20
 
28
- {% endif %}
29
21
  </nav>
30
22
 
31
23
  </div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: garth-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Darnes