restore dynamic meta tags and titles

Not sure why but pulling from the db was deleted, on purpose apparently. I'm restoring it.