retain xml tags when replacing date
use correct domain in links
This commit is contained in:
parent
0051889d04
commit
f7161cc47f
2 changed files with 5 additions and 2 deletions
|
@ -43,7 +43,10 @@ def main():
|
|||
|
||||
print(
|
||||
re.sub(
|
||||
updated_pattern, newest_datetime.strftime(datetime_pattern), feed, count=1
|
||||
updated_pattern,
|
||||
f"<updated>{newest_datetime.strftime(datetime_pattern)}</updated>",
|
||||
feed,
|
||||
count=1,
|
||||
),
|
||||
end="",
|
||||
)
|
||||
|
|
|
@ -12,7 +12,7 @@ author:
|
|||
username: pim
|
||||
avatar: /assets/img/avatar.jpg
|
||||
|
||||
url: "https://pim.kunis.nl"
|
||||
url: "https://pim.kun.is"
|
||||
baseurl: "/"
|
||||
permalink: /:title/
|
||||
|
||||
|
|
Reference in a new issue