I’m currently starting a project on the beta version of Laravel 4
When i try to use the templating engine some tags work and some doesn’t. e.g:
@layout('layouts.master')
@section('container')
<h1>About US</h1>
@endsection
is displayed as:
@layout('layouts.master')
About US
@endsection
which means that the @section tag is parsed, but the other are referred to as plain text.
also if i change the @layout to @include, it does include the template.
Has anyone run into a similar issue? Have there been any syntax changes I’m unaware of?
@layouthas been changed to@extendsin Laravel 4. Also,@endsectionhas been changed to@stop