Skip to content

Commit f53de2a

Browse files
author
Vanessa Bedzra
committed
djangocms-frontend/docs-328:Inconsistency in Documentation
1 parent 8eb0431 commit f53de2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/how-to/extend-frontend-plugins.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Existing components can be extended through two type of class mixins.
88
``djangocms-frontend`` looks for these mixins in two places:
99

1010
#. In the theme module. Its name is specified by the setting
11-
``DJANGOCMS_FRONTEND_THEME`` and defaults to ``djangocms_frontend``.
11+
``DJANGOCMS_FRONTEND_THEME`` and defaults to ``theme``.
1212
For a theme app called ``theme`` and the bootstrap5 framework this
1313
would be ``theme.frontends.bootstrap5.py``.
1414

@@ -233,9 +233,9 @@ Then, a new template is needed (in
233233
backdrop-filter: blur({{ instance.container_blur }}px);
234234
{% endif %}"
235235
{% endif %}>
236-
{% if instance.image %}
236+
{% if instance.container_image %}
237237
<div class="image"
238-
style="background-image: url('{{ instance.image.url }}');
238+
style="background-image: url('{{ instance.container_image.url }}');
239239
background-position: {{ instance.image_position|default:'center center' }};
240240
background-repeat: no-repeat;background-size: cover;
241241
{% if instance.container_blur %}

0 commit comments

Comments
 (0)