14 lines
465 B
Plaintext
14 lines
465 B
Plaintext
Each dir defines a path, asset storage or blog index
|
|
|
|
# page
|
|
Pages are single file html Jinja2 template files. They may also include an asset dir for assets local to that dir which can be accessed using a jinja function `` get_local_asset("img.png") ``
|
|
you may also include assets within the page dir directly and use `` get_local_asset("../img.png") ``
|
|
|
|
this is how you'd define a page
|
|
- main_page/
|
|
- config.toml
|
|
- index.html
|
|
- assets/
|
|
- img.png
|
|
- text.txt
|