Add template inheritance to all htmls