From cd964e7aa1771bea9bbcb72a71e22c09b2f33b0d Mon Sep 17 00:00:00 2001 From: Gaohaoyang Date: Wed, 11 May 2016 16:18:11 +0800 Subject: [PATCH] remove redundancy and fix a tag --- _layouts/page.html | 1 - _layouts/post.html | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/_layouts/page.html b/_layouts/page.html index 72ff46c794e..0019dc18c95 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -25,5 +25,4 @@

{{page.title}}

- diff --git a/_layouts/post.html b/_layouts/post.html index 42ad7a14767..952247eb984 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -91,7 +91,7 @@

Comments

* target _blank */ (function() { - var aTags = document.querySelectorAll('article a') + var aTags = document.querySelectorAll('article a:not([id])') for (var i = 0; i < aTags.length; i++) { aTags[i].setAttribute('target', '_blank') }