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 +4 -4
- data/_includes/footer.html +1 -1
- data/_includes/header.html +1 -9
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bb41758b98092b2ef9968d73247f7fb1b790547
|
4
|
+
data.tar.gz: a4b75dc78a2b87eacf0acd383a353f989150f4f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f6506502ecdc7bf5f7be977fd039177694c0675acc9097a6818d0751d593a74d61f828eb961baca623da65019f200b030969c7295f68a1767e4add1db215324
|
7
|
+
data.tar.gz: d00011f77da83ec82190456b62d89693bc10708a39f0a4f91881ca1039269c2e43ef29b780a31217512bc7a945989ea132eb70642da15cbd10a0e2a35fe4a389
|
data/_includes/footer.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
<div class="container">
|
4
4
|
|
5
|
-
<small class="small">© {{ site.time | date: '%Y' }} – {{ site.title }}</small>
|
5
|
+
<small class="small">© {{ site.time | date: '%Y' }} – {% 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
|
|
data/_includes/header.html
CHANGED
@@ -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>
|