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