jekyll-darkred-theme 0.1.2 → 0.1.3
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/README.md +2 -0
- data/_includes/nav.html +6 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9801152c83718b66561989dbd7a317d8fc9a091c7bb777cfe03e94b3081e0aa5
|
4
|
+
data.tar.gz: 34b023d54adc8ae0f78f63f635eb28e29a962b60aa3c1dbede069155f5c1f748
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '099023c83619fed6c2151c93b6abea43638b68dcf85d4d23699959a18efb9964e04efa904fe692392e4fd128750c009d3e571133d06bcd5d59282483ea627f6b'
|
7
|
+
data.tar.gz: 7007cecca66162797f661445c8e42ae8720971cae7cadd64d1e894bb8ab4f9be8b610aa2052433fc04587a336d1aebe8e19832603094fe46eab0257658cc0b8f
|
data/README.md
CHANGED
@@ -10,6 +10,8 @@
|
|
10
10
|
# jekyll-darkred-theme
|
11
11
|
A dark-red theme for Jekyll.
|
12
12
|
|
13
|
+
[Demo](https://kkent030315.github.io/jekyll-darkred-theme) is available at Github-Pages.
|
14
|
+
|
13
15
|
# Configurations
|
14
16
|
|
15
17
|
The theme is designed to use on blogs, thus you are free to use thumbnails for each posts.
|
data/_includes/nav.html
CHANGED
@@ -4,10 +4,12 @@
|
|
4
4
|
{%- if page_paths -%}
|
5
5
|
<nav class="navigation">
|
6
6
|
{%- for path in page_paths -%}
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
{%- assign x = site.pages | where: "path", path | first -%}
|
8
|
+
{%- if x.title -%}
|
9
|
+
{%- if x.title != "404" -%}
|
10
|
+
<a class="nav-item" href="{{ x.url | relative_url }}">{{ x.title }}</a>
|
11
|
+
{%- endif -%}
|
12
|
+
{%- endif -%}
|
11
13
|
{%- endfor -%}
|
12
14
|
</nav>
|
13
15
|
{%- endif -%}
|