jekyll-theme-classless-simple 0.3.0 → 0.5.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: 446a9adf18fdfb5573e14a9021dba3aaa5b7f34443f5ea5500e91cb7b3a76976
4
- data.tar.gz: f9be818a1d8412d83fa596c2c9ed98fc4c0c2d96a7ebab92b682facfb48fabe8
3
+ metadata.gz: 921e3964342186e066ac2a58fc4683a7041f8e7a3d76decc62fe50e318824f31
4
+ data.tar.gz: e718983e9c1c716c4734eb50eace700009b0305540fdf3e43e21dc9eb213eae5
5
5
  SHA512:
6
- metadata.gz: 41961a804fcd75c0854e06fface9a9365e05c5953774b8a3d474a1632766067e4f688c7de914dafb3d027891a186e4a0b6c0f68a49f355ad7777d5ebcea56a57
7
- data.tar.gz: b0486525fc94c0fb18329f87325eaf5719c2c909a45f38d9b97603c65d7d4ee5a4ebc123404ba113e0310b936eb3383ddd0c5d9340279ecef318c3c34bd73333
6
+ metadata.gz: ed10eb3333701247245d8a198c6843e44ccdb4bc2099fdfb168d05be6e0afd4d08a29d1fe48a10d6c8888007fe3c44e2845f30a9b8f52b92331367447df1812c
7
+ data.tar.gz: 9259acfa5b37a304b3ff65bdce5f5180c49b2fbf2eb84eb38e04c94fc13a7c4ad5a446c80073f290b6bebbfed48e9437f1fcae2430ca41714bcee34b90cb5ad2
data/LICENSE.txt CHANGED
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2021-2022 toshimaru
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021-2022 toshimaru
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md CHANGED
@@ -42,7 +42,7 @@ $ bundle
42
42
  ```yml
43
43
  # Specify theme
44
44
  remote_theme: toshimaru/jekyll-theme-classless-simple
45
- # Or if you install gem,
45
+ # Or,
46
46
  # theme: jekyll-theme-classless-simple
47
47
 
48
48
  classless-simple:
@@ -56,8 +56,40 @@ header_pages:
56
56
  - home.md
57
57
  - about.md
58
58
  - categories.html
59
+
60
+ # Specify your language (default: en)
61
+ # lang: en
62
+
63
+ # Comment form powered by Giscus
64
+ # You can get the following values here: https://giscus.app/
65
+ giscus:
66
+ repo: github-user-id/repo-name
67
+ repo-id: R_xxx
68
+ category-id: DIC_xxx
69
+ # category: Announcements
70
+ # lang: en
71
+ # reactions-enabled: 1
72
+ # emit-metadata: 0
73
+ # input-position: bottom
74
+ # theme: light
59
75
  ```
60
76
 
77
+ ## Layouts
78
+
79
+ Refers to files within the `_layouts` directory, that define the markup for your theme.
80
+
81
+ - `base.html`: The base layout that lays the foundation for subsequent layouts.
82
+ - `home.html`: The layout for your landing-page / home-page / index-page.
83
+ - `post.html`: The layout for your posts.
84
+ - `page.html`: The layout for your documents that contain FrontMatter, but are not posts.
85
+
86
+ ## Includes
87
+
88
+ - `footer.html`: Defines the site's footer section.
89
+ - `head.html`: Code-block that defines the `<head></head>` in *default* layout.
90
+ - `custom-head.html`: Placeholder to allow users to add more metadata to `<head />`.
91
+ - `header.html`: Defines the site's main header section.
92
+
61
93
  ## Plugins
62
94
 
63
95
  This theme depends on:
data/_config.yml CHANGED
@@ -3,12 +3,22 @@ author:
3
3
  name: GitHub User
4
4
  email: your-email@domain.com
5
5
  description: >
6
- Write an awesome description for your new site here. You can edit this
7
- line in _config.yml. It will appear in your document head meta (for
8
- Google search results) and in your feed.xml site description.
6
+ jekyll-theme-classless-simple is a Jekyll theme
7
+ styled with [Simple.css](https://github.com/kevquirk/simple.css),
8
+ a classless CSS framework.
9
9
  theme: jekyll-theme-classless-simple
10
10
  header_pages:
11
11
  - about.md
12
12
  - view-on-github.md
13
+ giscus:
14
+ repo: toshimaru/jekyll-theme-classless-simple
15
+ repo-id: R_kgDOGifmdQ
16
+ category-id: DIC_kwDOGifmdc4CO8Hz
17
+ # category: Announcements
18
+ # lang: en
19
+ # reactions-enabled: 1
20
+ # emit-metadata: 0
21
+ # input-position: bottom
22
+ # theme: light
13
23
  plugins:
14
- - jekyll-redirect-from
24
+ - jekyll-redirect-from
data/_layouts/home.html CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- layout: default
2
+ layout: base
3
3
  ---
4
4
 
5
5
  <div class="home">
data/_layouts/page.html CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- layout: default
2
+ layout: base
3
3
  ---
4
4
 
5
5
  <div class="post">
data/_layouts/post.html CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- layout: default
2
+ layout: base
3
3
  ---
4
4
 
5
5
  <div class="post">
@@ -21,4 +21,21 @@ layout: default
21
21
  <div class="post-content" itemprop="articleBody">
22
22
  {{ content }}
23
23
  </div>
24
+
25
+ {%- if site.giscus.repo -%}
26
+ <script src="https://giscus.app/client.js"
27
+ data-repo="{{ site.giscus.repo }}"
28
+ data-repo-id="{{ site.giscus.repo-id }}"
29
+ data-category="{{ site.giscus.category | default: 'Announcements' }}"
30
+ data-category-id="{{ site.giscus.category-id }}"
31
+ data-mapping="{{ site.giscus.mapping | default: 'pathname' }}"
32
+ data-reactions-enabled="{{ site.giscus.reactions-enabled | default: '1' }}"
33
+ data-emit-metadata="{{ site.giscus.emit-metadata | default: '0' }}"
34
+ data-input-position="{{ site.giscus.input-position | default: 'bottom' }}"
35
+ data-theme="{{ site.giscus.theme | default: 'light' }}"
36
+ data-lang="{{ site.giscus.lang | default: 'en' }}"
37
+ crossorigin="anonymous"
38
+ async>
39
+ </script>
40
+ {%- endif -%}
24
41
  </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.3.0
4
+ version: 0.5.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-07 00:00:00.000000000 Z
11
+ date: 2023-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.9'
27
27
  - !ruby/object:Gem::Dependency
28
- name: jekyll-seo-tag
28
+ name: jekyll-feed
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: jekyll-feed
42
+ name: jekyll-seo-tag
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
@@ -82,7 +82,7 @@ files:
82
82
  - _includes/google-analytics.html
83
83
  - _includes/head.html
84
84
  - _includes/header.html
85
- - _layouts/default.html
85
+ - _layouts/base.html
86
86
  - _layouts/home.html
87
87
  - _layouts/page.html
88
88
  - _layouts/post.html
@@ -103,14 +103,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
103
103
  requirements:
104
104
  - - ">="
105
105
  - !ruby/object:Gem::Version
106
- version: 2.7.0
106
+ version: 3.0.0
107
107
  required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  requirements: []
113
- rubygems_version: 3.3.7
113
+ rubygems_version: 3.4.10
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: Jekyll theme styled with Simple.css
File without changes