fix layout and permalink