convert frontpage and sectionpage switches result
Merge pull request #892 from takeit/master

convert frontpage and sectionpage switches result