1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

tmpl: add docs for variables

This commit is contained in:
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

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_