@yield
is mainly used to define a section in a layout. Content of
resources/views/layouts/app.blade.php
file
<body>
     @yield('content')
</body>
Content of
about
page that extends the above layout file
@extends('layouts.app')

@section('content')
     // "about us" page content goes here
@endsection
by Valeri Tandilashvili
4 years ago
Laravel
blade template
Laravel From Scratch
0
Pro tip: use ```triple backticks around text``` to write in code fences