playframework/Play20 — pull request #216 by tschundeee (2012-04-01 21:29:06+00:00)
Title: adding @head tag in the html <head> to the java default template

I thought that it would make sense to have a @head variable in the default template in order to add stylesheets or additional javascript in the html document

from a specific view.

Here is an example how it could be called from a view:

@head = {

}

@main("Title", head){

Html Header Tag content here ...

}