added theme layouts - pre - post or pre_and_post