Add WIP example partial and template areas for page titles
This commit is contained in:
parent
79c61eb1a4
commit
ce64977349
2 changed files with 21 additions and 0 deletions
|
|
@ -190,6 +190,14 @@
|
|||
<div id="content" class="px-6 pb-8 pt-20 md:pt-16 w-full max-w-lg mx-auto">
|
||||
<div id="app" v-cloak>
|
||||
<div class="markdown">
|
||||
<h1>{{ $page->title }}</h1>
|
||||
|
||||
@if($page->description)
|
||||
<div class="text-xl text-slate-light mb-4">
|
||||
{{ $page->description }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@yield('content')
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue