From aa5a5bf3c406641f84b6f5d208632381c81d6260 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Wed, 13 Apr 2011 14:53:34 -0700 Subject: [PATCH] Clarify partials documentation a touch. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d52003..4ce98ed 100644 --- a/README.md +++ b/README.md @@ -125,8 +125,9 @@ If you wish to make use of partials (e.g. `{{>subtmpl}}`) you must provide a return new FileReader(new File(templateDir, name)); } }); - String tmpl = "...some template..."; + String tmpl = "...{{>subtmpl}}..."; c.compile(tmpl).execute(); + // will load `new File(templateDir, "subtmpl")` when compiling the template Extensions ==========