Back
includeContent()
Used to output the content for a particular section in a layout.
<!--- In your view template, let's say `views/blog/post.cfm---> contentFor(head='<meta name="robots" content="noindex,nofollow">'); contentFor(head='<meta name="author" content="wheelsdude@wheelsify.com">'); // In `views/layout.cfm` <html> <head> <title>My Site</title> #includeContent("head")# </head> <body> <cfoutput> #includeContent()# </cfoutput> </body> </html>
Copied!