Refactor templates to use inheritance.
Add a landing page for generated badges.