gt-engine
gt-engine copied to clipboard
compatibility fix with Play 1.x #{extends}
In real Play 1.x templates, you can define a variable in template and then access it from the #{extend}-ed template.
This pull request replicates this behaviour for compatibility.
example.html
#{extends 'main.html'}
%{title = 'Hello'}%
main.html
<title>${title ?: 'Default title'}</title>
#{doLayout/}
Hi,
And thanks for being interested in this project.
But since I have not worked on it since Apr 16, 2013 and is not in any way using it any longer, I think it might be better for you to fork it if your going to update it.
Regards, Morten