bulma-clean-theme 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -0
- data/_includes/disqus.html +17 -0
- data/_layouts/post.html +4 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 304354c4e51daca02df2b74441042f7b005b0715c66beeafa7204f818084f9b5
|
4
|
+
data.tar.gz: c08cb5d6df95debfb326470b8146e7f0a3692d6caf8d306c21f47136cb8571bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6aaa721c32a6386d16837bd8188a051a51e22b589729fbbcec7028c9667611dbaab1da1709b2ef30cacb939e8b8d39d9d1db4c6e041d493ee36aca61c14dacb1
|
7
|
+
data.tar.gz: 13f61111a8cc9fa43708f4c038188b230103989caffb09002382ca1602fee89209c4753cdcff1ffe863a95e7dc53814fd34c85b2ffed66e43b47e0e1d565edc5
|
data/README.md
CHANGED
@@ -25,6 +25,7 @@ This is a clean and simple Jekyll Theme built with the [Bulma](https://bulma.io/
|
|
25
25
|
* [Callouts](#callouts)
|
26
26
|
* [Favicon](#favicon)
|
27
27
|
* [Showcases](#showcases)
|
28
|
+
* [Disqus](#disqus)
|
28
29
|
* [Contributing](#contributing)
|
29
30
|
* [Development](#development)
|
30
31
|
* [Licence](#licence)
|
@@ -455,6 +456,20 @@ showcase: showcase_example
|
|
455
456
|
show_sidebar: false
|
456
457
|
```
|
457
458
|
|
459
|
+
### Disqus
|
460
|
+
|
461
|
+
Disqus comments are available for posts. To be able to use them, you need to set your disqus shortname in `_config.yml`. Then you need to set your Jekyll environment to production:
|
462
|
+
|
463
|
+
```JEKYLL_ENV=production bundle exec jekyll build```.
|
464
|
+
|
465
|
+
Comments are enabled by default. If you want to disable them, set in the front matter this setting:
|
466
|
+
|
467
|
+
```markdown
|
468
|
+
comments: false
|
469
|
+
```
|
470
|
+
|
471
|
+
|
472
|
+
|
458
473
|
## Contributing
|
459
474
|
|
460
475
|
Bug reports and pull requests are welcome on GitHub at https://github.com/chrisrhymes/bulma-clean-theme. 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
|
+
|
3
|
+
<div id="disqus_thread"></div>
|
4
|
+
<script>
|
5
|
+
var disqus_config = function () {
|
6
|
+
this.page.url = '{{ page.url | absolute_url }}';
|
7
|
+
this.page.identifier = '{{ page.url | absolute_url }}';
|
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" rel="nofollow">comments powered by Disqus.</a></noscript>
|
17
|
+
{% endif %}
|
data/_layouts/post.html
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bulma-clean-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- chrisrhymes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -146,6 +146,7 @@ files:
|
|
146
146
|
- LICENSE.txt
|
147
147
|
- README.md
|
148
148
|
- _includes/callouts.html
|
149
|
+
- _includes/disqus.html
|
149
150
|
- _includes/footer-scripts.html
|
150
151
|
- _includes/footer.html
|
151
152
|
- _includes/google-analytics.html
|