jekyll-theme-foundation 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a7c93ac71ba9f87a003e145377be6692b761e99e
4
- data.tar.gz: cd1cb8146b4f7469bf627c6945be4872a8bb1d14
3
+ metadata.gz: 5d8778a31f90f372683ae60ad2ac7a536b7c5942
4
+ data.tar.gz: e8cc7b40f8bae319678fdc8b1e01048fdc4c4810
5
5
  SHA512:
6
- metadata.gz: 0b430a4f1f3d95ba4e68a98c0696922f9c1d5a53d4cb0632c2903ace1c8ff05e13240670c9741af7a40ec2efbcfe25012db0396850d12cc0f98638745b7e5a81
7
- data.tar.gz: d77e8a18d11cbcd7b3f951ce36ec40f746c12279ad565c042935ad7cd46086898071b2b4b46fd5dcda2c3eed53ca5530621feb1bd10d57ff887b3554c1f1da55
6
+ metadata.gz: 9f379dd560faa870b4207a60a59cfa2e42f0a3a7affb5895841a792e90418d2f5d43f5512a1b615d20891e502450491111559fce02819b2267fc3a850198938e
7
+ data.tar.gz: 40f1cc5349a5bce2e49fd538d12b8edce631820d9602b760b472c43b46a4fe34f7dd59f34da7614fed9ad25e111fc3ad3e0322389bc239f01872493d8fa03537
data/_includes/head.html CHANGED
@@ -11,7 +11,12 @@
11
11
  {% include google-analytics.html %}
12
12
  {% endif %}
13
13
 
14
- <link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl | prepend: site.url }}">
14
+ {% if site.styles != nil %}
15
+ {% assign file_name = site.styles.file | default: 'main.css' %}
16
+ <link rel="stylesheet" href="{{ file_name | prepend: site.styles.dir | relative_url }}">
17
+ {% else %}
18
+ <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
19
+ {% endif %}
15
20
 
16
21
  <script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
17
22
  </head>
@@ -10,7 +10,15 @@
10
10
  <div class="top-bar" id="responsive-menu">
11
11
  <div class="top-bar-left">
12
12
  <ul class="menu">
13
- <li class="menu-text"><a href="/">{{ site.title | escape }}</a></li>
13
+ <li class="menu-text">
14
+ <a href="/">
15
+ {% unless site.logo == nil %}
16
+ <img src="{{ site.logo }}" alt="{{site.title | escape }}">
17
+ {% else %}
18
+ {{ site.title | escape }}
19
+ {% endunless %}
20
+ </a>
21
+ </li>
14
22
  </ul>
15
23
  </div>
16
24
  {% if page_paths %}
@@ -6,7 +6,7 @@
6
6
  <body>
7
7
  <a class="show-on-focus" href="#main">Skip to content</a>
8
8
 
9
- {% if site.has_header %}
9
+ {% if site.header_pages != nil or site.logo != nil %}
10
10
  {% include header.html %}
11
11
  {% endif %}
12
12
 
@@ -0,0 +1,4 @@
1
+ ---
2
+ ---
3
+
4
+ @import "jekyll-theme-foundation";
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-foundation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - whosdustin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-19 00:00:00.000000000 Z
11
+ date: 2017-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -205,6 +205,7 @@ files:
205
205
  - _sass/scss/xy-grid/_layout.scss
206
206
  - _sass/scss/xy-grid/_position.scss
207
207
  - _sass/scss/xy-grid/_xy-grid.scss
208
+ - assets/css/main.scss
208
209
  - assets/css/motion-ui.min.css
209
210
  - assets/js/foundation.min.js
210
211
  - assets/js/motion-ui.min.js