summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generate_me.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/generate_me.py b/generate_me.py
index 1c61f06..4e8ca58 100644
--- a/generate_me.py
+++ b/generate_me.py
@@ -96,6 +96,8 @@ for x in os.walk(src_folder):
"md", "html"
)
_post["tags"] = [x.strip() for x in _post["tags"].split(",")]
+ _post["tags"] = [x.replace(" ","-") for x in _post["tags"]]
+ _post["tags"].sort()
_post["image_link"] = "/images/opengraph" + fpath.replace(
src_folder, ""
).replace("md", "png")