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