|
|
8 years ago | |
|---|---|---|
| src | 8 years ago | |
| .editorconfig | 8 years ago | |
| .gitignore | 8 years ago | |
| Cargo.lock | 8 years ago | |
| Cargo.toml | 8 years ago | |
| README.md | 8 years ago | |
Can be used for blogs or general static pages
Commands:
All pages go into the content folder. Subfolder represents a list of content, ie
├── content
│ ├── posts
│ │ └── intro.md
│ └── some.md
some.md will be accessible at mywebsite.com/some and there will be other pages:
mywebsite.com/posts that will list all the pages contained in the posts foldermywebsite.com/posts/introGet all .md files in content, remove the content/ prefix to their path
Split the file between front matter and content
Parse the front matter
markdown -> HTML for the content
config.tomlverbosity config variable with a default