Run posts through template to add <head></head> elements etc