Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (11 sloc) 441 Bytes
id: sample
layout: default
title: Sample page
primarynavorder: 1
htmlclass: test
<p>This is a sample page showing how to <a href="{% url sample %}">use page id's for linking</a>. 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.</p>
<p>This is an encoded absolute url of this page: {{ page.absolute_url | urlencode }}</p>