Skip to content

Commit

Permalink
Clarify docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Dec 20, 2020
1 parent 880a403 commit 9880a16
Showing 1 changed file with 9 additions and 22 deletions.
31 changes: 9 additions & 22 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Quickstart
"djangocms_page_sitemap",
]
* Add to the urlconf, eventually removing django CMS sitemap:
* Load it into the urlconf, eventually removing django CMS sitemap:

.. code-block:: python
Expand All @@ -62,18 +62,18 @@ Quickstart
...
]
* Add the following snippets to the django CMS templates:
* Load ``robots_index`` templatetag and add it to the page in the head tag of the django CMS pages (or in a shared base template):

.. code-block:: html+django

{% load robots_index %}
{% load robots_index %}

...
<head>
<!-- somewhere in the head tag -->
{% page_robots %}
</head>
...
...
<head>
<!-- somewhere in the head tag -->
{% page_robots %}
</head>
...

* If you need to provide a custom sitemap configuration (for example to add more
sitemap classes to it, you can append the sitemap url explicitly:
Expand All @@ -95,19 +95,6 @@ Quickstart
]
* Add the following snippets to the django CMS templates:
.. code-block:: html+django
{% load robots_index %}
...
<head>
<!-- somewhere in the head tag -->
{% page_robots %}
</head>
...
**************************
django-app-enabler support
**************************
Expand Down

0 comments on commit 9880a16

Please sign in to comment.