Skip to content

Commit

Permalink
IBX-4877: pagelayout.html.twig fix
Browse files Browse the repository at this point in the history
  • Loading branch information
barw4 committed Jan 25, 2023
1 parent 24140ed commit 24a5b01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{% endif %}
<title>{{ title|default( 'Home' ) }}</title>
<meta name="generator" content="Ibexa DXP"/>
{% if content is defined and location is defined and location is not null %}
{% if content is defined and location is defined and location is not null and location.id is not null %}
<link rel="canonical" href="{{ ez_path(location) }}" />
{% elseif content is defined and content.contentInfo.mainLocationId %}
<link rel="canonical" href="{{ ez_path(content) }}" />
Expand Down

0 comments on commit 24a5b01

Please sign in to comment.