realjame 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/_includes/header.html +29 -28
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 229d720ea1b07dda11b47b5e6ee1fef7740b3c24c6d00f1dee11a7d5ea71f1f1
4
- data.tar.gz: 1ec716273653431deae20db576bfd0b08e8cc46568f0b2c630665c22297ae1fb
3
+ metadata.gz: 7d19eea9f13b5f3ab7f62fa87477a8f6b7cc93669b84aff668594b8be4952a19
4
+ data.tar.gz: 402328a8e720ed3aa3d5669078b21a5e17ace6adad4a14695a9f7dc362df044d
5
5
  SHA512:
6
- metadata.gz: 30081e17c8c933f13a9d6ac48a72d85af4224df5af83f04742ce6082ca4f16b9cbd6e5f7ffeb808685d269120db88f6f140aecdafd963f22f3760c1bee889333
7
- data.tar.gz: 83136e7fb069f6abbc35de19f3840c47b8dd42eb91625d9bf0c655c1d0e4b749768fcaf469024a5ae8a78a8efc3d326c6bfa22000debf40a8cc93bb9a303f482
6
+ metadata.gz: 71c649ac0e5720a25e919cd21337a831ebaeb0ee738b723f6e386ac977949f2ff0d804c94daea4d51714fe2aef18463cfd1f14a35f3f1b2332444318a8f70214
7
+ data.tar.gz: c02492ee6b4e9732001322224f6fc60ff25b900c3ff9009ffdbb94cb77a184a8d21cc77287494b33c12a7c89a18269d8bcdf8e521ba62fcb83cd526d747599ba
@@ -1,32 +1,33 @@
1
1
  <header class="site-header" role="banner">
2
+ {%- assign default_paths = site.pages | map: "path" -%} {%- assign page_paths
3
+ = site.header_pages | default: default_paths -%}
4
+ <!-- <a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a> -->
5
+ <h1 class="site-title">{{ site.title | escape }}</h1>
2
6
 
3
- {%- assign default_paths = site.pages | map: "path" -%}
4
- {%- assign page_paths = site.header_pages | default: default_paths -%}
5
- <!-- <a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a> -->
6
- <h1 class="site-title">{{ site.title | escape }}</h1>
7
+ {%- if page_paths -%}
8
+ <nav class="site-nav">
9
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
10
+ <label for="nav-trigger">
11
+ <span class="menu-icon">
12
+ <svg viewBox="0 0 18 15" width="18px" height="15px">
13
+ <path
14
+ d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"
15
+ />
16
+ </svg>
17
+ </span>
18
+ </label>
7
19
 
8
- {%- if page_paths -%}
9
- <nav class="site-nav">
10
- <input type="checkbox" id="nav-trigger" class="nav-trigger" />
11
- <label for="nav-trigger">
12
- <span class="menu-icon">
13
- <svg viewBox="0 0 18 15" width="18px" height="15px">
14
- <path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
15
- </svg>
16
- </span>
17
- </label>
18
-
19
- <!-- <div class="trigger"> -->
20
- {%- for path in page_paths -%}
21
- {%- assign my_page = site.pages | where: "path", path | first -%}
22
- {%- if my_page.title -%}
23
- <a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
24
- {%- endif -%}
25
- {%- endfor -%}
26
- <a class="page-link" href="https://realja.me">Home</a>
27
- <a class="page-link" href="https://realja.me/blog">Blog</a>
28
- <a class="page-link" href="https://realja.me/contact.html">About</a>
29
- <!-- </div> -->
30
- </nav>
31
- {%- endif -%}
20
+ <!-- <div class="trigger"> -->
21
+ {%- for path in page_paths -%} {%- assign my_page = site.pages | where:
22
+ "path", path | first -%} {%- if my_page.title -%}
23
+ <a class="page-link" href="{{ my_page.url | relative_url }}"
24
+ >{{ my_page.title | escape }}</a
25
+ >
26
+ {%- endif -%} {%- endfor -%}
27
+ <a class="page-link" href="https://realja.me">Home</a>
28
+ <a class="page-link" href="https://realja.me/blog/">Blog</a>
29
+ <a class="page-link" href="https://realja.me/contact.html">About</a>
30
+ <!-- </div> -->
31
+ </nav>
32
+ {%- endif -%}
32
33
  </header>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: realjame
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
  - James
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-26 00:00:00.000000000 Z
11
+ date: 2022-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll