tale 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +60 -10
- data/_layouts/default.html +2 -2
- data/_layouts/home.html +1 -1
- data/_sass/tale/_base.scss +1 -0
- data/_sass/tale/_post.scss +12 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ba67115e4abe7c28c6bc048ca383b627690ffe1
|
4
|
+
data.tar.gz: 950df5d39f0b9ef0881206f23262ff12a3a18a8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f98ee3326f1579795c2d59962d040a6dd6573b322c3be66b864dd734ab5418a809d91126e83a62d42e86146199a485b53ef4961f26888b8ea81930f5982c206
|
7
|
+
data.tar.gz: 38c5b3147121bdfedc2db3fe84109d97fb5ab333fcf77aa31ee1b2815b97f2f0a453c5721bdae4c5721781d8a80dc88e6ce1637abfa55334c508e7b016234a12
|
data/README.md
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
# Tale
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/tale.svg)](https://badge.fury.io/rb/tale)
|
4
|
+
|
2
5
|
Tale is a minimal Jekyll theme curated for storytellers. Checkout the demo [here](https://chesterhow.github.io/tale/).
|
3
6
|
|
4
7
|
![Tale screenshot](http://i.imgur.com/pXZrtmo.png)
|
@@ -12,35 +15,82 @@ Tale is a minimal Jekyll theme curated for storytellers. Checkout the demo [here
|
|
12
15
|
- Pagination of posts
|
13
16
|
|
14
17
|
## Installation
|
15
|
-
|
18
|
+
There are 3 ways to install this theme
|
19
|
+
|
20
|
+
1. Install it as a Ruby Gem (for self-hosted sites)
|
21
|
+
2. Install it with the `jekyll-remote-theme` plugin (for GitHub Pages hosted sites)
|
22
|
+
3. Fork the project directly
|
23
|
+
|
24
|
+
### Ruby Gem method
|
16
25
|
1. Add this line to your `Gemfile`:
|
17
26
|
|
18
27
|
```ruby
|
19
28
|
gem "tale"
|
20
29
|
```
|
21
30
|
|
22
|
-
2.
|
31
|
+
2. Install the theme's gems and dependencies:
|
32
|
+
|
33
|
+
```bash
|
34
|
+
$ bundle
|
35
|
+
```
|
36
|
+
|
37
|
+
3. In `_config.yml` add these lines:
|
23
38
|
|
24
39
|
```yaml
|
25
|
-
theme:
|
40
|
+
theme: tale
|
41
|
+
|
42
|
+
permalink: /:year-:month-:day/:title
|
43
|
+
paginate: 5
|
44
|
+
```
|
45
|
+
|
46
|
+
Remove any other `theme:` lines.
|
47
|
+
|
48
|
+
4. Rename `index.md` to `index.html`. Without this, the `jekyll-paginate` gem will not work.
|
49
|
+
|
50
|
+
5. In `about.md`, change the `layout:` field to `post`:
|
51
|
+
|
52
|
+
```Markdown
|
53
|
+
layout: post
|
26
54
|
```
|
27
55
|
|
28
|
-
|
56
|
+
### GitHub Pages method
|
57
|
+
1. Add these 2 lines in to your `Gemfile`:
|
58
|
+
|
59
|
+
```ruby
|
60
|
+
gem "jekyll-remote-theme"
|
61
|
+
gem "jekyll-paginate"
|
62
|
+
```
|
63
|
+
|
64
|
+
2. Install the newly added gems:
|
29
65
|
|
30
66
|
```bash
|
31
67
|
$ bundle
|
32
68
|
```
|
33
69
|
|
70
|
+
3. In `_config.yml` add these lines:
|
71
|
+
|
72
|
+
```yaml
|
73
|
+
remote_theme: chesterhow/tale
|
74
|
+
|
75
|
+
permalink: /:year-:month-:day/:title
|
76
|
+
paginate: 5
|
77
|
+
|
78
|
+
plugins:
|
79
|
+
- jekyll-paginate
|
80
|
+
- jekyll-remote-theme
|
81
|
+
```
|
82
|
+
|
83
|
+
Remove any other `theme:` or `remote_theme:` lines.
|
84
|
+
|
34
85
|
4. Rename `index.md` to `index.html`. Without this, the `jekyll-paginate` gem will not work.
|
35
86
|
|
36
|
-
5.
|
87
|
+
5. In `about.md`, change the `layout:` field to `post`:
|
37
88
|
|
38
|
-
```
|
39
|
-
|
40
|
-
paginate: 5
|
89
|
+
```Markdown
|
90
|
+
layout: post
|
41
91
|
```
|
42
92
|
|
43
|
-
###
|
93
|
+
### Fork method
|
44
94
|
1. Fork this repository
|
45
95
|
|
46
96
|
2. Delete the unnecessary files/folders: `CODE_OF_CONDUCT.md`, `LICENSE`, `README.md`, `tale.gemspec`
|
@@ -48,7 +98,7 @@ paginate: 5
|
|
48
98
|
3. Delete the `baseurl` line in `_config.yml`:
|
49
99
|
|
50
100
|
```yaml
|
51
|
-
baseurl:
|
101
|
+
baseurl: "/tale" # delete this line
|
52
102
|
```
|
53
103
|
|
54
104
|
## Usage
|
data/_layouts/default.html
CHANGED
data/_layouts/home.html
CHANGED
data/_sass/tale/_base.scss
CHANGED
data/_sass/tale/_post.scss
CHANGED
@@ -48,4 +48,16 @@
|
|
48
48
|
font-style: normal;
|
49
49
|
text-align: center;
|
50
50
|
}
|
51
|
+
|
52
|
+
// CSS for making emoji inline
|
53
|
+
img.emoji {
|
54
|
+
display: inline-block;
|
55
|
+
left: 0;
|
56
|
+
transform: none;
|
57
|
+
width: 1rem;
|
58
|
+
height: 1rem;
|
59
|
+
vertical-align: text-top;
|
60
|
+
padding: 0;
|
61
|
+
margin: 0;
|
62
|
+
}
|
51
63
|
}
|
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.3
|
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-
|
11
|
+
date: 2018-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|
114
114
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.5.
|
115
|
+
rubygems_version: 2.5.2.2
|
116
116
|
signing_key:
|
117
117
|
specification_version: 4
|
118
118
|
summary: Tale is a minimal Jekyll theme curated for storytellers.
|