jekyll-theme-lanyon 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE.md +2 -2
- data/README.md +53 -11
- data/_includes/head.html +1 -3
- data/{assets/css/lanyon.css → _sass/_lanyon.scss} +1 -1
- data/{assets/css/poole.css → _sass/_poole.scss} +0 -0
- data/{assets/css/syntax.css → _sass/_syntax.scss} +0 -0
- data/assets/css/styles.scss +8 -0
- metadata +49 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 199a8aa3edb870a0139fbbdf95c8f511da484c09fd9a5662658747075529a812
|
4
|
+
data.tar.gz: abc4a11b6d3331625c39c593241124b7a9d2f30d71df39891c46c5725a5742d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e7db8efe0f488daebb6f4fa40bd4e78fb906bb396533605e48bf49bee6a4ae6da31f96665954fc26c4ae6a297a4b2e7755df71e6ece30e01ac3f5602d44d0ee
|
7
|
+
data.tar.gz: 4f057dca455f832d0ba7e20dc1113d9c2ab908838c7614a47d0099f762216b6c27eca7a4d7f0fddb6d857675c4bf2565633da77bed53f42d446c4a225dc9d9e1
|
data/LICENSE.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# Released under MIT License
|
2
2
|
|
3
|
-
Copyright (c) 2014 Mark Otto.
|
3
|
+
Copyright (c) 2014-present Mark Otto and contributors.
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
6
|
|
7
7
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
8
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ Lanyon is an unassuming [Jekyll](http://jekyllrb.com) theme that places content
|
|
9
9
|
## Contents
|
10
10
|
|
11
11
|
- [Usage](#usage)
|
12
|
-
- [Install as a gem](#install-as-a-gem)
|
12
|
+
- [Install as a gem](#install-as-a-gem-based-theme)
|
13
13
|
- [Options](#options)
|
14
14
|
- [Sidebar menu](#sidebar-menu)
|
15
15
|
- [Themes](#themes)
|
@@ -23,30 +23,72 @@ Lanyon is an unassuming [Jekyll](http://jekyllrb.com) theme that places content
|
|
23
23
|
|
24
24
|
Lanyon is a theme built on top of [Poole](https://github.com/poole/poole), which provides a fully furnished Jekyll setup—just download and start the Jekyll server. See [the Poole usage guidelines](https://github.com/poole/poole#usage) for how to install and use Jekyll.
|
25
25
|
|
26
|
+
## Install as a gem-based theme
|
26
27
|
|
27
|
-
|
28
|
+
Jekyll encourage the use of `bundler` to manage themes and plugins. [Themes](https://jekyllrb.com/docs/themes/) can be packaged as Ruby gems since Jekyll 3.3. If you don't intend to modify the theme a lot, this is a nice way of focusing on your content and benefits from theme updates.
|
28
29
|
|
29
|
-
|
30
|
+
### 1. Install theme
|
30
31
|
|
31
|
-
|
32
|
+
1. Create a folder that will be your Jekyll source directory, e.g `blog`.
|
33
|
+
2. Create a `Gemfile` in your source directory to list all theme dependencies, it should looks like this:
|
32
34
|
|
33
35
|
```ruby
|
34
|
-
|
36
|
+
# frozen_string_literal: true
|
37
|
+
|
38
|
+
source "https://rubygems.org"
|
39
|
+
|
40
|
+
gem "jekyll", "~> 3.7.0"
|
41
|
+
gem "jekyll-theme-lanyon", "~> 1.1"
|
35
42
|
```
|
36
43
|
|
37
|
-
|
44
|
+
### 2. Configuration
|
45
|
+
|
46
|
+
1. Run `bundle install` to install all theme dependencies.
|
47
|
+
2. Copy [`_config.yml`](example/_config.yml), [`index.html`](example/index.html), [`404.html`](example/404.html) (and [`about.md`](example/about.md)) from this repository's [example files](example) to your source directory.
|
48
|
+
3. Run `bundle exec jekyll serve --livereload` to preview your website locally.
|
38
49
|
|
39
|
-
|
40
|
-
|
50
|
+
If you list the files in your source directory, don't be surprised if you only see:
|
51
|
+
|
52
|
+
```
|
53
|
+
├── _posts # your posts are here
|
54
|
+
├── _site # default destination build directory
|
55
|
+
├── _config.yml # jekyll configuration
|
56
|
+
├── 404.html # default 404 page template
|
57
|
+
├── about.md # default example page
|
58
|
+
├── Gemfile # bundler configuration
|
59
|
+
├── Gemfile.lock # bundler version lock
|
60
|
+
└── index.html # list all the posts on the homepage
|
41
61
|
```
|
42
62
|
|
43
|
-
|
63
|
+
:bulb: When you use gem-based themes, the themes files don't appear in your source directory, they're packaged within the gem.
|
64
|
+
|
65
|
+
If you wonder where the original theme files are, `bundler` allows you to show a gem content:
|
44
66
|
|
45
67
|
```sh
|
46
|
-
|
68
|
+
tree $(bundle show jekyll-theme-lanyon)
|
69
|
+
├── Gemfile
|
70
|
+
├── Gemfile.lock
|
71
|
+
├── LICENSE.md
|
72
|
+
├── README.md
|
73
|
+
├── _includes
|
74
|
+
│ ├── head.html
|
75
|
+
│ └── sidebar.html
|
76
|
+
├── _layouts
|
77
|
+
│ ├── default.html
|
78
|
+
│ ├── home.html
|
79
|
+
│ ├── page.html
|
80
|
+
│ └── post.html
|
81
|
+
├── assets
|
82
|
+
│ ├── apple-touch-icon-precomposed.png
|
83
|
+
│ ├── css
|
84
|
+
│ │ ├── lanyon.css
|
85
|
+
│ │ ├── poole.css
|
86
|
+
│ │ └── syntax.css
|
87
|
+
│ └── favicon.ico
|
47
88
|
```
|
48
89
|
|
49
|
-
|
90
|
+
If you want to customize the theme, you'll have to copy the files you need to modify in your source directory.
|
91
|
+
Report to jekyll's documentation to learn [how to override a theme](https://jekyllrb.com/docs/themes/#overriding-theme-defaults).
|
50
92
|
|
51
93
|
## Options
|
52
94
|
|
data/_includes/head.html
CHANGED
@@ -15,9 +15,7 @@
|
|
15
15
|
</title>
|
16
16
|
|
17
17
|
<!-- CSS -->
|
18
|
-
<link rel="stylesheet" href={{ "/assets/css/
|
19
|
-
<link rel="stylesheet" href={{ "/assets/css/syntax.css" | relative_url }}>
|
20
|
-
<link rel="stylesheet" href={{ "/assets/css/lanyon.css" | relative_url }}>
|
18
|
+
<link rel="stylesheet" href={{ "/assets/css/styles.css" | relative_url }}>
|
21
19
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700%7CPT+Sans:400">
|
22
20
|
|
23
21
|
<!-- Icons -->
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-lanyon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Otto
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -24,6 +24,48 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jekyll-feed
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.9'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.9'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: jekyll-paginate
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.1'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.1'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: jekyll-sitemap
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.1'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.1'
|
27
69
|
- !ruby/object:Gem::Dependency
|
28
70
|
name: bundler
|
29
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,10 +109,11 @@ files:
|
|
67
109
|
- _layouts/home.html
|
68
110
|
- _layouts/page.html
|
69
111
|
- _layouts/post.html
|
112
|
+
- _sass/_lanyon.scss
|
113
|
+
- _sass/_poole.scss
|
114
|
+
- _sass/_syntax.scss
|
70
115
|
- assets/apple-touch-icon-precomposed.png
|
71
|
-
- assets/css/
|
72
|
-
- assets/css/poole.css
|
73
|
-
- assets/css/syntax.css
|
116
|
+
- assets/css/styles.scss
|
74
117
|
- assets/favicon.ico
|
75
118
|
homepage: https://github.com/poole/lanyon
|
76
119
|
licenses:
|
@@ -93,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
136
|
version: '0'
|
94
137
|
requirements: []
|
95
138
|
rubyforge_project:
|
96
|
-
rubygems_version: 2.
|
139
|
+
rubygems_version: 2.7.4
|
97
140
|
signing_key:
|
98
141
|
specification_version: 4
|
99
142
|
summary: A reserved Jekyll theme that places the utmost gravity on content with a
|