This is a short doc of my website engine
This WILL change in some places!
This is a short doc of my website engine
This WILL change in some places!
Page structure is defined in .json file. This file has two main sections: "vars" - handling all immediate values, and "blocks" - containing blocks that need to be rendered
Here is an example file:
{
"vars": {
"page-title": "Example"
"page-template": "raw.html"
...
},
"blocks": {
"navbar": ...
"page-elements": ...
}
}Page templates are structures on which engine builds your pages. They are normal .html files, with special tags in them.