Compare commits
1 Commits
cc86aa1d6d
...
75e80c5993
Author | SHA1 | Date | |
---|---|---|---|
|
75e80c5993 |
@ -12,7 +12,6 @@ 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
|
||||||
@ -86,3 +85,4 @@ 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,8 +545,6 @@ 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