Correction on front template : only published page are displayed