jekyll-theme-hydeout 3.1.0 → 3.1.1

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: a9f88c5964e43774f164f651b97248abd56a28cf
4
- data.tar.gz: 858ebd71a0570ef6ef6b087c844c544db320e569
3
+ metadata.gz: bca141382b8f365dd96fb11470cf1bd3010ddab7
4
+ data.tar.gz: 3c67ebf0c9eb35f3ff4a1d2a7ecf12c044a61e05
5
5
  SHA512:
6
- metadata.gz: 31e2540d39265eebab607e984f4624b94c320f6a8fa94e3620649cc4178c43abfce62e2c8287b15acc8f90e7020527848634410ea110c398b3f27604edebe3ac
7
- data.tar.gz: db149f719af24f63086e30164ea0b1e57a2e8355b81740411bd4c67543039f497e06299b0eaed112bca5883d52320e3f11dd7e1e456a68480b76923880fa640d
6
+ metadata.gz: 7d29ec7b1f3309d5e300bc05b35ee274a8cc3f4a69f95067e9b3141965f5c0ef10c89f2d1d5260f4bf3da28b53c7b04bdfd682710b238000711ea37a240bf422
7
+ data.tar.gz: 13101bf0f98d1d8180b63e52c892cf19f5f47334e8c3aa0a48005794ed127645ea65588ad4f4c97d85cbc070b0d38539469258cc8be898c83ae086d2f9fd0db8
data/README.md CHANGED
@@ -4,8 +4,8 @@ Hydeout updates the original [Hyde](https://github.com/poole/hyde)
4
4
  theme for [Jekyll](http://jekyllrb.com) 3.x and adds new functionality.
5
5
 
6
6
  ![Desktop](/_screenshots/1.png?raw=true)
7
- ![Mobile home page](/_screenshots/2.png?raw=true)
8
- ![Mobile post page](/_screenshots/3.png?raw=true)
7
+ <img alt="Mobile home page" src="/_screenshots/2.png?raw=true" width="300px" />
8
+ <img alt="Mobile post page" src="/_screenshots/3.png?raw=true" width="300px" />
9
9
 
10
10
  ### Usage
11
11
 
@@ -14,11 +14,11 @@ Add `gem "jekyll-theme-hydeout", "~> 3.1.0"` to your Gemfile and run
14
14
  `bundle install`.
15
15
 
16
16
  Hydeout uses pagination, so if you have an `index.md`, you'll need to swap
17
- it with an `index.html` that uses the `home` layout:
17
+ it with an `index.html` that uses the `index` layout:
18
18
 
19
19
  ```
20
20
  ---
21
- layout: home
21
+ layout: index
22
22
  title: Home
23
23
  ---
24
24
  ```
@@ -3,7 +3,7 @@
3
3
 
4
4
  {% include head.html %}
5
5
 
6
- <body class="{{ page.layout }}">
6
+ <body class="{{ page.layout }}{% if page.url == '/' %} home{% endif %}">
7
7
 
8
8
  {% include sidebar.html %}
9
9
 
File without changes
@@ -106,6 +106,11 @@ body {
106
106
  }
107
107
  }
108
108
 
109
+ // Index pages need more padding on bottom
110
+ .index #sidebar {
111
+ margin-bottom: $section-spacing;
112
+ }
113
+
109
114
 
110
115
  /* -----------------------------------------------------------
111
116
  Mobile view for home page)
@@ -162,6 +167,8 @@ body {
162
167
  }
163
168
  }
164
169
 
170
+ .index #sidebar { margin-bottom: 0; }
171
+
165
172
  // Make entire container background white to contrast against sidebar
166
173
  .container {
167
174
  background: $body-bg;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-hydeout
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Fong
@@ -115,7 +115,7 @@ files:
115
115
  - _includes/tags-list.html
116
116
  - _layouts/category.html
117
117
  - _layouts/default.html
118
- - _layouts/home.html
118
+ - _layouts/index.html
119
119
  - _layouts/page.html
120
120
  - _layouts/post.html
121
121
  - _sass/hydeout.scss