change /pages to {{site.url}}/pages