We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
As I understand, according to the documentation, the layout is set during the project initialization.
How could I change the layout for the certain action? Or I should simply
m.Get("/", func(r render.Render) { r.Layout = "new-layout" r.HTML(200, "hello", "jeremy") })
??
Thanks
The text was updated successfully, but these errors were encountered:
Like so:
m.Get("/", func(r render.Render) { r.HTML(200, "hello", "jeremy", render.HTMLOptions{ Layout: "new-layout", }) })
Sorry, something went wrong.
Awesome. Closing out this isse
@dre1080 , sorry for this stupid question, what is "hello", "jeremy" in that function? query string?
No branches or pull requests
Hi,
As I understand, according to the documentation, the layout is set during the project initialization.
How could I change the layout for the certain action?
Or I should simply
??
Thanks
The text was updated successfully, but these errors were encountered: