added dynamic variables to default and post templates