Support the ongoing development of Laravel.io →
posted 10 years ago
Blade
Last updated 2 years ago.
0

try return View::make('home'); instead of 'master'

Last updated 2 years ago.
0

That got me somewhere, but the header and footer do not show up. And, I tried using @include to get the header to show up and it gives me 502 bad gateway on nginx.

Last updated 2 years ago.
0

Hello there again, please do not use ... @yield('layout.header') @yield('layout.footer') ...

instead try using

<html>
    <head></head>
    <body>
    @include('layout.header')

    @yield('content')

    @include('layout.footer')
    </body>
</html>

and remove from both footer and header first line ( @extends('master'))

Have fun

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

vinylrain vinylrain Joined 20 Nov 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.