jekyll-theme-classless-simple 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -0
  3. data/_config.yml +14 -4
  4. data/_layouts/post.html +17 -0
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 446a9adf18fdfb5573e14a9021dba3aaa5b7f34443f5ea5500e91cb7b3a76976
4
- data.tar.gz: f9be818a1d8412d83fa596c2c9ed98fc4c0c2d96a7ebab92b682facfb48fabe8
3
+ metadata.gz: b5f36c031ea6c070d90a6b735e8337a1d7a17845730da2c96fe95e1f993e9ff1
4
+ data.tar.gz: 33303d3e22fe4ee268ce4e38b105af834f76a9c8dd7350cd9a395a5de58bb17c
5
5
  SHA512:
6
- metadata.gz: 41961a804fcd75c0854e06fface9a9365e05c5953774b8a3d474a1632766067e4f688c7de914dafb3d027891a186e4a0b6c0f68a49f355ad7777d5ebcea56a57
7
- data.tar.gz: b0486525fc94c0fb18329f87325eaf5719c2c909a45f38d9b97603c65d7d4ee5a4ebc123404ba113e0310b936eb3383ddd0c5d9340279ecef318c3c34bd73333
6
+ metadata.gz: b1521e2524712bee93ff8e3391dfaa9584848359608baab36a2c8ec5c78c1ab8eacc49e689295e2ea84e4e4d931b2f29555f3eb1f94ae727de70d69d357e55d8
7
+ data.tar.gz: af38140673a1f8eb44d8ae5b916b9bf1ff4f8b5d4c6b73258d447f48d6f3c68cb84090f28c9d09e6a68230dbf48f7c3e73ff66d380ed86ee22c1d77ebc43f3f7
data/README.md CHANGED
@@ -56,6 +56,19 @@ header_pages:
56
56
  - home.md
57
57
  - about.md
58
58
  - categories.html
59
+
60
+ # Comment form powered by Giscus
61
+ # You can get the following values here: https://giscus.app/
62
+ giscus:
63
+ repo: github-user-id/repo-name
64
+ repo-id: R_xxx
65
+ category-id: DIC_xxx
66
+ # category: Announcements
67
+ # lang: en
68
+ # reactions-enabled: 1
69
+ # emit-metadata: 0
70
+ # input-position: bottom
71
+ # theme: light
59
72
  ```
60
73
 
61
74
  ## Plugins
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/post.html CHANGED
@@ -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.4.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: 2022-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll