I have many layouts that apply to parts of my Rails site. Some of the
elements of each of the layouts are the same. I would like to create
something like a partial to use within layouts.
For example, I might have two layouts that have identical <head>
information, but different <body> formatting.
Is there a way to separate out the identical information so I can DRY
up my layout code? I didn't have much luck creating partials in the