Skip to content

Commit

Permalink
Merge pull request #8178 from tkallady/patch-1
Browse files Browse the repository at this point in the history
Fix customize css instructions.
  • Loading branch information
tino097 committed Apr 25, 2024
2 parents 5baee81 + 700fb01 commit ce6f837
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -1,6 +1,6 @@
{% ckan_extends %}

{% block styles %}
{% block custom_styles %}
{{ super() }}
<link rel="stylesheet" href="/example_theme.css" />
{% endblock %}
2 changes: 1 addition & 1 deletion doc/theming/css.rst
Expand Up @@ -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 ``<head>`` of the HTML page).

Expand Down

0 comments on commit ce6f837

Please sign in to comment.