forked from deadvey/blogger-nodejs
commenting
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
export const seperator = "<hr/>"
|
||||
export const comment_indent = "| "
|
||||
export const site_name = "Deadvey's Blog"
|
||||
export const site_url = "https://deadvey.com"
|
||||
export const port = 8080
|
||||
@@ -9,6 +10,9 @@ export const charset = "UTF-8" // Don't change unless you know why
|
||||
// Anything in this directory will be in the webroot, so put favicon.ico and anything else here.
|
||||
export const root_path = "/var/www/deadvey.com/blog"
|
||||
|
||||
// Default username if no username is inputted in comment submission
|
||||
export const default_username = "Anon"
|
||||
|
||||
//export const federation = true
|
||||
//export const fediverse_url = "deadvey.com"
|
||||
export const rss = true
|
||||
@@ -31,6 +35,7 @@ export const time_zone = "+0000"
|
||||
// %H - Frontpage hit count
|
||||
// %I - User description
|
||||
// %L - URL Permanent link to the post
|
||||
// %M - comments
|
||||
// %N - the username of the user (poster)
|
||||
// %P - URL to create a new post
|
||||
// %O - URL to edit this post
|
||||
@@ -38,6 +43,7 @@ export const time_zone = "+0000"
|
||||
// %S - post seperator as defined by post_seperator
|
||||
// %T - Title
|
||||
// %U - URL the the user (poster)
|
||||
// %X - Comment submission box
|
||||
// %Y - Site Name as defined by site_name
|
||||
// %W - Site Description as defined by site_description
|
||||
// %Z - Attribution (to me) and source code link and license
|
||||
@@ -65,6 +71,9 @@ export const post_page_format = `<h1>%T</h1>
|
||||
<a href="%O">Edit Post</a><br/>
|
||||
<i>Posted: %D</i><br/>
|
||||
<i>Edited: %E</i>
|
||||
%S
|
||||
%X
|
||||
%M
|
||||
%S`
|
||||
export const timeline_post_format = `<h3>%T</h3>
|
||||
<p>%C</p>
|
||||
|
||||
Reference in New Issue
Block a user