[openstreetmap-website] Site cleanup (#150)

Tom Hughes notifications at github.com
Tue Oct 30 21:32:26 GMT 2012

So basically what I meant was that you add to `app/views/layouts/site.html.erb` something like:

<div id="content-heading">
  <%= yield :heading %>

and then individual pages you can add a block like:

<% content_for :heading %>
<% end %>

which will specify what goes in the heading, and everything else will go in the body.

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20121030/cd50a304/attachment.html>

More information about the rails-dev mailing list