diff --git a/config.js b/config.js deleted file mode 100755 index 35531ba..0000000 --- a/config.js +++ /dev/null @@ -1,156 +0,0 @@ -export const seperator = "
" -export const comment_indent = "| " -export const site_name = "Deadvey's Blog" -export const site_url = "https://deadvey.com" -export const port = 8080 -export const site_description = "Films, tech, random shit" -export const timeline_length = 20 -export const enable_hitcount = true // Can slow down page loading a bit -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 -export const rss_path = "/rss" - -// https://date-fns.org/v4.1.0/docs/format -export const date_format = "yyyy-MM-dd" -export const time_zone = "+0000" - -//// Format ///// -// The syntax for this is pretty simple -// %% - A literal % -// %A - List of tags -// %B - List of tags, each one with a hyperlink to that tag page -// %C - Post content -// %D - Published date in the format specified by date_format -// %E - Edited date in the format specified by date_format -// %F - Pretty name -// %G - Tag name (used for the tag page only) -// %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 -// %R - Site wide RSS feed -// %S - post seperator as defined by post_seperator -// %T - Title -// %U - URL the the user (poster) -// %W - Site Description as defined by site_description -// %X - Comment submission box -// %Y - Site Name as defined by site_name -// %Z - Attribution (to me) and source code link and license - -export const timeline_header = `

%Y

-

%W

-Create Post
-RSS Feed
-Hit count: %H -%S` -export const user_page_header = `

%F's posts:

-%I -%S` -export const tag_page_header = `

Posts tagged: %G

%S` -// --------------------------------------------- -export const user_post_format = `

%T

-

%C

-%B
-Permalink
-%X -%M -%S` -export const post_page_format = `

%T

-

%C

-%B
-By %N
-Edit Post
-Posted: %D
-Edited: %E -%S -%X -%M -%S` -export const timeline_post_format = `

%T

-

%C

-Permalink
-By %N -%X -%M -%S` -export const tag_post_format = `

%T

-

%C

-%B
-Permalink
-By %N -%S` -// ------------------------------------- -export const site_wide_footer = `Site is ran by DeaDvey
-%Z` - - -/// Custom CSS to be applied to every page -export const css = ` -@media (prefers-color-scheme: light) { - body { - background: #ebdbb2; - color: #282828; - } - code { - background: #bdae93; - } - a { - color: #076678; - text-decoration: none; - } - a:visited { - color: #8f3f71; - } - input,textarea,button { - background: #ebdbb2; - color: #282828; - border: 1px solid #282828; - } - table { - border: solid 1px #282828; - } -} -@media (prefers-color-scheme: dark) { - body { - background: #282828; - color: #ebdbb2; - } - code { - background: #665c54; - box-decoration-break: clone; - display: block; - white-space: pre; - max-width: 50%; - min-width: 100px; - } - a { - color: #83a598; - text-decoration: none; - } - a:visited { - color: #d3869b; - } - input,textarea,button { - background: #282828; - color: #ebdbb2; - border: 1px solid #ebdbb2; - } - table, td, th { - border: solid 1px #ebdbb2; - } -} -` - -// pretty please don't change this -export const attribution = "Powered by blogger-nodejs: Source Code, license (WTFPL)"