From 69d7aabe63b45c1ed1653a79beeac3d8a02e132d Mon Sep 17 00:00:00 2001 From: curben Date: Thu, 30 May 2019 18:04:31 +0930 Subject: [PATCH] feat: add Google Webmaster exclude the verification file from sitemap.xml --- source/google5149b8b3449442e3.html | 1 + themes/typing/scripts/sitemap/generator.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 source/google5149b8b3449442e3.html diff --git a/source/google5149b8b3449442e3.html b/source/google5149b8b3449442e3.html new file mode 100644 index 0000000..322b502 --- /dev/null +++ b/source/google5149b8b3449442e3.html @@ -0,0 +1 @@ +google-site-verification: google5149b8b3449442e3.html diff --git a/themes/typing/scripts/sitemap/generator.js b/themes/typing/scripts/sitemap/generator.js index afe00db..c6e1432 100644 --- a/themes/typing/scripts/sitemap/generator.js +++ b/themes/typing/scripts/sitemap/generator.js @@ -7,7 +7,8 @@ module.exports = function (locals) { const config = this.config const skipRenderList = [ '*.js', - '*.css' + '*.css', + 'google5149b8b3449442e3.html' ] if (Array.isArray(config.skip_render)) {