Update usage.md

This commit is contained in:
Rosia E Evans 2025-03-17 22:04:18 +00:00 committed by GitHub
parent a995e1b3cc
commit 59e63d9872
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,3 +49,9 @@ It also looks for the first <nav></nav> tags and puts the websites navbar in the
Insanity reins free in my code. Due to this, the html templates location is hardcoded in the codebase, so to make your own
templates you'll need to put them in ``Resources/Templates`` in the codebases repo, I should fix this.
## File settings
Individual md files can have settings! The first line of any text file is for its settings, so __always leave the first line of a md file blank__.
Settigs come in the form of single characters, at the moment the only two are:
- `P` to hide a page, this means it will still be hosted but wont be shown on the websites navbar. An of this would be [my quotes page](https://www.rosia.me/Quotes.html)
- `p` to make a page as hidable, this means its on the nav bar, but if you have an employer looking at your site soon, you can run the program with the `-hide` argument and it will hide all those pages till you regenerate them