diff --git a/bleh.txt b/bleh.txt index b2e81b5..06d1b0e 100644 --- a/bleh.txt +++ b/bleh.txt @@ -1,7 +1,7 @@ -Each dir defines a path, asset storage or blog index +Each dir defines a base, 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") `` +Pages are dirs with a single file html Jinja2 template file (index.html). They may also include an asset dir (assets/) 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 @@ -11,3 +11,20 @@ this is how you'd define a page - assets/ - img.png - text.txt + +# config.toml + +the config is used to see what type of dir (Page, AssetStore or BlogIndex) it is, and is the first thing that is loaded for the dir. +The config also describes what path the page is. + +```toml +type = "page" +# OR +# type = "base" +# type = "asset_store" +# type = "blog_index" + +path = "/" +# OR +# path = "/meow" +# path = "/meow.html"