select * from pages where slug='local' AND deleted != 1