Add homepage template.
Add renderTemplate func; serve homepage.