diff --git a/CONFIG.md b/CONFIG.md index 971ace9..2621703 100755 --- a/CONFIG.md +++ b/CONFIG.md @@ -44,52 +44,7 @@ Read more at [date-fns](https://date-fns.org/v4.1.0/docs/format)
String. Your offset from UTC ## Advanced Customisation -All of these customisations support format indicators
-Format indicatos are a % sign followed by a character and represent a piece of information
-relevant to the data at hand. Below is a list of all format indicators:
-* %% - 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) -* %O - URL to edit this post -* %P - URL to create a new post -* %Q - URL to sign up -* %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 -### Header's -* "timeline_header": "\%Y\\%W\\Create Post\\
\
RSS Feed\\
\
Sign Up\\
\
Delete Account\\
Hit count: %H%S"
- String. The format of the header peice of the home page/timeline page, example includes the site name, desciption and some relevant links. -* "user_page_header": "\%F's posts:\%I%S"
- String. The format of the header peice of the user page which contains all posts from a particular user. example includes the prettyname and their description. -* "tag_page_header": "\Posts tagged: %G\%S"
- String. The format of the header peice of the tag page which contains all posts with a particular tag, example includes the tag name. -### Post's -* "user_post_format": "\%T\\%C\\%B\\
\
Permalink\\<\br/\\>%X%M%S"
- String. The format of posts on the users page. Example includes title, content, tags, permalink and comments. -* "post_page_format": "\%T\\%C\\%B\\
\By \
%N\\\
\
Edit Post\\
\Posted: %D\\
\Edited: %E\%S%X%M%S"
- String. The format of the post on the post's page. Example includes title, content, tags, user page hyperlink, edit post hyperlink, publish date, modified date and comments. -* "timeline_post_format": "\%T\\%C\\
Permalink\\<\br/\\>\By \%N\\%X%M%S"
- String. The format of the posts on the timeline, example includes title, content, permalink, user page hyperlink and comments. -* "tag_post_format": "\%T\\%C\\%B\\
\
Permalink\\
\By \
%N\\%S"
- String. The format of the posts on the tag page, example includes title, content, permalink and user page hyperlink. -### Other -* "site_wide_footer": "Site is ran by DeaDvey\
%Z"
- String. The format of the site wide footer, shown on every page. +* /views/* files are EJS files (used for formatting HTML) and can be editted to your liking, you might want to read [the EJS docs](https://ejs.co/#docs) for help. * "css": "body { background: red; }"
String. Custom CSS to be applied to all pages, if you want more complex css, you can edit custom.css.