I use the Bladetemplate of Laravel. Is there a way to set different header for different views with only one include in master.blade.php?
master.blade.php
@include("elements.header")
@yield('content')
@section("footer")
@show
view.blade.php
@extends("layouts.master")
@section("title")
@stop
@section("content")
@include("elements.error")
@section("footer")
@include("elements.footer")
@stop
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2gTXa1W
via IFTTT
Aucun commentaire:
Enregistrer un commentaire