Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layouts #7

Open
javiertg opened this issue Apr 19, 2013 · 4 comments
Open

Layouts #7

javiertg opened this issue Apr 19, 2013 · 4 comments

Comments

@javiertg
Copy link

How can i use Layouts?
I try to use
@{
Layout = "_Layout.cshtml";
}
and fail the compliter. The Layout name not found.

@alxbog
Copy link
Collaborator

alxbog commented Apr 19, 2013

Hi, javiertg.

How do you suppose to use it? Would you give us an example?

@javiertg
Copy link
Author

my idea is to use it in a conventional MVC3/4-like way.
I am looking for a base template (Layout) where render the content of my pantillas (someting like a Master.Page and a .aspx page liked to that master) at @RenderBody()
project similar to RazorMachine

@ewgenym
Copy link

ewgenym commented Apr 25, 2013

I would like to vote for this feature

@volkovku
Copy link
Owner

Hi, javiertg and ewgenym, I will try investigate this feature and implement it when will have some time for RazorTemplate.

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

No branches or pull requests

4 participants