@extends('layouts.app')

@section('title', $page->title)
@section('meta_description', $page->meta_description)
@section('meta_keywords', $page->meta_keywords)

@section('content')
<div class="container">
    <div class="row">
        <div class="col-md-8 mx-auto">
            <article class="page-content">
                <header class="mb-4">
                    <h1>{{ $page->title }}</h1>
                </header>
                
                <div class="page-body">
                    {!! nl2br(e($page->content)) !!}
                </div>
            </article>
        </div>
    </div>
</div>
@endsection