jekyll-theme-8bit 0.3.0 → 0.4.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: 8ec97781fa67bbe804265c40753413cae31aecbf21462c3f5f5af61834c44e3e
4
- data.tar.gz: 7b5034c3a8a1943317e8497466b120a1c33c0a016152ec6f68aad93ab6f3d659
3
+ metadata.gz: 68395964b1aec4b370308ee347a26f7f741e0b271728095f6f3b815dcdb8afdf
4
+ data.tar.gz: c9221caa7561f9508ed72dc1148609527959ab91523175a8cacea14feaeb8565
5
5
  SHA512:
6
- metadata.gz: d992f2a3956dd8b0197af9c2c9c83da11be6a5170f6b9f4838bde91da59bf83be2c98f0d3d933e1bb6bf5d1eccab4823a19aa135089b5d56c30425bc7ec329fd
7
- data.tar.gz: 7e280811377252b45e68b552837d611e356b39830b18f74ae5d63441a80437e52693eaa56c8fe45c98ffad4531d7955db123eb5b456b59b776a5e3acd56d44c7
6
+ metadata.gz: b2a90bfdaa5628b0d31044e85f6f9f3692fb7953bfbe40aaf543b2b4a3ac9ad9ce6581d87960e1468e2dff3a1dda79092e636311f58e48c6e0411aa7fecfd562
7
+ data.tar.gz: 07dc1d05eea39303c642479954c55d4eeb98016e21ea9b2476e8f03a4c427376399d64d0b2c44de6083bb9635fb3008b10517ba0019a2efb32e2c9e0114338fa
data/README.md CHANGED
@@ -92,7 +92,7 @@ Set **logo** entry in `_config.yml`. It accepts an image path like `assets/img/l
92
92
 
93
93
  **PS**.: Nintendo owns the copyright of these characters. Please comply with the Nintendo guidelines and laws of the applicable jurisdiction.
94
94
 
95
- #### Show download buttons
95
+ #### Showing download buttons
96
96
 
97
97
  If you’re publishing on GitHub Pages for a project you can enable the download buttons by just setting `show_downloads: true` in `_config.yml`.
98
98
 
@@ -117,6 +117,21 @@ social:
117
117
  linkedin: https://www.linkedin.com/in/username
118
118
  ```
119
119
 
120
+ #### Comments
121
+
122
+ Comments feature is provided by an integration between Jekyll and Disqus, so if you want to have a comments section below each post you will need a Disqus account.
123
+
124
+ If you already have an account all you need to do is add the following entries to your `_config.yml`:
125
+
126
+ ```yaml
127
+ disqus:
128
+ shortname: your-sites-shortname
129
+ ```
130
+
131
+ In case you still don't have an account take a look at [Disqus](https://disqus.com)' page for details on how to create and configure an account.
132
+
133
+ Comments are enabled by default but if you want to disable them for one particular post you can by just adding `comments: false` to the post's YAML Front Matter.
134
+
120
135
  ## Contributing
121
136
 
122
137
  Bug reports and pull requests are welcome. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
@@ -0,0 +1,17 @@
1
+ {% if page.comments != false and jekyll.environment == "production" %}
2
+ <div id="disqus_thread"></div>
3
+ <script>
4
+ var disqus_config = function () {
5
+ this.page.url = '{{ page.url | absolute_url }}';
6
+ this.page.identifier = '{{ page.url | absolute_url }}';
7
+ };
8
+
9
+ (function() {
10
+ var d = document, s = d.createElement('script');
11
+ s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
12
+ s.setAttribute('data-timestamp', +new Date());
13
+ (d.head || d.body).appendChild(s);
14
+ })();
15
+ </script>
16
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
17
+ {% endif %}
@@ -3,7 +3,7 @@
3
3
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1">
5
5
  {% seo %}
6
- <link rel="stylesheet" href="https://unpkg.com/nes.css@2.1.1/css/nes.min.css" />
6
+ <link rel="stylesheet" href="https://unpkg.com/nes.css@2.2.0/css/nes.min.css" />
7
7
  <link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
8
8
  <!--[if lt IE 9]>
9
9
  <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  layout: default
3
+ comments: true
3
4
  ---
4
5
 
5
6
  <small class="post-info">{{ page.date | date: "%B %-d, %Y" }}</small>
@@ -9,3 +10,6 @@ layout: default
9
10
  {% if page.tags %}
10
11
  <small class="post-info">Tags: <b>{{ page.tags | join: "</b> <b>" }}</b></small>
11
12
  {% endif %}
13
+ {% if site.disqus.shortname %}
14
+ {% include comments.html %}
15
+ {% endif %}
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-8bit
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
  - Juliano Fernandes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-29 00:00:00.000000000 Z
11
+ date: 2020-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.8.5
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 4.2.0
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: 3.8.5
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: 4.2.0
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: jekyll-paginate
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +64,14 @@ dependencies:
58
64
  requirements:
59
65
  - - "~>"
60
66
  - !ruby/object:Gem::Version
61
- version: 2.0.1
67
+ version: 2.1.0
62
68
  type: :development
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
72
  - - "~>"
67
73
  - !ruby/object:Gem::Version
68
- version: 2.0.1
74
+ version: 2.1.0
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: html-proofer
71
77
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +92,14 @@ dependencies:
86
92
  requirements:
87
93
  - - "~>"
88
94
  - !ruby/object:Gem::Version
89
- version: 12.3.2
95
+ version: 13.0.0
90
96
  type: :development
91
97
  prerelease: false
92
98
  version_requirements: !ruby/object:Gem::Requirement
93
99
  requirements:
94
100
  - - "~>"
95
101
  - !ruby/object:Gem::Version
96
- version: 12.3.2
102
+ version: 13.0.0
97
103
  - !ruby/object:Gem::Dependency
98
104
  name: rubocop
99
105
  requirement: !ruby/object:Gem::Requirement
@@ -131,6 +137,7 @@ extra_rdoc_files: []
131
137
  files:
132
138
  - LICENSE.txt
133
139
  - README.md
140
+ - _includes/comments.html
134
141
  - _includes/downloads.html
135
142
  - _includes/footer.html
136
143
  - _includes/fork-me.html
@@ -168,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
175
  - !ruby/object:Gem::Version
169
176
  version: '0'
170
177
  requirements: []
171
- rubygems_version: 3.0.1
178
+ rubygems_version: 3.1.4
172
179
  signing_key:
173
180
  specification_version: 4
174
181
  summary: A Jekyll theme inspired by classic 8bit games.