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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -0
  3. data/_includes/nav.html +6 -4
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac2f1bf7a0bad4d21730360e91bb9c6ea03d9b07cb04ac75804ea1babdd91abb
4
- data.tar.gz: 310239c052c8b2f697085fca54ffeb9e7a1a4ca35c5514abe6b5089d1163d0fa
3
+ metadata.gz: 9801152c83718b66561989dbd7a317d8fc9a091c7bb777cfe03e94b3081e0aa5
4
+ data.tar.gz: 34b023d54adc8ae0f78f63f635eb28e29a962b60aa3c1dbede069155f5c1f748
5
5
  SHA512:
6
- metadata.gz: 20c74d490cd8d5434d28ccfa4f02007e42daf80597e464bb75d6045fba70c329560fef011a0fb09a4dbf8de0f9e41274882bcc14e6e318140bac79f7f55a7f41
7
- data.tar.gz: 9bc5ce5e88248696280347af391c2e393f669e7415941f972b762d86d7e1ea9b252a1e252f4aba8691070fba6ba87e13a8d919d73b1f49578dafd0d6fe3cc457
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.
@@ -4,10 +4,12 @@
4
4
  {%- if page_paths -%}
5
5
  <nav class="navigation">
6
6
  {%- for path in page_paths -%}
7
- {%- assign x = site.pages | where: "path", path | first -%}
8
- {%- if x.title -%}
9
- <a class="nav-item" href="{{ x.url | relative_url }}">{{ x.title }}</a>
10
- {%- endif -%}
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 -%}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-darkred-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kento Oki