mirror of
https://github.com/lubuntu-team/blog.git
synced 2025-04-16 01:41:07 +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
|
slug: disco-start
|
||||||
type: ["newsletter"]
|
type: ["newsletter"]
|
||||||
|
@ -116,7 +116,7 @@ def main():
|
|||||||
|
|
||||||
post = None
|
post = None
|
||||||
for post in posts:
|
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)
|
updatepost(post=post, title=post.title, infoyaml=infoyaml, md=md)
|
||||||
post = True
|
post = True
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user