lots of fixes and more EJS
This commit is contained in:
33
data/example-config.json
Executable file
33
data/example-config.json
Executable file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"seperator": "<hr/>",
|
||||
"site_name": "My Blog",
|
||||
"site_url": "https://example.com",
|
||||
"language": "en",
|
||||
"port": 8080,
|
||||
"allow_signup": true,
|
||||
"site_description": "Read my blogs!",
|
||||
"timeline_length": 20,
|
||||
"enable_hitcount": true,
|
||||
"charset": "UTF-8",
|
||||
"root_path": "/home/deadvey/code/web/blogger-webroot/",
|
||||
"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",
|
||||
"string": {
|
||||
"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",
|
||||
"rss_disabled": "Sorry, RSS is disabled",
|
||||
"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>"
|
||||
},
|
||||
"css": ""
|
||||
}
|
8
data/package.json
Executable file
8
data/package.json
Executable file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"date-fns": "^4.1.0",
|
||||
"ejs": "^3.1.10",
|
||||
"express": "^5.1.0",
|
||||
"showdown": "^2.1.0"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user