aboutsummaryrefslogtreecommitdiff
path: root/pyblog
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xpyblog6
1 files changed, 4 insertions, 2 deletions
diff --git a/pyblog b/pyblog
index 7857fd62..e717caf0 100755
--- a/pyblog
+++ b/pyblog
@@ -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":