microblog.py/example/settings.toml

31 lines
716 B
TOML

latestpage="result.html"
[page]
postsperpage = 20
relative_css=["./style.css", "./timeline.css"]
[post]
accepted_images= ["jpg", "JPG", "png", "PNG"]
# true = add <p></p> tags to each line.
tag_paragraphs=true
# adds <br> or user defined string between each line
# line_separator="<br>"
format="""
<div class="postcell" id="{__num__}">
<div class="timestamp">{__timestamp__}
<a href=#{__num__}>(#{__num__})</a>
</div>
<div class="message">{__msg__}</div>
{__btn__}
</div>
"""
[post.buttons]
reply = "mailto:user@host.tld"
test = "https://toml.io/en/v1.0.0#array-of-tables"
interact = "https://yoursite.tld/cgi?postid="
[post.gallery]
path_to_thumb="./thumbs"
path_to_fullsize="./images"