Add layout metadata to post.