jekyll-theme-charcoal 0.0.1 → 0.0.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 +93 -24
- data/_layouts/home.html +2 -2
- 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: 6bbc714bc6342c9c47bc516e69d26084b9128e51
|
4
|
+
data.tar.gz: f9c80c4b19692a651f07e9839da1286aeb35733c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab11284a167f52060cdbebb9d121263ef9994edf38d65fe27a1fc91f8dd4cfed15ad390bb1841676ad0fec623034d4d9cc939082b93e9b680a5ae70214e41230
|
7
|
+
data.tar.gz: 39458a99e3bf972285bcc69ce1796829127c95f22f404c5ef683e524c11bfc5f1f3eeacedab26d70b086cc1b0e4e65361feaa5cc2cda7835d84b8902c4cad4e0
|
data/README.md
CHANGED
@@ -1,13 +1,18 @@
|
|
1
|
+
---
|
2
|
+
layout: home
|
3
|
+
title: Charcoal
|
4
|
+
permalink: /index.html
|
5
|
+
---
|
1
6
|
# Charcoal
|
2
7
|
|
3
|
-
|
4
|
-
Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
|
8
|
+
A dark theme for [jekyll](https://jekyllrb.com/).
|
5
9
|
|
6
|
-
|
10
|
+
## Usage
|
7
11
|
|
8
|
-
|
12
|
+
The theme is available as open source under the terms of the [MIT License](LICENSE.txt).
|
13
|
+
It is distributed as a [ruby gem](https://rubygems.org/gems/jekyll-theme-charcoal).
|
9
14
|
|
10
|
-
|
15
|
+
### Installation
|
11
16
|
|
12
17
|
Add this line to your Jekyll site's `Gemfile`:
|
13
18
|
|
@@ -15,42 +20,106 @@ Add this line to your Jekyll site's `Gemfile`:
|
|
15
20
|
gem "jekyll-theme-charcoal"
|
16
21
|
```
|
17
22
|
|
18
|
-
|
23
|
+
Add this line to your Jekyll site's `_config.yml`:
|
19
24
|
|
20
25
|
```yaml
|
21
26
|
theme: jekyll-theme-charcoal
|
22
27
|
```
|
23
28
|
|
24
|
-
And then
|
29
|
+
And then run:
|
30
|
+
|
31
|
+
```
|
32
|
+
user@localhost ~/my-awesome-site
|
33
|
+
$ bundle install
|
34
|
+
```
|
25
35
|
|
26
|
-
|
36
|
+
### Layouts
|
27
37
|
|
28
|
-
|
38
|
+
* `default` is the base layout, contianing only a header and content.
|
39
|
+
* `home` is ideal for a landing page, as it includes not only the content, but also a blog roll with RSS link and social links as configured below.
|
40
|
+
* `page` is currently no more than a repackaged default.
|
41
|
+
* `post` is currently no more than a repackaged default, except that [posts](https://jekyllrb.com/docs/posts/) are indexed and listed on the `home` page.
|
29
42
|
|
30
|
-
|
43
|
+
In addition to the standard jekyll front matter, the charcoal theme can use `author_name` and `author_url` to add some background information about each page or post:
|
31
44
|
|
32
|
-
|
45
|
+
```yaml
|
46
|
+
author_name: Greg Gibeling
|
47
|
+
author_url: https://github.com/gdgib/
|
48
|
+
```
|
33
49
|
|
34
|
-
|
50
|
+
### Customization
|
51
|
+
|
52
|
+
You can configure a default author for pages and posts in your `_config.yml`:
|
53
|
+
|
54
|
+
```
|
55
|
+
author_name: Greg Gibeling
|
56
|
+
author_url: https://github.com/gdgib/
|
57
|
+
```
|
58
|
+
|
59
|
+
As [in minima](https://github.com/jekyll/minima/blob/master/README.md#social-networks) you can add links to the accounts you have on other sites, with respective icon, by adding one or more of the following options in your `_config.yml`:
|
60
|
+
|
61
|
+
```
|
62
|
+
twitter_username: jekyllrb
|
63
|
+
github_username: jekyll
|
64
|
+
dribbble_username: jekyll
|
65
|
+
facebook_username: jekyll
|
66
|
+
flickr_username: jekyll
|
67
|
+
instagram_username: jekyll
|
68
|
+
linkedin_username: jekyll
|
69
|
+
pinterest_username: jekyll
|
70
|
+
youtube_username: jekyll
|
71
|
+
googleplus_username: +jekyll
|
72
|
+
rss: rss
|
73
|
+
|
74
|
+
mastodon:
|
75
|
+
- username: jekyll
|
76
|
+
instance: example.com
|
77
|
+
- username: jekyll2
|
78
|
+
instance: example.com
|
79
|
+
```
|
35
80
|
|
36
81
|
## Contributing
|
37
82
|
|
38
|
-
|
39
|
-
This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
83
|
+
Issues and pull requests are welcome on [github.com/g2forge/charcoal](https://github.com/g2forge/charcoal).
|
40
84
|
|
41
85
|
## Development
|
42
86
|
|
43
|
-
To set up your environment to develop this theme, run
|
87
|
+
To set up your environment to develop this theme, run:
|
44
88
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
89
|
+
```
|
90
|
+
user@localhost ~/charcoal
|
91
|
+
$ bundle install
|
92
|
+
```
|
93
|
+
|
94
|
+
In order to test your changes locally you will
|
95
|
+
After that you can see your handiwork by viewing this page with any modifications you've made.
|
96
|
+
Please note that you will need to reload the page after changes as is normal with jekyll.
|
97
|
+
|
98
|
+
```
|
99
|
+
user@localhost ~/charcoal
|
100
|
+
$ bundle exec jekyll serve
|
101
|
+
```
|
50
102
|
|
51
|
-
|
52
|
-
To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-charcoal.gemspec` accordingly.
|
103
|
+
## Build
|
53
104
|
|
54
|
-
|
105
|
+
To build the gem and install it for local development testing run:
|
55
106
|
|
56
|
-
|
107
|
+
```
|
108
|
+
user@localhost ~/charcoal
|
109
|
+
$ gem build ./jekyll-theme-charcoal.gemspec
|
110
|
+
$ gem install ./jekyll-theme-charcoal-<VERSION>.gem
|
111
|
+
```
|
112
|
+
|
113
|
+
Once you are satisfied that this version is ready run:
|
114
|
+
|
115
|
+
```
|
116
|
+
user@localhost ~/charcoal
|
117
|
+
$ gem push ./jekyll-theme-charcoal-<VERSION>.gem
|
118
|
+
```
|
119
|
+
|
120
|
+
## Inspiration
|
121
|
+
|
122
|
+
This theme is based on the following themes:
|
123
|
+
|
124
|
+
* [minima](https://github.com/jekyll/minima) by [Jekyll](https://jekyllrb.com/)
|
125
|
+
* [midnight](https://github.com/pages-themes/midnight) by [Matt Graham](https://twitter.com/michigangraham)
|
data/_layouts/home.html
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-charcoal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Gibeling
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '12.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '12.0'
|
69
69
|
description:
|
70
70
|
email:
|
71
71
|
- gdgib@outlook.com
|