I'm in the process of creating some custom page layouts for my new install of Mura (I'm a Mura newbie, but we are using this at my work, so I'm learning as I go), but I'm in need of some assistance with the body of the page. Following a default layout that came with Mura, the following code is outputting the body of a page:
#$.dspBody(
body=$.content('body')
, pageTitle=pageTitle
, crumbList=0
, showMetaImage=0
)#
When an Associated Image is assigned to the page, this image shows up when I have an index of pages (a folder for example), which is great. However, it is also appearing at the top of the body when you view the page itself.
Looking at the code above, is there another property I can drop in there to remove the associated image? If so, what are my available properties here? I can't seem to find any documentation on this bit of code on the Mura sites.
As requested, the entire code for the layout in question
<cfoutput>
<cfinclude template="inc/html_head.cfm" />
<body id="#$.getTopID()#" class="depth-#$.content('depth')# #$.createCSSHook($.content('menuTitle'))#">
<div class="coverImageWrapper">
<div class="coverImage">
<cfinclude template="inc/header.cfm" />
<cfinclude template="inc/departmentName_socialMedia.cfm" />
<cfinclude template="inc/topNav.cfm" />
</div>
</div>
<div class="secondaryPageWrapper">
<div class="container">
<div class="row">
<div class="col-md-8 mainCol">
<cfinclude template="inc/breadcrumb.cfm" />
<cfset pageTitle = $.content('type') neq 'Page' ? $.content('title') : ''>
#$.dspObjects(2)#
#$.dspBody(
body=$.content('body')
, pageTitle=pageTitle
, crumbList=0
, showMetaImage=0
)#
</div>
<aside class="col-md-4 sideCol">
#$.dspObjects(3)#
</aside>
</div>
</div>
</div>
<cfinclude template="inc/department_footer.cfm" />
<cfinclude template="inc/footer.cfm" />
<cfinclude template="inc/html_foot.cfm" />
</body>
</cfoutput>