aboutsummaryrefslogtreecommitdiff
path: root/pyblog
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2016-02-14 15:00:32 -0800
committerZhiming Wang <zmwangx@gmail.com>2016-02-14 15:00:32 -0800
commit7c307997ac7030dc07a81ca3ea279b394ec06bf9 (patch)
tree46d5a37b7ee00618d2b5e39d41625afcd3b9efa8 /pyblog
parent3b538a7206670e73018a3acb00ee52f517dae6cd (diff)
downloadmy_new_personal_website-7c307997ac7030dc07a81ca3ea279b394ec06bf9.tar.xz
my_new_personal_website-7c307997ac7030dc07a81ca3ea279b394ec06bf9.zip
Add site ownership verification file for Google Search Console
I used to have Google Analytics installed which proved my ownership, but since I removed it in 01b3805, I need to prove it in another way, and adding a file that no visitor will notice is the least intrusive.
Diffstat (limited to '')
-rwxr-xr-xpyblog4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyblog b/pyblog
index d23b43c5..9e6f09a5 100755
--- a/pyblog
+++ b/pyblog
@@ -786,7 +786,7 @@ def generate_blog(fresh=False, report_total_errors=True):
continue
extension = name.split(".")[-1]
- if extension not in ["css", "jpg", "md", "png", "svg", "ico", "txt",
+ if extension not in ["css", "html", "jpg", "md", "png", "svg", "ico", "txt",
"eot", "ttf", "woff", "woff2"]:
continue
@@ -803,7 +803,7 @@ def generate_blog(fresh=False, report_total_errors=True):
anything_modified = True
if srcpath == INDEXMD:
continue # index will be processed separately
- if extension in ["css", "jpg", "png", "svg", "ico", "txt",
+ if extension in ["css", "html", "jpg", "png", "svg", "ico", "txt",
"eot", "ttf", "woff", "woff2"]:
sys.stderr.write("copying %s\n" % relpath)
shutil.copy(srcpath, dstpath)