We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8cb61d commit bc257c8Copy full SHA for bc257c8
Resources/views/pagelayout.html.twig
@@ -16,9 +16,9 @@
16
</head>
17
<body>
18
<!-- Complete page area: START -->
19
-{% if location is defined and not location.isDraft %}
20
- {{ render( controller( "ezpublish_legacy.website_toolbar.controller:websiteToolbarAction", { 'locationId': location.id} ) ) }}
21
-{% endif %}
+
+ {{ render( controller( "ezpublish_legacy.website_toolbar.controller:websiteToolbarAction", { 'locationId': location.id|default( null ) } ) ) }}
22
<div id="page" class="">
23
<!-- Header area: START -->
24
{% block header %}
0 commit comments