32 lines
981 B
PHP
32 lines
981 B
PHP
<!DOCTYPE html>
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link href="/word-salad.css" rel="stylesheet" />
|
|
<link href="/word-salad-writer.css" rel="stylesheet" />
|
|
|
|
{{-- Include HTMX on the writer-side to enchance our interactivity --}}
|
|
<script src="/htmx.1.9.12.js"></script>
|
|
|
|
<script>
|
|
htmx.on("htmx:configRequest", (e)=> {
|
|
e.detail.headers["X-CSRF-TOKEN"] = '{{ csrf_token() }}';
|
|
})
|
|
</script>
|
|
|
|
<title>{{ config('blog.publishing_name') }} | @yield('title')</title>
|
|
</head>
|
|
<body>
|
|
<section id="error-bag">
|
|
@foreach($errors->all() as $error)
|
|
{{ $error }}
|
|
@endforeach
|
|
</section>
|
|
<main>
|
|
@yield('content', 'Nothing to see here.')
|
|
</main>
|
|
</body>
|
|
</html>
|