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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c7b68aacf2f90a6ca6a597738fa01c29779fbf4
4
- data.tar.gz: dd732d7d6631574660dc4cf20d358f499c23ce3d
3
+ metadata.gz: 00042e3001795e1c250d40617995b594ee03ed30
4
+ data.tar.gz: 57008565783cc9815978111a10eaa8ac42dc2306
5
5
  SHA512:
6
- metadata.gz: 93f722c5041bf9875db92bdb17b633e0b35c932640b492dd9ac0f09a33a62b5e34585942472c82c83070293ac7faf019de2192a59e7b9ba1347709b052c93056
7
- data.tar.gz: e8d97ca00f0f6453fc8c09d57dfd54abc3bd8859d3c3a2da18f33b3071b7de355875eb032ec0e85497d5d8cfbee35c73001f315bb898ea34f796c86dd5c569bd
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>
@@ -6,6 +6,10 @@
6
6
  <body>
7
7
  <a class="show-on-focus" href="#main">Skip to content</a>
8
8
 
9
+ {% if site.has_header %}
10
+ {% include header.html %}
11
+ {% endif %}
12
+
9
13
  <div id="main" role="main">
10
14
  {{ content }}
11
15
  </div>
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.1.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