jekyll-theme-ascii 0.1.2 → 0.1.3

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: 1de3894a95a07f36c751c6e892ec83585f0749e9d5fc297416d21640860dd487
4
- data.tar.gz: 5f3659d33b6bc94c72b0b3d8c32d98ffc22c8cc3e72fd491b9af32e37ae3f6e1
3
+ metadata.gz: c67743b834b43973c9bbf569ced9dcca0de198f882dab2dbed28465e3e7284b9
4
+ data.tar.gz: 3b79283c1f88062fb345b058f774acec1a4543742f1f9dc1e857632d55ccc061
5
5
  SHA512:
6
- metadata.gz: 909625e788518f4c6ef018cbb87235a996967a81a7647e73ab6e184db034306eaec51a736ec066c24e0ed8e8eeff089bb314909d0fc90d7bdc8f74fe996a62b5
7
- data.tar.gz: 2b3ebb8c2c2906f135bae5266a29e3ee1971ad6c0dacac72a6e81a2b927bce890ca3c4d6efa0b149b122d6f41eaf62233acde28f1160305a441f49aa14435101
6
+ metadata.gz: 32021fb8ec5c27a784b1c209a11ef3bea2b690e6093d56d498084fbbb8a206d9bb0dd4b291033dce5842dddc3b594924ea9810d9691d6e04d11d5f7484bf58bd
7
+ data.tar.gz: 26faf1f646a8414cfd634d358731e01afd4723eb69591afbdc528093f31f690f290065c41272b8111a0de52b769f6fad6d32fe23809e699ad5721cdbd572b956
@@ -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
+ (function () {
9
+ var d = document, s = d.createElement('script');
10
+ s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
11
+ s.setAttribute('data-timestamp', +new Date());
12
+ (d.head || d.body).appendChild(s);
13
+ })();
14
+ </script>
15
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments
16
+ powered by Disqus.</a></noscript>
17
+ {%- endif -%}
data/_layouts/post.html CHANGED
@@ -6,4 +6,8 @@ layout: default
6
6
  {%- assign date_format = "%Y-%m-%d" -%}
7
7
  [ {{ page.date | date: date_format }} ]
8
8
 
9
- {{ content }}
9
+ {{ content }}
10
+
11
+ {%- if site.disqus.shortname -%}
12
+ {%- include disqus_comments.html -%}
13
+ {%- endif -%}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-ascii
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antonio Vázquez Blanco
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-18 00:00:00.000000000 Z
11
+ date: 2022-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -91,6 +91,7 @@ files:
91
91
  - README.md
92
92
  - _config.yml
93
93
  - _includes/custom-head.html
94
+ - _includes/disqus.html
94
95
  - _includes/footer.html
95
96
  - _includes/google-analytics.html
96
97
  - _includes/head.html