mirror of
https://github.com/lubuntu-team/blog.git
synced 2025-04-14 01:01:06 +00:00
Substitute : as well, because it's a YAML keyword.
This commit is contained in:
parent
cb5a05fe05
commit
f755b7a162
@ -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"]
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user