dates localization, fix _pages permalinks