File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ $ cargo install mdbook-tera-backend
2222### Configuring the backend
2323
2424To enable the backend, simply add ` [output.tera-backend] ` to your ` book.toml ` ,
25- and configure the place where youre templates will live.
26- For instance ` theme/templates ` :
25+ and configure the place where youre templates will live. For instance
26+ ` theme/templates ` :
2727
2828``` toml
2929[output .html ] # You must still enable the html backend.
@@ -47,8 +47,8 @@ Create your template files in the same directory as your book.
4747
4848### Using templates in ` index.hbs `
4949
50- Since the HTML renderer will first render Handlebars templates, we need to tell it to
51- ignore Tera templates using ` {{{{raw}}}} ` blocks:
50+ Since the HTML renderer will first render Handlebars templates, we need to tell
51+ it to ignore Tera templates using ` {{{{raw}}}} ` blocks:
5252
5353``` html
5454{{{{raw}}}} {% set current_language = ctx.config.book.language %}
@@ -61,7 +61,8 @@ Includes names are based on the file name and not the whole file path.
6161
6262### Tera documentation
6363
64- Find out all you can do with Tera templates [ here] ( https://keats.github.io/tera/docs/ ) .
64+ Find out all you can do with Tera templates
65+ [ here] ( https://keats.github.io/tera/docs/ ) .
6566
6667## Changelog
6768
You can’t perform that action at this time.
0 commit comments