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