Compare commits
1 Commits
75e80c5993
...
cc86aa1d6d
Author | SHA1 | Date | |
---|---|---|---|
|
cc86aa1d6d |
@ -12,6 +12,7 @@ landing_page="index.html"
|
|||||||
|
|
||||||
[post]
|
[post]
|
||||||
accepted_images= ["jpg", "JPG", "png", "PNG"]
|
accepted_images= ["jpg", "JPG", "png", "PNG"]
|
||||||
|
trailing_punctuation = ".,)!?>];:"
|
||||||
# true = add <p></p> tags to each line.
|
# true = add <p></p> tags to each line.
|
||||||
tag_paragraphs=true
|
tag_paragraphs=true
|
||||||
# apply <p> tags even if a line contains the following
|
# apply <p> tags even if a line contains the following
|
||||||
@ -85,4 +86,3 @@ title="Your Microblog Title Here"
|
|||||||
title_tagged = "#{__tagname__} on {__title__}"
|
title_tagged = "#{__tagname__} on {__title__}"
|
||||||
url = "https://yourdomain.tld/microblog/"
|
url = "https://yourdomain.tld/microblog/"
|
||||||
description = "Your description here."
|
description = "Your description here."
|
||||||
trailing_punctuation = ".,)!?>];:"
|
|
||||||
|
@ -545,6 +545,8 @@ if __name__ == "__main__":
|
|||||||
tl, tc, tg = get_posts(p, cfg["post"], new_posts)
|
tl, tc, tg = get_posts(p, cfg["post"], new_posts)
|
||||||
if tl == []:
|
if tl == []:
|
||||||
return
|
return
|
||||||
|
if "rss" in cfg and "post" in cfg:
|
||||||
|
cfg["rss"]["trailing_punctuation"] = cfg["post"]["trailing_punctuation"]
|
||||||
# main timeline
|
# main timeline
|
||||||
updated = []
|
updated = []
|
||||||
updated += writepage(tpl, tl, tc, cfg["page"],
|
updated += writepage(tpl, tl, tc, cfg["page"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user