Vincent Prouillet a99f084ee2 | 7 years ago | |
---|---|---|
src | 7 years ago | |
.editorconfig | 8 years ago | |
.gitignore | 7 years ago | |
Cargo.lock | 7 years ago | |
Cargo.toml | 7 years ago | |
README.md | 7 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/intro
Get 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.toml
verbosity
config variable with a default