Basic Templates with Mustache JS

This example embeds the template directly in the source HTML. The variable "inStock" is used as a switch to execute one of two options in the template. If the variable "inStock" is changed to "false" the template prints a different statement.