set post title in layout