simple-gh-pages-theme 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +49 -24
- metadata +1 -2
- data/_config.yml +0 -60
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7b807d8c650f10418abcc0c706ffd1c650507409b2ef50a4a6f278333a22622
|
4
|
+
data.tar.gz: 973d492bd1fa490a39071abfbc1bcbd1454caa6064be5f62194c99d3e8b84d9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47549fede30cf7138a9393174e48757585a4d96d1fa79eee44ef12dfa30945cd028b1f95388e42861106d42238a6fe09c41ef25fcae0040af9deb9928c7f893d
|
7
|
+
data.tar.gz: ce01829d02aa82aa0abc54af35291121ac55c47239824ade736ce189a75a480b5dc3a352a514ce98286f8895c7e72f3d5dbf9743f3fd5beee058439fbcc2eed8
|
data/README.md
CHANGED
@@ -1,49 +1,74 @@
|
|
1
1
|
# simple-gh-pages-theme
|
2
2
|
|
3
|
+
<table>
|
4
|
+
<tr><td>
|
5
|
+
<img width="500" alt="empty default" src="https://user-images.githubusercontent.com/5443727/229302809-750132e5-d461-4ec8-a38a-ccdc62b3b72e.png">
|
6
|
+
</td><td>
|
7
|
+
<img width="500" alt="jordiwippert.nl" src="https://user-images.githubusercontent.com/5443727/229302812-d481eb40-b0ca-49cd-95d5-c7fef5228b7a.png">
|
8
|
+
</td>
|
9
|
+
<tr>
|
10
|
+
<td>
|
11
|
+
simple-gh-pages-theme, after install and first post setup
|
12
|
+
</td>
|
13
|
+
<td>
|
14
|
+
in-use
|
15
|
+
</td>
|
16
|
+
</tr>
|
17
|
+
</table>
|
18
|
+
|
3
19
|
## Installation
|
4
20
|
|
5
21
|
Add this line to your Jekyll site's `Gemfile`:
|
6
|
-
|
7
22
|
```ruby
|
8
23
|
gem "simple-gh-pages-theme"
|
9
24
|
```
|
10
25
|
|
11
|
-
And add this line to your Jekyll site's `_config.yml
|
12
|
-
|
26
|
+
And add this line to your Jekyll site's `_config.yml`. Remove/disable possibly already enabled themes:
|
13
27
|
```yaml
|
14
28
|
theme: simple-gh-pages-theme
|
15
29
|
```
|
16
30
|
|
17
31
|
And then execute:
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
$ gem install simple-gh-pages-theme
|
24
|
-
|
32
|
+
```shell
|
33
|
+
bundle
|
34
|
+
OR
|
35
|
+
gem install simple-gh-pages-theme
|
36
|
+
```
|
25
37
|
### !!! Important. To make the layouts work properly.
|
26
38
|
|
27
39
|
If you created a new website (`jekyll new sitename`), you can make your pages use the layout by changing:
|
28
40
|
|
29
|
-
- **index.markdown**:
|
30
|
-
- **posts.markdown**: to `layout: posts` (file might not exist yet)
|
31
|
-
- **404.markdown**: to `layout: 404` (file might not exist yet)
|
32
|
-
|
33
|
-
Like:
|
34
|
-
|
41
|
+
- **index.markdown**:
|
35
42
|
```
|
36
43
|
---
|
37
44
|
layout: index
|
38
45
|
---
|
39
46
|
```
|
47
|
+
- **about.markdown**:
|
48
|
+
```
|
49
|
+
---
|
50
|
+
layout: post
|
51
|
+
permalink: /about.html
|
52
|
+
---
|
53
|
+
```
|
54
|
+
- **posts.markdown**: (file might not exist yet)
|
55
|
+
```
|
56
|
+
---
|
57
|
+
layout: posts
|
58
|
+
---
|
59
|
+
```
|
60
|
+
- **404.markdown**: (file might not exist yet)
|
61
|
+
```
|
62
|
+
---
|
63
|
+
layout: 404
|
64
|
+
---
|
65
|
+
```
|
40
66
|
|
41
67
|
## Configuration:
|
42
68
|
|
43
|
-
See example config [here](https://github.com/LiveNL/simple-gh-pages-theme/blob/main/_config.yml
|
69
|
+
See/use example config [here](https://github.com/LiveNL/simple-gh-pages-theme/blob/main/example-config.yml). Copy to `_config.yml`
|
44
70
|
|
45
71
|
## Usage
|
46
|
-
|
47
72
|
### Posts
|
48
73
|
|
49
74
|
Create your posts like:
|
@@ -65,18 +90,18 @@ short: false (if true: it shown in 'short' list on home page)
|
|
65
90
|
list_post: false (if true: it shown in list on home/posts page)
|
66
91
|
```
|
67
92
|
|
68
|
-
## Contributing
|
69
|
-
|
70
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/lvenl/simple-gh-pages-theme. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://www.contributor-covenant.org/) code of conduct.
|
71
|
-
|
72
93
|
## Development
|
73
94
|
|
74
95
|
To set up your environment to develop this theme, run `bundle install`.
|
75
96
|
|
76
|
-
|
97
|
+
To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`.
|
98
|
+
|
99
|
+
This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
77
100
|
|
78
101
|
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
79
|
-
|
102
|
+
|
103
|
+
## Contributing
|
104
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/lvenl/simple-gh-pages-theme. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://www.contributor-covenant.org/) code of conduct.
|
80
105
|
|
81
106
|
## License
|
82
107
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple-gh-pages-theme
|
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
|
- LiveNL
|
@@ -61,7 +61,6 @@ extra_rdoc_files: []
|
|
61
61
|
files:
|
62
62
|
- LICENSE.txt
|
63
63
|
- README.md
|
64
|
-
- _config.yml
|
65
64
|
- _data/navigation.yml
|
66
65
|
- _includes/highlights.html
|
67
66
|
- _includes/intro.html
|
data/_config.yml
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
theme: simple-gh-pages-theme
|
2
|
-
title: My website
|
3
|
-
description: The website description
|
4
|
-
domain: "username.github.io"
|
5
|
-
baseurl: "https://example.com"
|
6
|
-
url: "https://example.com"
|
7
|
-
gtag: "G-XXXXXXXXX" (your google tag)
|
8
|
-
|
9
|
-
about:
|
10
|
-
name: Firstname Lastname
|
11
|
-
site: "https://example.com"
|
12
|
-
avatar: assets/images/image.png
|
13
|
-
email: example@example.com
|
14
|
-
socials:
|
15
|
-
twitter: https://twitter.com/example
|
16
|
-
linkedin: https://www.linkedin.com/in/example/
|
17
|
-
github: https://github.com/example
|
18
|
-
keybase: https://keybase.io/example
|
19
|
-
medium: https://medium.com/@example
|
20
|
-
stack-overflow: https://stackoverflow.com/users/xxxxxx/example
|
21
|
-
|
22
|
-
plugins:
|
23
|
-
- jekyll-archives
|
24
|
-
- jekyll-redirect-from
|
25
|
-
- jekyll-sitemap
|
26
|
-
|
27
|
-
jekyll-archives:
|
28
|
-
enabled:
|
29
|
-
- tags
|
30
|
-
- categories
|
31
|
-
layout: category-posts
|
32
|
-
permalinks:
|
33
|
-
year: "/:year/"
|
34
|
-
month: "/:year/:month/"
|
35
|
-
day: "/:year/:month/:day/"
|
36
|
-
tag: "/tag/:name/"
|
37
|
-
category: "/category/:name/"
|
38
|
-
|
39
|
-
defaults:
|
40
|
-
- scope:
|
41
|
-
path: "assets/**"
|
42
|
-
values:
|
43
|
-
sitemap: false
|
44
|
-
|
45
|
-
sass:
|
46
|
-
sass_dir: _sass
|
47
|
-
|
48
|
-
# Excluded items can be processed by explicitly listing the directories or
|
49
|
-
# their entries' file path in the `include:` list.
|
50
|
-
exclude:
|
51
|
-
- .sass-cache/
|
52
|
-
- .jekyll-cache/
|
53
|
-
- gemfiles/
|
54
|
-
- Gemfile
|
55
|
-
- Gemfile.lock
|
56
|
-
- node_modules/
|
57
|
-
- vendor/bundle/
|
58
|
-
- vendor/cache/
|
59
|
-
- vendor/gems/
|
60
|
-
- vendor/ruby/
|