Skip to content

Instantly share code, notes, and snippets.

@joar
Created September 23, 2012 20:01
Show Gist options
  • Save joar/3772871 to your computer and use it in GitHub Desktop.
Save joar/3772871 to your computer and use it in GitHub Desktop.
jekyll + talkatv non-js setup
pygments: true
base_url: "http://wandborg.se"
<div class="comments">
<div id="talkatv-comments"></div>
<script>
var talkatv_home = 'http://talka.tv';
// use /talkatv.js instead of /static/js...
var talkatv_shortcut = true;
document.write(unescape('%3Cscript src="'
+ talkatv_home + (window.talkatv_shortcut
? '/talkatv.js' : '/static/js/talkatv.js')
+ '" type="text/javascript"%3E%3C/script%3E'));
</script>
<noscript>
<p>
You don't seem to have JavaScript enabled!
Head over to <a href="http://talka.tv/comment/list/?url={{ site.base_url }}{{ page.url }}">
the static comment page</a> to read and post comments.
</p>
</noscript>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment