diff --git a/js/ditto.js b/js/ditto.js index 916fe90..9f1960e 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -16,6 +16,17 @@ var ditto = { run: initialize }; +var disqusCode = '
' + + ''; + + function initialize() { // initialize sidebar and buttons if (ditto.sidebar) { @@ -185,7 +196,7 @@ function router() { var loading = show_loading(); $.get(path , function(data) { $(ditto.error_id).hide(); - $(ditto.content_id).html(marked(data)); + $(ditto.content_id).html(marked(data)+disqusCode); if ($(ditto.content_id+" h1").text() === ditto.document_title){ document.title = ditto.document_title; } else {