Use $. in templates

I missed the fact that this existed until I was writing a blog post
about templates. Score 1 for blogging.