<p>I'm working with <a href="http://webby.rubyforge.org" rel="nofollow noreferrer" title="Webby">Webby</a> and am looking for some clarification.  Can I define attributes like <code>title</code> or <code>author</code> in my layout?</p>

[{'answer_id': 24010, 'author': 'John', 'author_id': 2168, 'author_profile': 'https://Stackoverflow.com/users/2168', 'pm_score': 0, 'selected': False, 'text': '<p><a href="http://webby.rubyforge.org/tutorial/" rel="nofollow noreferrer">I\'ve never used it but the tutorial here:</a></p>\n\n<p>Makes it look like the answer to your question is "yes".  Specifically I\'m looking under the "Making Changes" header on that page.</p>\n'}, {'answer_id': 26243, 'author': 'Mando Escamilla', 'author_id': 1388162, 'author_profile': 'https://Stackoverflow.com/users/1388162', 'pm_score': 2, 'selected': True, 'text': '<p>Not really.  The layout has access to the page attributes rather than the other way.</p>\n\n<p>The easiest way to do what you want is to populate the SITE.page_defaults hash in your site\'s Rakefile (probably build.rake).  Add something like the following:</p>\n\n<pre><code>SITE.page_defaults[\'title\']             = "My awesome title"\nSITE.page_defaults[\'author\']            = "Shazbug"\nSITE.page_defaults[\'is_mando_awesome\']  = "very yes"\n</code></pre>\n\n<p>You can now access those hash members in your template:</p>\n\n<pre><code>Written by &lt;%= @page.author %&gt;\n</code></pre>\n\n<p>You can find more info about Webby\'s page default stuff on the Google Group, specifically here:  </p>\n\n<p><a href="http://groups.google.com/group/webby-forum/browse_thread/thread/f3dc1f4187959634/c30d7883705f6218?lnk=gst&amp;q=SITE#c30d7883705f6218" rel="nofollow noreferrer">http://groups.google.com/group/webby-forum/browse_thread/thread/f3dc1f4187959634/c30d7883705f6218?lnk=gst&amp;q=SITE#c30d7883705f6218</a> </p>\n'}]
['https://Stackoverflow.com/questions/23996', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2165/']