jekyll-theme-classless-simple 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +83 -69
- data/_layouts/page.html +13 -9
- data/_layouts/post.html +24 -9
- data/_sass/classless-simple/initialize.sass +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 446a9adf18fdfb5573e14a9021dba3aaa5b7f34443f5ea5500e91cb7b3a76976
|
4
|
+
data.tar.gz: f9be818a1d8412d83fa596c2c9ed98fc4c0c2d96a7ebab92b682facfb48fabe8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41961a804fcd75c0854e06fface9a9365e05c5953774b8a3d474a1632766067e4f688c7de914dafb3d027891a186e4a0b6c0f68a49f355ad7777d5ebcea56a57
|
7
|
+
data.tar.gz: b0486525fc94c0fb18329f87325eaf5719c2c909a45f38d9b97603c65d7d4ee5a4ebc123404ba113e0310b936eb3383ddd0c5d9340279ecef318c3c34bd73333
|
data/README.md
CHANGED
@@ -1,69 +1,83 @@
|
|
1
|
-
[![
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/jekyll-theme-classless-simple.svg)](https://badge.fury.io/rb/jekyll-theme-classless-simple)
|
2
|
+
[![Test](https://github.com/toshimaru/jekyll-theme-classless-simple/actions/workflows/ci.yaml/badge.svg)](https://github.com/toshimaru/jekyll-theme-classless-simple/actions/workflows/ci.yaml)
|
3
|
+
|
4
|
+
# jekyll-theme-classless-simple
|
5
|
+
|
6
|
+
jekyll-theme-classless-simple is a Jekyll theme styled with [Simple.css](https://github.com/kevquirk/simple.css), a classless CSS framework.
|
7
|
+
|
8
|
+
[![Demo site](https://user-images.githubusercontent.com/803398/167260765-5098243b-8b0b-4d01-82c0-d0b5b070a95d.png)](https://jekyll-classless-simple.toshimaru.net/)
|
9
|
+
|
10
|
+
## Installation
|
11
|
+
|
12
|
+
### via [remote_theme](https://github.com/benbalter/jekyll-remote-theme)
|
13
|
+
|
14
|
+
Add this line to your Jekyll site's `_config.yml`:
|
15
|
+
|
16
|
+
```yml
|
17
|
+
remote_theme: toshimaru/jekyll-theme-classless-simple
|
18
|
+
```
|
19
|
+
|
20
|
+
### via gem
|
21
|
+
|
22
|
+
Add this line to your Jekyll site's `Gemfile`:
|
23
|
+
|
24
|
+
```ruby
|
25
|
+
gem "jekyll-theme-classless-simple"
|
26
|
+
```
|
27
|
+
|
28
|
+
And add this line to your Jekyll site's `_config.yml`:
|
29
|
+
|
30
|
+
```yaml
|
31
|
+
theme: jekyll-theme-classless-simple
|
32
|
+
```
|
33
|
+
|
34
|
+
And then execute:
|
35
|
+
|
36
|
+
```console
|
37
|
+
$ bundle
|
38
|
+
```
|
39
|
+
|
40
|
+
## Usage
|
41
|
+
|
42
|
+
```yml
|
43
|
+
# Specify theme
|
44
|
+
remote_theme: toshimaru/jekyll-theme-classless-simple
|
45
|
+
# Or if you install gem,
|
46
|
+
# theme: jekyll-theme-classless-simple
|
47
|
+
|
48
|
+
classless-simple:
|
49
|
+
syntax: monokai # syntax highlight theme
|
50
|
+
|
51
|
+
# Set to enable Google Analytics
|
52
|
+
google_analytics: UA-XXX
|
53
|
+
|
54
|
+
# Navigation links in header
|
55
|
+
header_pages:
|
56
|
+
- home.md
|
57
|
+
- about.md
|
58
|
+
- categories.html
|
59
|
+
```
|
60
|
+
|
61
|
+
## Plugins
|
62
|
+
|
63
|
+
This theme depends on:
|
64
|
+
|
65
|
+
- [jekyll-seo-tag](https://github.com/jekyll/jekyll-seo-tag)
|
66
|
+
- [jekyll-feed](https://github.com/jekyll/jekyll-feed)
|
67
|
+
|
68
|
+
## Contributing
|
69
|
+
|
70
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/toshimaru/jekyll-theme-classless-simple. 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
|
+
## Development
|
73
|
+
|
74
|
+
To set up your environment to develop this theme, run `bundle install`.
|
75
|
+
|
76
|
+
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. 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
|
+
|
78
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
79
|
+
To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-classless-simple.gemspec` accordingly.
|
80
|
+
|
81
|
+
## License
|
82
|
+
|
83
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/_layouts/page.html
CHANGED
@@ -1,9 +1,13 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
<
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="post">
|
6
|
+
<div class="post-header">
|
7
|
+
<h1 class="post-title">{{ page.title | escape }}</h1>
|
8
|
+
</div>
|
9
|
+
|
10
|
+
<div class="post-content">
|
11
|
+
{{ content }}
|
12
|
+
</div>
|
13
|
+
</div>
|
data/_layouts/post.html
CHANGED
@@ -1,9 +1,24 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
<
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="post">
|
6
|
+
<div class="post-header">
|
7
|
+
<h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
|
8
|
+
<p class="post-meta">
|
9
|
+
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
10
|
+
{{ page.date | date_to_long_string }}
|
11
|
+
</time>
|
12
|
+
|
13
|
+
{%- if page.last_modified_at -%}
|
14
|
+
<time class="dt-modified" datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="dateModified">
|
15
|
+
(Updated on {{ page.last_modified_at | date_to_string }})
|
16
|
+
</time>
|
17
|
+
{%- endif -%}
|
18
|
+
</p>
|
19
|
+
</div>
|
20
|
+
|
21
|
+
<div class="post-content" itemprop="articleBody">
|
22
|
+
{{ content }}
|
23
|
+
</div>
|
24
|
+
</div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-classless-simple
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- toshimaru
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|