edit ditto.js

This commit is contained in:
ruanyf
2014-04-26 01:12:40 +08:00
parent 1784110139
commit d300fb2db9
+8
View File
@@ -208,6 +208,14 @@ function router() {
normalize_paths();
create_page_anchors();
DISQUS.reset({
reload: true,
config: function () {
this.page.identifier = location.hash;
this.page.url = location.href;
}
});
$('#content code').map(function() {
Prism.highlightElement(this);
});