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

Is it possible to have multiple layouts? #38

Open
rexposadas opened this issue Sep 22, 2014 · 5 comments
Open

Is it possible to have multiple layouts? #38

rexposadas opened this issue Sep 22, 2014 · 5 comments

Comments

@rexposadas
Copy link

Is there an example I can look at to see how Renderer handles multiple layouts? Say my registration page and my login page have two different layouts. How would I handle that?

From this code:

m.Use(render.Renderer(render.Options{
    Layout:    "layout",
}))

It seems that you can only have one layout per Renderer. Would I "use" multiple Renderers?

Thanks.

@mickelsonm
Copy link

Hey checkout this past closed issue (might be what you need):

#4

@rexposadas
Copy link
Author

@mickelsonm Thanks for the response. It looks like this project is no longer maintained. I've since moved to a different framework. Thanks anyways.

@mickelsonm
Copy link

@rexposadas : No problem. I have been wondering about that too, but I still find my way back here to check things out. Out of curiosity, which framework are you going with?

@rexposadas
Copy link
Author

@mickelsonm The team decided on Django - I was pushing for a Go framework since that's my main language.

@mickelsonm
Copy link

@rexposadas : Yeah it seems like a lot of people are jumping on the Django/Python band wagon.I have nothing bad to say about it, but I am definitely enjoying web development using Go. There might be a few nitpicks, but nothing that I can't find a solution for. Anyways, good luck!

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

2 participants