File tree Expand file tree Collapse file tree 1 file changed +20
-18
lines changed Expand file tree Collapse file tree 1 file changed +20
-18
lines changed Original file line number Diff line number Diff line change 1- < div class ="o-booking__links ">
2- {{- if .Params.booking_link -}}
3- {{- partial "button"
4- (dict
5- "Destination" .Params.booking_link
6- "Text" (T "booking.visit-booking-website")
7- )
8- -}}
9- {{- end -}}
10- {{- if .Params.additional_info_link -}}
11- {{- partial "button"
12- (dict
13- "Destination" .Params.additional_info_link
14- "Text" (T "booking.visit-additional-information-website")
15- )
16- -}}
17- {{- end -}}
18- </ div >
1+ {{- if or .Params.booking_link .Params.additional_info_link -}}
2+ < div class ="o-booking__links ">
3+ {{- if .Params.booking_link -}}
4+ {{- partial "button"
5+ (dict
6+ "Destination" .Params.booking_link
7+ "Text" (T "booking.visit-booking-website")
8+ )
9+ -}}
10+ {{- end -}}
11+ {{- if .Params.additional_info_link -}}
12+ {{- partial "button"
13+ (dict
14+ "Destination" .Params.additional_info_link
15+ "Text" (T "booking.visit-additional-information-website")
16+ )
17+ -}}
18+ {{- end -}}
19+ </ div >
20+ {{- end -}}
You can’t perform that action at this time.
0 commit comments