12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- # latestpage="result.html"
- latestpages=["meta.json", "result.html"]
- [page]
- postsperpage = 20
- relative_css=["./style.css", "./timeline.css"]
- # this would be "latest.html" in earlier versions i.e
- # user.domain.tld/microblog/tags/tagname/latest.html
- # naming it as index enables paths like so
- # user.domain.tld/microblog/tags/tagname
- landing_page="index.html"
- [post]
- accepted_images= ["jpg", "JPG", "png", "PNG"]
- # true = add <p></p> tags to each line.
- tag_paragraphs=true
- # apply <p> tags even if a line contains the following
- inline_tags = ["i", "em", "b", "strong","u", "s", "a", "span"]
- date_format="%d %B %Y"
- format="""
- <article id="{__num__}">
- <h4>
- <time>{__timestamp__}</time>
- <a href=#{__num__}>(#{__num__})</a>
- </h4>
- {__msg__}
- {__btn__}
- </article>
- """
- [post.buttons]
- format="""
- <a class="buttons" href="{__url__}">{__label__}</a>
- """
- [post.buttons.links]
- 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"
- [webring]
- enabled=false
- file_output="meta.json"
- [webring.profile]
- username="Your name here"
- url="https://yourdomain.tld/microblog/"
- avatar="https://yourdomain.tld/microblog/images/avatar.jpg"
- short-bio= "Your self-description. Anything longer than 150 characters is truncated."
- [webring.following]
- list= ["https://likho.neocities.org/microblog/meta.json"]
- date_format = "%Y %b %d"
- format="""
- <article>
- <figure>
- <img src="{__avatar__}" alt="Avatar" class="avatar">
- <figcaption>
- <ul>
- <li><a href="{__url__}" title="microblog of {__handle__}">{__handle__}</a></li>
- <li><time>Last Update: {__lastupdated__}</time></li>
- <li>Posts: {__post_count__}</li>
- </ul>
- </figcaption>
- </figure>
- <p class="short-bio">{__shortbio__}</p>
- </article>
- """
- # internally link avatars - avoids hotlinks
- [webring.following.internal-avatars]
- enabled=false
- path_to_avatars="/microblog/avatars" # link rendered on page
- local_path_to_avatars="./avatars" # destination folder on pc
|