From f755b7a16289d51c07194f8f9121955ce71a748f Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Thu, 1 Nov 2018 17:52:04 -0500 Subject: [PATCH] Substitute : as well, because it's a YAML keyword. --- posts/release/disco/start/info.yaml | 2 +- update-post | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/posts/release/disco/start/info.yaml b/posts/release/disco/start/info.yaml index 6ddfd44..53f3026 100644 --- a/posts/release/disco/start/info.yaml +++ b/posts/release/disco/start/info.yaml @@ -1,4 +1,4 @@ --- -title: Disco Dingo: The development cycle has started! +title: Disco DingoCOLON The development cycle has started! slug: disco-start type: ["newsletter"] diff --git a/update-post b/update-post index cd3d700..4190cec 100755 --- a/update-post +++ b/update-post @@ -116,7 +116,7 @@ def main(): post = None for post in posts: - if post.title == infoyaml["title"].replace("POUND", "#"): + if post.title == infoyaml["title"].replace("POUND", "#").replace("COLON", ":"): updatepost(post=post, title=post.title, infoyaml=infoyaml, md=md) post = True break