jekyll-hackcss 0.1.3 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -0
  3. data/_layouts/post.html +21 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d925ea2777b145c8437daa9738d072a6a0ef8fb6
4
- data.tar.gz: 26e8813b335caf3e88295a2a3d9211d623724510
3
+ metadata.gz: b928362d08cc43c8259eff67bdcaef0e1cb38767
4
+ data.tar.gz: 8d1f3e7202957a5da6849427ca9f4b2de87af3b6
5
5
  SHA512:
6
- metadata.gz: 7a7940319154a0af0a1dadef9d680c09a4bf5b278370bd9b254038f9fd09c528ea63a053a76556cc5bd4ba5a3fe8a6fb3044b7c83d43c8a161d6dec381648221
7
- data.tar.gz: 65a6cd771ad071ec5e0538d56c7c43f72e9ceeea96b08c6f3cdc0ff3c26c6a78cba134e7a882023044c5103c3e1aadefccefa6f1b8a412156b8dccc61dd6a36d
6
+ metadata.gz: f9e51166969596a5b69220ebb0bd31db23b72639081f3b76705b9a15c2837e2d0dead92917bc68d88c3924014a0ab060923e80fbd6cf621a04ce7dc6bfa00d9f
7
+ data.tar.gz: df610da7a0e50a0a2fd0daeb500df2335a601277757d2f6fa7208012e72446345082ee4e89fa7cbb84fb65c22254b710c579f6941c605f28f05c37a9a008acf1
data/README.md CHANGED
@@ -76,6 +76,12 @@ social:
76
76
  - service: twitter
77
77
  username: vinneycavallo
78
78
  link: https://twitter.com/vinneycavallo
79
+
80
+ # if you want to use disqus comments
81
+ disqus:
82
+ shortname: whatever-disqus-settings-say-for-this-parameter
83
+ # make sure to add `comments: true` to a post's frontmatter to display the disqus comments
84
+
79
85
  ```
80
86
 
81
87
  # overriding styles
data/_layouts/post.html CHANGED
@@ -30,3 +30,24 @@ layout: default
30
30
  </div>
31
31
 
32
32
  </article>
33
+ {% if site.disqus.shortname && page.comments %}
34
+ <div id="disqus_thread"></div>
35
+ <script>
36
+ /**
37
+ * RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
38
+ * LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
39
+ /*
40
+ var disqus_config = function () {
41
+ this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
42
+ this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
43
+ };
44
+ */
45
+ (function() { // DON'T EDIT BELOW THIS LINE
46
+ var d = document, s = d.createElement('script');
47
+ s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
48
+ s.setAttribute('data-timestamp', +new Date());
49
+ (d.head || d.body).appendChild(s);
50
+ })();
51
+ </script>
52
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
53
+ {% endif %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-hackcss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - vinney cavallo