i did some stuff
This commit is contained in:
58
bleh.txt
58
bleh.txt
@@ -1,47 +1,13 @@
|
||||
- templete-serve
|
||||
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
|
||||
- home
|
||||
- id: "MAINHOME"
|
||||
- type: root
|
||||
- assets
|
||||
- pngs & mp4's
|
||||
- base
|
||||
- config.toml
|
||||
- id: "base"
|
||||
- tags: []
|
||||
- title: ""
|
||||
- type: page
|
||||
- path: Empty, Not meant to be visited
|
||||
- comment: "Base page that others can extend from"
|
||||
- extras
|
||||
- index.html
|
||||
- home
|
||||
- config.toml
|
||||
- id: "mainHome"
|
||||
- tags: ["home"]
|
||||
- title: "home"
|
||||
- type: page
|
||||
- path: "/"
|
||||
- extras
|
||||
- web stamps
|
||||
- extra data yk
|
||||
- index.html
|
||||
- second
|
||||
- config.toml
|
||||
- id: "secondPage"
|
||||
- tags: ["second", "2"]
|
||||
- title: "bleh"
|
||||
- type: page
|
||||
- path: "/second"
|
||||
- extras
|
||||
- web stamps
|
||||
- extra data yk
|
||||
- index.html
|
||||
- 404
|
||||
- config.toml
|
||||
- id: "404page"
|
||||
- tags: ["fallback"]
|
||||
- title: "home"
|
||||
- type: page
|
||||
- path: "/404"
|
||||
- index.html
|
||||
- index.html
|
||||
- assets/
|
||||
- img.png
|
||||
- text.txt
|
||||
|
||||
Reference in New Issue
Block a user