Play-By-Play: Layout

July 9, 2010 by Craig

I want to use HAML for my templates. I already have it installed; all I need to do now is convert the scaffolded ERB layout.

html2haml app/views/layouts/application.html.erb app/views/layouts/application.haml

One other thing I like to do is have the <title> and topmost <h1> tags have the same content. This is generally considered (by the SEO black-magicians)
Change the so that it displays the Also have an h1 that contains this title. Set this variable on every page.<br />

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.