voppe-jekyll-theme 0.2.0 → 0.2.1
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/LICENSE.txt +1 -1
- data/README.md +34 -24
- data/_includes/post.html +6 -0
- data/_layouts/default.html +1 -5
- data/_layouts/jumbotron.html +6 -0
- data/_layouts/list.html +12 -10
- data/_layouts/post.html +3 -4
- data/_sass/app.scss +7 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 551e05157e160c237fbdcdad65bd50d03b0e76cd
|
4
|
+
data.tar.gz: 28cbeb10554ab022eb434b19fde724f93b2e5061
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 541cbbc29bafc58c0180346c08a5582d0973f620b55c477edc8b5d844a8acbf4287a2d394c1c775f799ffccfcda8d15b147c33321ade0c5aadf186c74be48f2d
|
7
|
+
data.tar.gz: 4e4c98ad9d5853847d5996198a03725575844e9bc799ae459b5fda319d998e8d5f4a97e98a8d1bcded0f21ea15c60def94081fd23f9934ae5f53d08cb64fd279
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,48 +1,58 @@
|
|
1
|
-
|
1
|
+
voppe-jekyll-theme
|
2
|
+
===
|
2
3
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
6
|
-
|
7
|
-
## Installation
|
4
|
+
## Setup
|
8
5
|
|
9
6
|
Add this line to your Jekyll site's Gemfile:
|
10
7
|
|
11
8
|
```ruby
|
12
|
-
gem "voppe"
|
9
|
+
gem "voppe-jekyll-theme"
|
13
10
|
```
|
14
11
|
|
15
12
|
And add this line to your Jekyll site's `_config.yml`:
|
16
13
|
|
17
14
|
```yaml
|
18
|
-
theme: voppe
|
15
|
+
theme: voppe-jekyll-theme
|
19
16
|
```
|
20
17
|
|
21
|
-
|
22
|
-
|
23
|
-
$ bundle
|
24
|
-
|
25
|
-
Or install it yourself as:
|
26
|
-
|
27
|
-
$ gem install voppe
|
18
|
+
Execute installation:
|
19
|
+
```
|
20
|
+
$ bundle install
|
21
|
+
```
|
28
22
|
|
29
23
|
## Usage
|
30
24
|
|
31
|
-
|
25
|
+
### Menu
|
26
|
+
|
27
|
+
Create a file `menu.yml` in your `_data` folder. The file's structure is the following
|
32
28
|
|
33
|
-
|
29
|
+
``` yaml
|
30
|
+
items:
|
31
|
+
*menuitems*
|
32
|
+
footer:
|
33
|
+
*menuitems*
|
34
|
+
```
|
34
35
|
|
35
|
-
|
36
|
+
Where `menuitems` is an array of items with the following structure
|
36
37
|
|
37
|
-
|
38
|
+
```yaml
|
39
|
+
*section*:
|
40
|
+
# If not specified defaults to '/*section*/'
|
41
|
+
link: string
|
42
|
+
|
43
|
+
# Defaults to medium
|
44
|
+
size: medium|large
|
38
45
|
|
39
|
-
|
46
|
+
# The text to show on item hover
|
47
|
+
label: string
|
40
48
|
|
41
|
-
|
49
|
+
# A fontawesome icon name (e.g. 'envelope')
|
50
|
+
icon: string
|
42
51
|
|
43
|
-
|
52
|
+
# A background image link
|
53
|
+
background: string
|
54
|
+
```
|
44
55
|
|
45
56
|
## License
|
46
57
|
|
47
|
-
The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
48
|
-
|
58
|
+
The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/_includes/post.html
ADDED
data/_layouts/default.html
CHANGED
data/_layouts/list.html
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
<
|
5
|
-
|
6
|
-
|
7
|
-
<
|
8
|
-
<
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
4
|
+
<main>
|
5
|
+
<nav class="list">
|
6
|
+
{% for post in site[page.collection] %}
|
7
|
+
<a href="{{ post.url }}">
|
8
|
+
<section class="card">
|
9
|
+
<h1>{{ post.title }}</h1>
|
10
|
+
{{ post.excerpt }}
|
11
|
+
</section>
|
12
|
+
</a>
|
13
|
+
{% endfor %}
|
14
|
+
</nav>
|
15
|
+
</main>
|
data/_layouts/post.html
CHANGED
data/_sass/app.scss
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: voppe-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- voppe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -64,7 +64,9 @@ files:
|
|
64
64
|
- _includes/menu.html
|
65
65
|
- _includes/menuitem.html
|
66
66
|
- _includes/menusection.html
|
67
|
+
- _includes/post.html
|
67
68
|
- _layouts/default.html
|
69
|
+
- _layouts/jumbotron.html
|
68
70
|
- _layouts/list.html
|
69
71
|
- _layouts/post.html
|
70
72
|
- _sass/_base.scss
|