tmpl: add docs for variables

pull/5516/head
Daniel Däschle 2020-06-26 15:02:49 +02:00 committed by GitHub
parent 692ca8ac83
commit 8903f6e0c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -97,7 +97,6 @@ Project root
- base.html - base.html
``` ```
`index.html` `index.html`
```html ```html
<div>@include 'header/base'</div> <div>@include 'header/base'</div>
@ -105,5 +104,4 @@ Project root
> Note that there shouldn't be a file suffix, it is automatically appended and only allows `html` files. > Note that there shouldn't be a file suffix, it is automatically appended and only allows `html` files.
# Variables # Variables
All variables which are declared before can be used through the `@{my_var}` syntax. It's also possible to use properties of structs here like `@{my_struct.prop}`.
_In Progress_