Changes Pages markup to {::pages}. bugfixing