Skip to content

Instantly share code, notes, and snippets.

@Dan4IT
Last active January 17, 2016 01:11
Show Gist options
  • Save Dan4IT/4db08b492553ba7e52ac to your computer and use it in GitHub Desktop.
Save Dan4IT/4db08b492553ba7e52ac to your computer and use it in GitHub Desktop.
Mura Template Variables
#$.siteConfig('themeAssetPath')#
#$.siteConfig('assetPath')#
<cfdump var="#$.siteConfig().getAllValues()#">
#$.siteConfig('domain')#
<cfdump var="#$.content().getAllValues()#">
#$.content('metaKeywords')#
<cfif len($.siteConfig('contactname'))>#$.siteConfig('contactname')#</cfif>
<a href="#$.createHREF(filename=$.content('filename'))#">Link To This Page...</a>
<cfif len($.siteConfig('contactname'))>#$.siteConfig('contactname')#</cfif>
<cfif len($.siteConfig('contactaddress'))>#$.siteConfig('contactaddress')#, </cfif><cfif len($.siteConfig('contactcity'))>#$.siteConfig('contactcity')#</cfif>
<cfif len($.siteConfig('contactstate'))>#$.siteConfig('contactstate')#</cfif>, <cfif len($.siteConfig('contactzip'))>#$.siteConfig('contactzip')#</cfif>, Australia
<cfif len($.siteConfig('contactphone'))>Phone: #$.siteConfig('contactphone')#</cfif>
<cfif len($.siteConfig('contactemail'))>Email: <a href="mailto:#$.siteConfig('contactemail')#">#$.siteConfig('contactemail')#</a></cfif>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment