diff --git a/docs/topics/pages.rst b/docs/topics/pages.rst index 3e01141966..8ebff37b3c 100644 --- a/docs/topics/pages.rst +++ b/docs/topics/pages.rst @@ -211,7 +211,7 @@ You just need to create a template in a location where it can be accessed with t Template context ---------------- -Wagtail renders templates with the ``self`` variable bound to the page instance being rendered. Use this access the content of the page. For example, to get the title of the current page, do ``{{ self.title }}``. All variables provided by `context processors `_ are also available. +Wagtail renders templates with the ``self`` variable bound to the page instance being rendered. Use this access the content of the page. For example, to get the title of the current page, do ``{{ self.title }}``. All variables provided by `context processors `_ are also available. Customising template context @@ -320,7 +320,7 @@ Each inline model requires the following: .. note:: django-modelcluster and ParentalKey - The model inlining feature is provided to by `django-modelcluster `_ and the ``ParentalKey`` field type must be imported from there: + The model inlining feature is provided to by `django-modelcluster `_ and the ``ParentalKey`` field type must be imported from there: ..code-block:: python