diff options
Diffstat (limited to '')
-rwxr-xr-x | pyblog | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -722,7 +722,8 @@ def generate_blog(fresh=False, report_total_errors=True): if name.startswith('.'): continue extension = name.split(".")[-1] - if extension not in ["css", "jpg", "md", "png", "svg", "ico", "txt"]: + if extension not in ["css", "jpg", "md", "png", "svg", "ico", "txt", + "eot", "ttf", "woff", "woff2"]: continue relpath = os.path.join(relroot, name) @@ -738,7 +739,8 @@ 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", "jpg", "png", "svg", "ico", "txt", + "eot", "ttf", "woff", "woff2"]: sys.stderr.write("copying %s\n" % relpath) shutil.copy(srcpath, dstpath) elif extension == "md": |