Templates overview
Dynamic templates are a mix of HTML and a programming language which directs how the HTML is displayed. For example, if you have a profile page for your web app users, you would want each of your users to have a page unique to them. To achieve this, you would write only one template and substitute unique aspects of each using template variables, for example:
The variables username
and bio
can be substituted for values unique to each of your users, for example:
Templates help reuse HTML (and CSS, JavaScript) just like regular functions and structs help reuse code.