Fixing double echo's, template cleanup
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
<?php
|
||||
@php
|
||||
/**
|
||||
* Template Name: Custom Template
|
||||
*/
|
||||
?>
|
||||
@endphp
|
||||
|
||||
@extends('layouts.base')
|
||||
|
||||
@section('content')
|
||||
@while(have_posts())
|
||||
{!! the_post() !!}
|
||||
@while(have_posts()) @php the_post() @endphp
|
||||
@include('partials.page-header')
|
||||
@include('partials.content-page')
|
||||
@endwhile
|
||||
|
||||
Reference in New Issue
Block a user