Update CONFIG.md
removed stuff about format indicators
This commit is contained in:
47
CONFIG.md
47
CONFIG.md
@@ -44,52 +44,7 @@ Read more at [date-fns](https://date-fns.org/v4.1.0/docs/format)<br/>
|
||||
String. Your offset from UTC
|
||||
|
||||
## Advanced Customisation
|
||||
All of these customisations support format indicators<br/>
|
||||
Format indicatos are a % sign followed by a character and represent a piece of information<br/>
|
||||
relevant to the data at hand. Below is a list of all format indicators:<br/>
|
||||
* %% - 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": "\<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"<br/>
|
||||
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": "\<h1\>%F's posts:\</h1\>%I%S"<br/>
|
||||
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": "\<h1\>Posts tagged: %G\</h1\>%S"<br/>
|
||||
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": "\<h2\>%T\</h2\>\<p\>%C\</p\>\<i\>%B\</i\>\<br/\>\<a href="%L"\>Permalink\</a\>\<\br/\\>%X%M%S"<br/>
|
||||
String. The format of posts on the users page. Example includes title, content, tags, permalink and comments.
|
||||
* "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"<br/>
|
||||
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": "\<h3\>%T\</h3\>\<p\>%C\</p\>\<a href="%L"\>Permalink\</a\>\<\br/\\>\<i\>By \<a href="%U"\>%N\</a\>\</i\>%X%M%S"<br/>
|
||||
String. The format of the posts on the timeline, example includes title, content, permalink, user page hyperlink and comments.
|
||||
* "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"<br/>
|
||||
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\<br/\>%Z"<br/>
|
||||
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; }"<br/>
|
||||
String. Custom CSS to be applied to all pages, if you want more complex css, you can edit custom.css.
|
||||
|
||||
|
Reference in New Issue
Block a user