Remove the extra leading $ in the archive templates and variable names in local template

Seems like the $ 2 leading $ aren't needed

and a couple of the variable names were incorrect i nthe local template