Compare commits

..

1 Commits

Author SHA1 Message Date
Eloi Torrents
75e80c5993 expose trailing_punctuation to rss 2025-09-05 12:29:08 +02:00
2 changed files with 1 additions and 3 deletions

View File

@ -12,7 +12,6 @@ landing_page="index.html"
[post]
accepted_images= ["jpg", "JPG", "png", "PNG"]
trailing_punctuation = ".,)!?>];:"
# true = add <p></p> tags to each line.
tag_paragraphs=true
# apply <p> tags even if a line contains the following
@ -86,3 +85,4 @@ title="Your Microblog Title Here"
title_tagged = "#{__tagname__} on {__title__}"
url = "https://yourdomain.tld/microblog/"
description = "Your description here."
trailing_punctuation = ".,)!?>];:"

View File

@ -545,8 +545,6 @@ if __name__ == "__main__":
tl, tc, tg = get_posts(p, cfg["post"], new_posts)
if tl == []:
return
if "rss" in cfg and "post" in cfg:
cfg["rss"]["trailing_punctuation"] = cfg["post"]["trailing_punctuation"]
# main timeline
updated = []
updated += writepage(tpl, tl, tc, cfg["page"],