Default and overridable <title> in layout #16

Closed
6 opened this Issue Feb 27, 2013 · 0 comments

1 participant

@6
Owner
6 commented Feb 27, 2013

https://github.com/6/sinatra-backbone-boilerplate/blob/master/client/views/layout.haml

<title> tag content should have a default value that is overridable in views that extend the layout.

Possibly use something like content_for?(:title) ? yield_content(:title) : "Default title" here

@6 6 closed this in 003a902 Feb 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment