--- id: sample layout: default title: Sample page primarynavorder: 1 htmlclass: test ---

This is a sample page showing how to use page id's for linking. Make sure the page has an id specified and use that as the argument to the url tag. Now the link will work even if the page is moved.

This is an encoded absolute url of this page: {{ page.absolute_url | urlencode }}