If you're going to do that, you might as well put it in templates.pl, because the first time you rebuild the cache all of that adding to the html page will vanish.