Add WIP example partial and template areas for page titles

This commit is contained in:
Adam Wathan 2017-11-07 16:03:17 -05:00
parent 79c61eb1a4
commit ce64977349
2 changed files with 21 additions and 0 deletions

View file

@ -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>