graff implements for air theme. used for studio homepage.
|
|
před 4 roky | |
|---|---|---|
| sections | před 4 roky | |
| src | před 4 roky | |
| themes | před 4 roky | |
| .gitignore | před 4 roky | |
| Makefile | před 4 roky | |
| README.md | před 4 roky | |
| STORY | před 4 roky | |
| __init__.py | před 4 roky | |
| apidoc.json | před 4 roky | |
| build.py | před 4 roky | |
| config.py | před 4 roky | |
| requirements.txt | před 4 roky | |
| site.toml | před 4 roky |
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.