jekyll-theme-black-stone 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/default.html +13 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 41260e98bdf14c01184b59b78c33f842a3a24d50
4
- data.tar.gz: d4de6e246cc166c961fd4a680ae38baac161573c
3
+ metadata.gz: 3eb479de46b6d2bc17f07f844c9919f2dd72e5d9
4
+ data.tar.gz: f0d332f019e8585abf7161c34eae640e737d009b
5
5
  SHA512:
6
- metadata.gz: 3e3cd0f486ef4d0ba3b8ae15d9396f172d610640ca7681afe1bd393d0c062fa9ef0bb9f0b34f6b096a7917152983c6293e9d4c0a2eacdc0b7e1b95705d77d183
7
- data.tar.gz: 03a3e0dab0db7c6726f5bf7f9728796cfe91f126c8e91d980e71fa60ec072d73268b47dc74d8e9bf2f0122c52e2b5fdea21ab5d905c4da8a61f8a5e549e80235
6
+ metadata.gz: 8daa121a7d0b495340d7e0389483d72fdc8252db4aed803d0cbe809ad93b21f319f99a3552c578dfa45adbbbde8097b6a152438e0a7f2373df68e6c8d64d6ab1
7
+ data.tar.gz: a698caffce91d24ff20a23c3724f8a1e08226c428a479136266c21c61be63882242ba4dec62452b5619804c1abcd4cb1b26a71bffe7fc058d97ae346364c31e4
@@ -4,6 +4,19 @@
4
4
  <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
5
5
  </head>
6
6
  <body>
7
+ <header class="header">
8
+ <div class="logo"><a href="{{ "/" | relative_url }}">{{ site.title }}</a></div>
9
+ <nav class="nav">
10
+ <ul>
11
+ {%- for path in page_paths -%}
12
+ {%- assign my_page = site.pages | where: "path", path | first -%}
13
+ {%- if my_page.title -%}
14
+ <li><a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>
15
+ {%- endif -%}
16
+ {%- endfor -%}
17
+ </ul>
18
+ </nav>
19
+ </header>
7
20
  {{ content }}
8
21
  </body>
9
22
  </html>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-black-stone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - quacksecho