From 07ba392c93597fef5423fac00e9bec4c6fae53cf Mon Sep 17 00:00:00 2001 From: Maik Riechert Date: Sun, 18 Oct 2015 00:27:36 +0100 Subject: [PATCH] mention {% ckan_extends %} in spatial search widget docs --- doc/spatial-search.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/spatial-search.rst b/doc/spatial-search.rst index 3d4b728..82f9db9 100644 --- a/doc/spatial-search.rst +++ b/doc/spatial-search.rst @@ -156,9 +156,11 @@ Spatial Search Widget The extension provides a snippet to add a map widget to the search form, which allows filtering results by an area of interest. -To add the map widget to the to the sidebar of the search page, add this to the -dataset search page template -(``myproj/ckanext/myproj/templates/package/search.html``):: +To add the map widget to the sidebar of the search page, add the following +block to the dataset search page template +(``myproj/ckanext/myproj/templates/package/search.html``). If your custom +theme is simply extending the CKAN default theme, you will need to add ``{% ckan_extends %}`` +to the start of your custom search.html, then continue with this:: {% block secondary_content %}