From 8903f6e0c0a45afe46b196e5f1093fc5eb079701 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=C3=A4schle?= Date: Fri, 26 Jun 2020 15:02:49 +0200 Subject: [PATCH] tmpl: add docs for variables --- vlib/vweb/tmpl/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vlib/vweb/tmpl/README.md b/vlib/vweb/tmpl/README.md index 6c5ec98fda..b464835578 100644 --- a/vlib/vweb/tmpl/README.md +++ b/vlib/vweb/tmpl/README.md @@ -97,7 +97,6 @@ Project root - base.html ``` - `index.html` ```html
@include 'header/base'
@@ -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}`.