fix a number of small issues with the template

previous issues:
* the welcome.md needed to end with an empty line
* the output depended on internet access to view the math
* couldn't get full html output without deploying