Skip to content

Commit

Permalink
Merge pull request #327 from ASUWebPlatforms/ws2-2-6-0-twig-syntax-fix
Browse files Browse the repository at this point in the history
WS2 release 2.6.0 fix twig syntax
  • Loading branch information
mlsamuelson authored Jun 17, 2022
2 parents 2ed885c + 54f2109 commit 524ddb5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions templates/field/field--node--title.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
{% if not is_inline %}
{% include "field.html.twig" %}
{% else %}
{% for item in items %}
{% include '@renovation/headings/heading.twig' with {
html_tag : 'h1',
heading: item.content['#context'].value,
} %}
{% endfor %}

{% for item in items %}
{% include '@renovation/headings/heading.twig' with {
html_tag : 'h1',
heading: item.content['#context'].value,
} %}
{% endfor %}
{% endif %}

0 comments on commit 524ddb5

Please sign in to comment.