set global to current post ID in TimberPost::post_class