only show comments on non-pages, and add noscript text
This commit is contained in:
@@ -2,7 +2,6 @@ $(document).ready(function() {
|
||||
|
||||
// check if we show a blog post or not. Regex is defined in site-wide config
|
||||
var patt = new RegExp(BlogRegex);
|
||||
console.log(patt);
|
||||
var isArticle = patt.test(RelPermalink);
|
||||
if (isArticle === false) {
|
||||
console.log("Not a blog post, no need to search for comments");
|
||||
|
||||
Reference in New Issue
Block a user