Skip to content

Commit

Permalink
Merge pull request #224 from zhheo/patch-1
Browse files Browse the repository at this point in the history
修复了在google搜索索引中出现大量网址尚未收录到Google的情况解决方案
  • Loading branch information
anzhiyu-c authored Jun 12, 2024
2 parents d7409c3 + 4faadef commit 53caf67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/helpers/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ hexo.extend.helper.register("cloudTags", function (options = {}) {
});

hexo.extend.helper.register("urlNoIndex", function (url = null) {
return prettyUrls(url || this.url, { trailing_index: false, trailing_html: false });
return prettyUrls(url || this.url, { trailing_index: false, trailing_html: true });
});

hexo.extend.helper.register("md5", function (path) {
Expand Down

0 comments on commit 53caf67

Please sign in to comment.