summaryrefslogtreecommitdiff
path: root/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'build.py')
-rwxr-xr-xbuild.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.py b/build.py
index 56196d2..3394180 100755
--- a/build.py
+++ b/build.py
@@ -31,6 +31,8 @@ class Post:
posts = []
for post in os.listdir(__here__ / "posts"):
+ if len(post) < 3:
+ continue
with open(__here__ / "posts" / post, "r") as f:
content = md.convert(f.read())
kwargs = dict()