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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea029ac6416ff8fe4984b5555ad75ef5ffa3245b868f431475fd65b5009aee00
4
- data.tar.gz: '0431397b406669bfee9126061ae7ca800d699216a7b4908d56506157adcdb58e'
3
+ metadata.gz: 446a9adf18fdfb5573e14a9021dba3aaa5b7f34443f5ea5500e91cb7b3a76976
4
+ data.tar.gz: f9be818a1d8412d83fa596c2c9ed98fc4c0c2d96a7ebab92b682facfb48fabe8
5
5
  SHA512:
6
- metadata.gz: 97f32c93790eea5e35c8cd32b70118fe61bb58412e7a14a54f6b2d3b8e37e76e1a0c4b1dbf345c58e52ed7cf292a42088af4c14f23836a14efb82a300fbe2c71
7
- data.tar.gz: 3820a39bdef0beda97dcad748dbd953bd3e23c28b793e4b35016c029b132264313bb08f05daa00a1f8656657bb5d7697d884b247ad39b380494675be101c2826
6
+ metadata.gz: 41961a804fcd75c0854e06fface9a9365e05c5953774b8a3d474a1632766067e4f688c7de914dafb3d027891a186e4a0b6c0f68a49f355ad7777d5ebcea56a57
7
+ data.tar.gz: b0486525fc94c0fb18329f87325eaf5719c2c909a45f38d9b97603c65d7d4ee5a4ebc123404ba113e0310b936eb3383ddd0c5d9340279ecef318c3c34bd73333
data/README.md CHANGED
@@ -1,69 +1,83 @@
1
- [![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)
2
-
3
- # jekyll-theme-classless-simple
4
-
5
- jekyll-theme-classless-simple is a Jekyll theme styled with [Simple.css](https://github.com/kevquirk/simple.css), a classless CSS framework.
6
-
7
- [![Demo site](https://user-images.githubusercontent.com/803398/166136399-ae70d28a-cf4c-446c-ba19-06ed91c44884.png)](https://jekyll-classless-simple.toshimaru.net/)
8
-
9
- ## Installation
10
-
11
- Add this line to your Jekyll site's `Gemfile`:
12
-
13
- ```ruby
14
- gem "jekyll-theme-classless-simple"
15
- ```
16
-
17
- And add this line to your Jekyll site's `_config.yml`:
18
-
19
- ```yaml
20
- theme: jekyll-theme-classless-simple
21
- ```
22
-
23
- And then execute:
24
-
25
- ```console
26
- $ bundle
27
- ```
28
-
29
- ## Usage
30
-
31
- ```yml
32
- # Specify theme
33
- theme: jekyll-theme-classless-simple
34
-
35
- classless-simple:
36
- syntax: monokai # syntax highlight theme
37
-
38
- # Set to enable Google Analytics
39
- google_analytics: UA-XXX
40
-
41
- # Navigation links in header
42
- header_pages:
43
- - about.md
44
- - view-on-github.md
45
- ```
46
-
47
- ## Plugins
48
-
49
- This theme depends on:
50
-
51
- - jekyll-seo-tag
52
- - jekyll-feed
53
-
54
- ## Contributing
55
-
56
- 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.
57
-
58
- ## Development
59
-
60
- To set up your environment to develop this theme, run `bundle install`.
61
-
62
- 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.
63
-
64
- When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
65
- To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-classless-simple.gemspec` accordingly.
66
-
67
- ## License
68
-
69
- The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
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
- <article class="post">
6
- <h1 class="post-title">{{ page.title | escape }}</h1>
7
-
8
- {{ content }}
9
- </article>
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
- <article class="post">
6
- <h1 class="post-title">{{ page.title | escape }}</h1>
7
- <p class="post-meta">{{ page.date | date_to_long_string }}</p>
8
- <div>{{ content }}</div>
9
- </article>
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>
@@ -4,6 +4,11 @@
4
4
  .post-title
5
5
  margin-bottom: .8rem
6
6
 
7
+ .post-link
8
+ display: block
9
+ text-decoration: none
10
+ font-size: 2rem
11
+
7
12
  .post-meta
8
13
  color: var(--text-light)
9
14
  margin: 0
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.2.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-01 00:00:00.000000000 Z
11
+ date: 2022-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll