First pass at Blade templating
This commit is contained in:
15
templates/template-custom.blade.php
Normal file
15
templates/template-custom.blade.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* Template Name: Custom Template
|
||||
*/
|
||||
?>
|
||||
|
||||
@extends('layouts.base')
|
||||
|
||||
@section('content')
|
||||
@while(have_posts())
|
||||
{!! the_post() !!}
|
||||
@include('partials.page-header')
|
||||
@include('partials.content-page')
|
||||
@endwhile
|
||||
@endsection
|
||||
Reference in New Issue
Block a user