First, we're going to start with learning how to define variables inside a template. This is common practice when you are looking to make redundant aspects of a template easy to change. So, the following is the syntax for defining a variable:
- var some_text = "Hello World";
If you've worked with JavaScript, this should look very familiar because it is JS. In fact, any JS can be executed in a template, it just needs a dash and a space in front of it.