I chose to have the template tokens be defined within the html files rather than be passed from the `render` functions in python files.  I chose this since the doc team may want to edit the token strings at any point and would rather do this in HTML files rather than their corresponding Python files.

In order to pass the token values through, I used the mako `def` constructs, which require these to be functions.