Use @php() instead of @php [...] @endphp

This commit is contained in:
QWp6t
2016-12-09 23:48:31 -08:00
parent b3ebd1f698
commit 945e3b76d7
14 changed files with 27 additions and 29 deletions

View File

@@ -1,13 +1,11 @@
@php
/**
* Template Name: Custom Template
*/
@endphp
{{--
Template Name: Custom Template
--}}
@extends('layouts.base')
@section('content')
@while(have_posts()) @php the_post() @endphp
@while(have_posts()) @php(the_post())
@include('partials.page-header')
@include('partials.content-page')
@endwhile