voppe-jekyll-theme 0.5.1 → 0.5.2

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -3
  3. data/_sass/components/list.scss +3 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 94adc6de06ffc014dd3f20f6966bf0b50a552b3f
4
- data.tar.gz: cef8de35a29490bf9d14c7c9469aafcb6a59b3f0
3
+ metadata.gz: 50d353235770521b403b4f37f23ee8f93caec7cd
4
+ data.tar.gz: 9fe78e240fd2ce53cb98ffa488c16bcff7e4bf46
5
5
  SHA512:
6
- metadata.gz: cb688951006f59a87bdbd924618a620241b25786c7ab42d58b8283d739cc78249925e906e5603ba8bdefe79cce0ca05320ce52411630ac1bde16f12a97368d75
7
- data.tar.gz: 222d90d2eba128fa4e117c46e1c4adea8f6d78c285138cecf90007ee4e823d6184dc76a397c3e94219a60ac88d80f235d1ee76a38eae65c7c7405da1d1b33c20
6
+ metadata.gz: 5c88fb5b1411e233dfb3752543848295f0bc7ba15d5fa7e193ea428a505ec7f92a1d7077ae682851e57d32736e8b46b7d97fbd41728875832070a4e7554ed94c
7
+ data.tar.gz: 0a1c707e24b51438d2b6310c257942d619fe601a87ac5e8fb07601365fcf55bfad2aee3fdab5738dbce42a67fe4bfab84a53749d9c4dc2ff901b0409b4359d9e
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  voppe-jekyll-theme
2
2
  ===
3
3
 
4
- # Setup
4
+ ## Setup
5
5
 
6
6
  Add this line to your Jekyll site's Gemfile:
7
7
 
@@ -20,9 +20,9 @@ Execute installation:
20
20
  $ bundle install
21
21
  ```
22
22
 
23
- # Usage
23
+ ## Usage
24
24
 
25
- ### Menu
25
+ #### Menu
26
26
 
27
27
  Create a file `menu.yml` in your `_data` folder. The file's structure is the following
28
28
  ``` yaml
@@ -58,6 +58,17 @@ collections:
58
58
  output: true
59
59
  ```
60
60
 
61
+ #### List
62
+ Create a file in the site root named `*section*.md` and place this at the top of the file (front matter):
63
+ ```
64
+ ---
65
+ layout: list
66
+ collection: *collection*
67
+ ---
68
+ ```
69
+
70
+ To display a post's thumbnail, add a `thumbnail: *url*` to the post's front matter.
71
+
61
72
  ## License
62
73
 
63
74
  The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -10,6 +10,7 @@ nav.list {
10
10
  h1 {
11
11
  width: 100%;
12
12
  font-size: 2.5em;
13
+ color: $color-secondary;
13
14
  }
14
15
 
15
16
  a {
@@ -49,11 +50,11 @@ nav.list {
49
50
  content: "";
50
51
  width: 0;
51
52
  height: 0;
52
- border-width: 2em;
53
+ border-width: $size-arrow;
53
54
  border-style: solid;
54
55
  border-color: #193441 transparent transparent transparent;
55
56
  position: absolute;
56
- bottom: -4em;
57
+ bottom: -($size-arrow*1.8); /* Indented just a tiny bit in the post to avoid 1px wide gaps */
57
58
  left: 0px;
58
59
  right: 0px;
59
60
  margin-left: auto;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voppe-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - voppe