-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
🔥 Add Global ViewLayout #1384
🔥 Add Global ViewLayout #1384
Conversation
Thanks, can you please leave another description in the readme or in the docs repository |
@ReneWerner87 Added description on docs: gofiber/docs#179 |
thx, mist forgot to mention the first time, can you please add another testcase |
@ReneWerner87 It seems need to add most of the functionality for template to be added. Will it be acceptable if I add test template engine similar to html template for test? |
use the template test engine as in the other tests |
@ReneWerner87 Added test case for Views Layout |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx
Please provide enough information so that others can review your pull request:
This PR will resolve #1382 by adding
ViewLayout
in fiber.Config allowing users to not define layout everywhereExplain the details for making this change. What existing problem does the pull request solve?
This change allows user pass layout as global config and User don't need to pass layout on each render