tale 0.1.1 → 0.1.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 +33 -6
- data/_sass/tale/_layout.scss +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 343cdd488c3dee396bea05be636e0102cc2ea4ff
|
|
4
|
+
data.tar.gz: 5cb34e38f46ffa88d6b947f88aa264d44b1cc43e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 86bd492e9d498295e23470a1377eda958e0e6b5b20efc6486edfc21656e69cfad8f340fc326e97a9dbdd953302ed0955098e28e741b245276e1487564c57335f
|
|
7
|
+
data.tar.gz: f7f354946a9a81635029d9e026dbf118a703abe4c8779d94370b7cc70a5f8a4d5d30435ab980511a99e4fb087109099c8993bccd9f80c5377cbb21c222a73093
|
data/README.md
CHANGED
|
@@ -12,14 +12,14 @@ Tale is a minimal Jekyll theme curated for storytellers. Checkout the demo [here
|
|
|
12
12
|
- Pagination of posts
|
|
13
13
|
|
|
14
14
|
## Installation
|
|
15
|
-
|
|
15
|
+
### As a Jekyll theme
|
|
16
16
|
1. Add this line to your `Gemfile`:
|
|
17
17
|
|
|
18
18
|
```ruby
|
|
19
19
|
gem "tale"
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
2.
|
|
22
|
+
2. In `_config.yml` replace the `minima` theme with `tale`:
|
|
23
23
|
|
|
24
24
|
```yaml
|
|
25
25
|
theme: tale
|
|
@@ -27,13 +27,40 @@ theme: tale
|
|
|
27
27
|
|
|
28
28
|
3. Install the theme's gems and dependencies:
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
```bash
|
|
31
|
+
$ bundle
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
4. Rename `index.md` to `index.html`. Without this, the `jekyll-paginate` gem will not work.
|
|
35
|
+
|
|
36
|
+
5. Add these 2 lines in to `_config.yml`:
|
|
37
|
+
|
|
38
|
+
```yaml
|
|
39
|
+
permalink: /:year-:month-:day/:title
|
|
40
|
+
paginate: 5
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### As a Fork
|
|
44
|
+
1. Fork this repository
|
|
31
45
|
|
|
32
|
-
|
|
46
|
+
2. Delete the unnecessary files/folders: `CODE_OF_CONDUCT.md`, `LICENSE`, `README.md`, `tale.gemspec`
|
|
33
47
|
|
|
34
|
-
|
|
48
|
+
3. Delete the `baseurl` line in `_config.yml`:
|
|
49
|
+
|
|
50
|
+
```yaml
|
|
51
|
+
baseurl: "/tale" # delete this line
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Usage
|
|
55
|
+
Once you've installed the theme, you're ready to work on your Jekyll site. To start off, I would recommend updating `_config.yml` with your site's details.
|
|
56
|
+
|
|
57
|
+
To build and serve your site, run:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
$ bundle exec jekyll serve
|
|
61
|
+
```
|
|
35
62
|
|
|
36
|
-
Head to http://
|
|
63
|
+
And you're all set! Head over to http://127.0.0.1:4000/ to see your site in action.
|
|
37
64
|
|
|
38
65
|
## Contributing
|
|
39
66
|
Found a bug or have a suggestion? Feel free to create an issue or make a pull request!
|
data/_sass/tale/_layout.scss
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tale
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chester How
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-01-
|
|
11
|
+
date: 2018-01-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|