Disqus support added. Credit to konami-js:

This commit is contained in:
Claudio Maggioni 2016-07-07 21:24:48 +02:00
parent fdb47bde36
commit e3ff14a929
10 changed files with 50 additions and 5 deletions

View file

@ -13,7 +13,6 @@ description: > # this means to ignore newlines until "baseurl:"
baseurl: "" # the subpath of your site, e.g. /blog
url: "http://praticamentetilde.github.io" # the base hostname & protocol for your site
github_username: praticamentetilde
future: true
# Build settings
markdown: kramdown

22
_includes/disqus.html Normal file
View file

@ -0,0 +1,22 @@
<div id="disqus_thread" style="background: #212121"></div>
<script>
/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables
*/
/*
var disqus_config = function () {
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
*/
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = '//ramblingsofanarcherarcher.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>

View file

@ -13,3 +13,4 @@ layout: main
</div>
</article>
{% include disqus.html %}

View file

@ -84,7 +84,7 @@
<p>If you are curious about the code i produce my personal Github account is <a href="https://github.com/praticamentetilde/">here</a>. This particular site is made with jekyll and hosted by Github pages, as you can see.</p>
<p>PRO tip: try performing a Konami code in the home page…</p>
<p>PRO tip: try performing a Konami code in the home page (for phones slide up, slide up, slide down, slide down, slide left, slide right, slide left, slide right, tap, tap; made with <a href="https://github.com/snaptortoise/konami-js">this</a>)</p>
</div>

View file

@ -6,8 +6,8 @@
</description>
<link>http://praticamentetilde.github.io/</link>
<atom:link href="http://praticamentetilde.github.io/feed.xml" rel="self" type="application/rss+xml"/>
<pubDate>Thu, 07 Jul 2016 21:01:32 +0200</pubDate>
<lastBuildDate>Thu, 07 Jul 2016 21:01:32 +0200</lastBuildDate>
<pubDate>Thu, 07 Jul 2016 21:23:45 +0200</pubDate>
<lastBuildDate>Thu, 07 Jul 2016 21:23:45 +0200</lastBuildDate>
<generator>Jekyll v3.1.6</generator>
<item>

View file

@ -154,6 +154,29 @@ Last thing: I discovered that my Bluetooth dongle is CSR 8510 A10 based so expec
</div>
</article>
<div id="disqus_thread" style="background: #212121"></div>
<script>
/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables
*/
/*
var disqus_config = function () {
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
*/
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = '//ramblingsofanarcherarcher.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
</div>
</div>

View file

@ -8,4 +8,4 @@ My name is Claudio Maggioni and I am both an Arch Linux user and an [recurve arc
If you are curious about the code i produce my personal Github account is [here](https://github.com/praticamentetilde/). This particular site is made with jekyll and hosted by Github pages, as you can see.
PRO tip: try performing a Konami code in the home page...
PRO tip: try performing a Konami code in the home page (for phones slide up, slide up, slide down, slide down, slide left, slide right, slide left, slide right, tap, tap; made with [this](https://github.com/snaptortoise/konami-js))...