Created
March 1, 2014 00:31
-
-
Save matijagrcic/9282802 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="discourse-comments"></div> | |
<script type="text/javascript"> | |
var discourseUrl = "http://discourse.yourdomain.com/", //root URL of your Discourse forum | |
discourseEmbedUrl = 'http://yourdomain.com/discourse-on-ghost.html'; //URL of your blog post | |
(function() { | |
var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true; | |
d.src = discourseUrl + 'javascripts/embed.js'; | |
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d); | |
})(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment