diff options
| author | Sean Fridman <fridman@mail.sfsu.edu> | 2015-04-06 14:41:31 -0400 |
|---|---|---|
| committer | Sean Fridman <fridman@mail.sfsu.edu> | 2015-04-06 15:27:54 -0400 |
| commit | 37d5adf48c9c1b3ee326b631828732927797ca4f (patch) | |
| tree | 238065e667385df6fe082a7b0730cce3665d104f /examples/templates | |
| parent | e3812a56bd699fc9ded7ac66d820c4a4ac845b23 (diff) | |
Move default template location to templates/
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}} |
