diff --git a/layouts/_shortcodes/booking-section.html b/layouts/_shortcodes/booking-section.html index b5b8ce337..0c9dd3308 100644 --- a/layouts/_shortcodes/booking-section.html +++ b/layouts/_shortcodes/booking-section.html @@ -1,11 +1,10 @@ {{- $sectionName := .Get 0 -}} {{- $bookingContext := .Page.Store.Get "booking_context" | default dict -}} {{- $sectionValue := index $bookingContext $sectionName | default "nil" -}} -{{- if or (eq $sectionValue false) (eq $sectionValue "nil") -}} - {{- return -}} +{{- if eq $sectionValue true -}} +
+ {{- .Inner | safeHTML -}} +
{{- end -}} -
- {{- .Inner | safeHTML -}} -