jekyll-theme-foundation 0.1.0 → 0.2.0
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/_includes/header.html +31 -0
- data/_layouts/default.html +4 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00042e3001795e1c250d40617995b594ee03ed30
|
4
|
+
data.tar.gz: 57008565783cc9815978111a10eaa8ac42dc2306
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4770b5e6c8322c2be262fc0908d65e5313599fbf9a6b52a11c7245f25b71890632c847a67c9dd5f7898d66ea2c8adef767e9bba89fd7e9e8ba24de06c022259
|
7
|
+
data.tar.gz: 322d4d48b13f1c18c650e2c419db18812ba95ee64fdd5abd616b6f2a2435a9c7bf00910cf9ffd14bc8a17b5f7cb3ff20172b4f78bfaee117e0e4f0d45be438e2
|
@@ -0,0 +1,31 @@
|
|
1
|
+
{% assign page_paths = site.header_pages %}
|
2
|
+
|
3
|
+
<header role="banner">
|
4
|
+
<div class="title-bar" data-responsive-toggle="responsive-menu" data-hide-for="medium">
|
5
|
+
<button class="menu-icon" type="button" data-toggle="responsive-menu"></button>
|
6
|
+
<div class="title-bar-title">Menu</div>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
|
10
|
+
<div class="top-bar" id="responsive-menu">
|
11
|
+
<div class="top-bar-left">
|
12
|
+
<ul class="menu">
|
13
|
+
<li class="menu-text"><a href="/">{{ site.title | escape }}</a></li>
|
14
|
+
</ul>
|
15
|
+
</div>
|
16
|
+
{% if page_paths %}
|
17
|
+
<div class="top-bar-right">
|
18
|
+
<ul class="menu">
|
19
|
+
{% for path in page_paths %}
|
20
|
+
{% assign my_page = site.pages | where: "path", path | first %}
|
21
|
+
{% if my_page.title %}
|
22
|
+
<a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
23
|
+
{% endif %}
|
24
|
+
{% endfor %}
|
25
|
+
</ul>
|
26
|
+
</div>
|
27
|
+
{% endif %}
|
28
|
+
</div>
|
29
|
+
|
30
|
+
|
31
|
+
</header>
|
data/_layouts/default.html
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-foundation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- whosdustin
|
@@ -77,6 +77,7 @@ files:
|
|
77
77
|
- README.md
|
78
78
|
- _includes/google-analytics.html
|
79
79
|
- _includes/head.html
|
80
|
+
- _includes/header.html
|
80
81
|
- _includes/scripts.html
|
81
82
|
- _layouts/default.html
|
82
83
|
- _layouts/home.html
|