Ok, you hadn't stated before that the error was showing in Dreamweaver, so I Was assuming it was a browser error, these details are important to include.
When i open your template SDW is not showing the error to me, those Syntax errors in DW can sometimes be red herrings that don't disappear when the syntax is corrected.
try closing the page and opening it again to force DW to read the latest syntax.