mirror of
https://github.com/lubuntu-team/blog.git
synced 2025-03-09 20:51:07 +00:00
Don't forget to replace COLON in the title too.
This commit is contained in:
parent
fb63be2efc
commit
abe8636c92
@ -61,7 +61,7 @@ def main():
|
||||
html = open("l10n-template.html", "r", encoding="utf-8")
|
||||
htmltext = html.read()
|
||||
translatedtext = htmltext.replace("POSTCONTENT", md)
|
||||
translatedtext = translatedtext.replace("TITLE", infoyaml["title"].replace("POUND", "#"))
|
||||
translatedtext = translatedtext.replace("TITLE", infoyaml["title"].replace("POUND", "#").replace("COLON", ":"))
|
||||
translatedtext = translatedtext.replace("SLUG", infoyaml["slug"])
|
||||
|
||||
l10nfile = open(slugdir + lang + "/index.html", "w")
|
||||
|
Loading…
x
Reference in New Issue
Block a user