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.