Files
blogger-nodejs/example-config.json
2025-07-22 00:17:00 +01:00

38 lines
2.1 KiB
JSON
Executable File

{
"seperator": "<hr/>",
"site_name": "My Blog",
"site_url": "https://example.com",
"port": 8080,
"allow_signup": true,
"site_description": "Read my blogs!",
"timeline_length": 20,
"enable_hitcount": true,
"charset": "UTF-8",
"root_path": "/path/to/root/of/website",
"delete_account_url": "/delete_account",
"new_post_url": "/post",
"signup_url": "/signup",
"edit_post_base_url": "/edit",
"default_comenter_username": "Anon",
"rss": true,
"rss_url": "/rss",
"date_format": "yyyy-MM-dd",
"time_zone": "+0000",
"timeline_header": "<h1>%Y</h1><h2>%W</h2><a href='%P'>Create Post</a><br/><a href='%R'>RSS Feed</a><br/><a href='%Q'>Sign Up</a><br/><a href='%D'>Delete Account</a><br/>Hit count: %H%S",
"user_page_header": "<h1>%F's posts:</h1>%I%S",
"tag_page_header": "<h1>Posts tagged: %G</h1>%S",
"user_post_format": "<h2>%T</h2><p>%C</p><i>%B</i><br/><a href='%L'>Permalink</a><br/>%X%M%S",
"post_page_format": "<h1>%T</h1><p>%C</p><i>%B</i><br/><i>By <a href='%U'>%N</a></i><br/><a href='%O'>Edit Post</a><br/><i>Posted: %D</i><br/><i>Edited: %E</i>%S%X%M%S",
"timeline_post_format": "<h3>%T</h3><p>%C</p><a href='%L'>Permalink</a><br/><i>By <a href='%U'>%N</a></i>%X%M%S",
"tag_post_format": "<h3>%T</h3><p>%C</p><i>%B</i><br/><a href='%L'>Permalink</a><br/><i>By <a href='%U'>%N</a></i>%S",
"site_wide_footer": "Site is ran by DeaDvey<br/>%Z",
"signup_agreement": "I agree to not post illegal or hateful content",
"signups_unavailable": "Sorry, this server does not allow signups",
"user_exists": "Sorry, this user already exists, try a different username",
"user_doesnt_exist": "Sorry, this user does not exist",
"delete_account_confirmation": "I agree that my account and all of my posts will be permanently deleted instantly",
"incorrect_password": "Incorrect Password",
"css": "",
"attribution": "Powered by blogger-nodejs: <a href='https://git.javalsai.tuxcord.net/deadvey/blogger-nodejs'>Source Code</a>, <a href='https://git.javalsai.tuxcord.net/deadvey/blogger-nodejs/raw/branch/master/LICENSE'>license (WTFPL)</a>"
}