I have smarty templates setup and would like for the template to pull in the page h1 tag as the page title. I already have an entire site setup and don't want to have to add anything to all the html files, just the template files. Can this be done with jquery or php?