realjame 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/header.html +29 -28
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d19eea9f13b5f3ab7f62fa87477a8f6b7cc93669b84aff668594b8be4952a19
|
4
|
+
data.tar.gz: 402328a8e720ed3aa3d5669078b21a5e17ace6adad4a14695a9f7dc362df044d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71c649ac0e5720a25e919cd21337a831ebaeb0ee738b723f6e386ac977949f2ff0d804c94daea4d51714fe2aef18463cfd1f14a35f3f1b2332444318a8f70214
|
7
|
+
data.tar.gz: c02492ee6b4e9732001322224f6fc60ff25b900c3ff9009ffdbb94cb77a184a8d21cc77287494b33c12a7c89a18269d8bcdf8e521ba62fcb83cd526d747599ba
|
data/_includes/header.html
CHANGED
@@ -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
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
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
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
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
|
+
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-
|
11
|
+
date: 2022-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|