include rebase in template.html