Skip to content

Commit 31cb400

Browse files
committed
PGOV-2073 Display location names on park pages
1 parent 9a649fa commit 31cb400

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

web/themes/custom/cloudy/templates/content/location/node--location--address.html.twig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@
1111
%}
1212
{{ attach_library('classy/node') }}
1313
<div{{ attributes.addClass(classes) }}>
14+
{{ title_prefix }}
15+
{% include '@components/heading/heading.twig' with {
16+
level: 3,
17+
style: 5,
18+
classes: ['mb-1'],
19+
text: label.0
20+
} only %}
21+
{{ title_suffix }}
1422
<address class="mb-0" translate="no">
1523
{% apply spaceless %}
1624
{% if node.field_address_or_entrance.address_line1 %}

web/themes/custom/cloudy/templates/content/location/node--location--related.html.twig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
{% include '@components/heading/heading.twig' with {
2323
level: 3,
2424
style: 5,
25+
classes: ['mb-1'],
2526
text: label.0
2627
} only %}
2728
{{ title_suffix }}

0 commit comments

Comments
 (0)