diff --git a/ckanext/example_theme_docs/v13_custom_css/templates/base.html b/ckanext/example_theme_docs/v13_custom_css/templates/base.html index 10d537abd84..85dd0fdf851 100644 --- a/ckanext/example_theme_docs/v13_custom_css/templates/base.html +++ b/ckanext/example_theme_docs/v13_custom_css/templates/base.html @@ -1,6 +1,6 @@ {% ckan_extends %} -{% block styles %} +{% block custom_styles %} {{ super() }} {% endblock %} diff --git a/doc/theming/css.rst b/doc/theming/css.rst index d8166c9e75d..834423f338e 100644 --- a/doc/theming/css.rst +++ b/doc/theming/css.rst @@ -58,7 +58,7 @@ and put this Jinja code in it: .. literalinclude:: /../ckanext/example_theme_docs/v13_custom_css/templates/base.html :language: django -The default ``base.html`` template defines a ``styles`` block which can be +The default ``base.html`` template defines a ``custom_styles`` block which can be extended to link to custom CSS files (any code in the styles block will appear in the ```` of the HTML page).