fix mako syntax and give archive the same priority as the article view