Vincent Prouillet 7e496878e5 | 7 years ago | |
---|---|---|
src | 7 years ago | |
sublime_themes | 7 years ago | |
test_site | 7 years ago | |
tests | 7 years ago | |
.editorconfig | 8 years ago | |
.gitignore | 7 years ago | |
.travis.yml | 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
Gallery at https://tmtheme-editor.herokuapp.com/#!/editor/theme/Agola%20Dark
config.toml
verbosity
config variable with a default