Exchange the position of layout and title

Things do not work right as the sequence changes. Changes to: layout, title, categories, tags