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.
- checksums.yaml +4 -4
- data/README.md +14 -3
- data/_sass/components/list.scss +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50d353235770521b403b4f37f23ee8f93caec7cd
|
4
|
+
data.tar.gz: 9fe78e240fd2ce53cb98ffa488c16bcff7e4bf46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
-
|
23
|
+
## Usage
|
24
24
|
|
25
|
-
|
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).
|
data/_sass/components/list.scss
CHANGED
@@ -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:
|
53
|
+
border-width: $size-arrow;
|
53
54
|
border-style: solid;
|
54
55
|
border-color: #193441 transparent transparent transparent;
|
55
56
|
position: absolute;
|
56
|
-
bottom: -
|
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;
|