Skip to content

Conversation

@cbxp
Copy link

@cbxp cbxp commented Jan 4, 2017

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/}

@mbknor
Copy link
Owner

mbknor commented Jan 4, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants