change default ‘pages’ link to show only published

Unless otherwise specified, all code here is licensed GPLv2