formatting

This commit is contained in:
2025-07-21 00:03:20 +01:00
parent 590d675075
commit fc3a68e476
2 changed files with 3 additions and 6 deletions

View File

@@ -46,10 +46,7 @@ Read more at [date-fns](https://date-fns.org/v4.1.0/docs/format)<br/>
## Advanced Customisation ## Advanced Customisation
All of these customisations support format indicators<br/> All of these customisations support format indicators<br/>
Format indicatos are a % sign followed by a character and represent a piece of information<br/> Format indicatos are a % sign followed by a character and represent a piece of information<br/>
relevant to the data at hand. relevant to the data at hand. Below is a list of all format indicators:<br/>
<details open>
<summary>Format Indicators</summary>
The syntax for this is pretty simple
* %% - A literal % * %% - A literal %
* %A - List of tags * %A - List of tags
* %B - List of tags, each one with a hyperlink to that tag page * %B - List of tags, each one with a hyperlink to that tag page
@@ -74,7 +71,6 @@ relevant to the data at hand.
* %X - Comment submission box * %X - Comment submission box
* %Y - Site Name as defined by site_name * %Y - Site Name as defined by site_name
* %Z - Attribution (to me) and source code link and license * %Z - Attribution (to me) and source code link and license
</details>
### Header's ### 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/> * "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. String. The format of the header peice of the home page/timeline page, example includes the site name, desciption and some relevant links.

View File

@@ -1,6 +1,7 @@
This is a blogging site written in nodejs, all pages are served directly by the nodejs backend.<br/> This is a blogging site written in nodejs, all pages are served directly by the nodejs backend.<br/>
And all data is stored in plaintext<br/>
Please don't use this yet, it's not finished<br/> Please don't use this yet, it's not finished<br/>
In action on my website: [deadvey.com](https://deadvey.com)<br/> See the software in action: [deadvey.com](https://deadvey.com)<br/>
# Confiuration # Confiuration
Read the [configuation guide](CONFIG.md) for configuration help (in config.json) Read the [configuation guide](CONFIG.md) for configuration help (in config.json)