Merge pull request #361 from guettli/patch-5

fix typo "fot a template"

thank you!
This commit is contained in:
1cg 2021-02-09 12:22:06 -07:00 committed by GitHub
commit 47567bc294
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ When you add this extension on an element, any element below it in the DOM can u
the template the standard way for that template engine:
* `mustache` - looks a mustache <script> tag up by ID for the template content
* `handlebars` - looks in the `Handlebars.partials` collection fot a template with that name
* `handlebars` - looks in the `Handlebars.partials` collection for a template with that name
* `nunjucks` - resolves the template by name via `nunjucks.render(<template-name>)
The AJAX response body will be parsed as JSON and passed into the template rendering.