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.
- checksums.yaml +4 -4
- data/README.md +6 -0
- data/_layouts/post.html +21 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b928362d08cc43c8259eff67bdcaef0e1cb38767
|
4
|
+
data.tar.gz: 8d1f3e7202957a5da6849427ca9f4b2de87af3b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 %}
|