app/views/festivity_location_areas/show.html.haml in trusty-festivity-extension-2.3.27 vs app/views/festivity_location_areas/show.html.haml in trusty-festivity-extension-2.3.28
- old
+ new
@@ -1,13 +1,16 @@
-- cache(@area) do
- %header.page-header
- %h1.page-title
- = @area.title
- .content-wrapper
- %section.primary-content
- .event-media
+- cache(@area, base_domain: current_site.base_domain) do
+ .location-content
+ %header.location-header
+ .location-info
+ .location-title
+ %h1.page-title
+ = @area.title
+ .location-media
%img{src: @area.image, alt: "Lead Image"}
- .event-body
+
+ .content-wrapper
+ %section.primary-content
= @area.body
%section.related-events
- @area.children.each do |location|
%article.event
- if location.image
\ No newline at end of file