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:
parent
692ca8ac83
commit
8903f6e0c0
@ -97,7 +97,6 @@ Project root
|
||||
- base.html
|
||||
```
|
||||
|
||||
|
||||
`index.html`
|
||||
```html
|
||||
<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.
|
||||
|
||||
# Variables
|
||||
|
||||
_In Progress_
|
||||
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}`.
|
||||
|
Loading…
Reference in New Issue
Block a user