diff options
Diffstat (limited to 'examples/templates')
| -rw-r--r-- | examples/templates/index.mustache | 13 | ||||
| -rw-r--r-- | examples/templates/page.mustache | 5 | ||||
| -rw-r--r-- | examples/templates/project.mustache | 2 |
3 files changed, 20 insertions, 0 deletions
diff --git a/examples/templates/index.mustache b/examples/templates/index.mustache new file mode 100644 index 0000000..9933064 --- /dev/null +++ b/examples/templates/index.mustache @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html> + <head> + </head> + <body> + {{meta.project}} + <ul> + {% for project in projects %} + <li>{{project.id}}</li> + {% endfor %} + </ul> + </body> +</html> diff --git a/examples/templates/page.mustache b/examples/templates/page.mustache new file mode 100644 index 0000000..f7d899f --- /dev/null +++ b/examples/templates/page.mustache @@ -0,0 +1,5 @@ +woop +<h1>{{page.title}}</h1> +<p> + {{page.body}} +</p> diff --git a/examples/templates/project.mustache b/examples/templates/project.mustache new file mode 100644 index 0000000..dac1d8d --- /dev/null +++ b/examples/templates/project.mustache @@ -0,0 +1,2 @@ +babaganuj +{{project.id}} |
