graff implements for air theme. used for studio homepage.
|
|
преди 4 години | |
|---|---|---|
| sections | преди 4 години | |
| src | преди 4 години | |
| themes | преди 4 години | |
| .gitignore | преди 4 години | |
| Makefile | преди 4 години | |
| README.md | преди 4 години | |
| STORY | преди 4 години | |
| __init__.py | преди 4 години | |
| apidoc.json | преди 4 години | |
| build.py | преди 4 години | |
| config.py | преди 4 години | |
| requirements.txt | преди 4 години | |
| site.toml | преди 4 години |
graff_air is a business homepage template.
see STORY
The template engine is mustache
added ['file']=filename
added lambdas ['lambdas']['name']=function
hash
{
"username": "admin"
}
{{# lambdas.equal_output }}
{{username}}==admin ? red : black
{{/ lambdas.equal_output }}
Output:
red
pip install -r requirements.txt
python build.py
Try to hack by changing the .mustache files, or site.toml file, even edit the theme to examine what will happen.