@extends('layouts.admin') @section('content')
{{ getPostTypeTitle($route) }}
@foreach ($list as $item) @php if (!empty($item->post->prefix)) { $item->link = "/" . $item->post->prefix . "/" . $item->slug; } else { $item->link = "/" . $item->slug; } @endphp @endforeach
Name SEO Title SEO Description Categories Tags Created Updated Published
@foreach($item->meta as $meta) @if($meta->key == 'title') {{ $meta->value }} @endif @endforeach @foreach($item->meta as $meta) @if($meta->key == 'description') {{$meta->value}} @endif @endforeach @php $cats = []; foreach ( $item->taxonomies->where('hierarchical', 1) as $cat ){ $cats[] = $cat->title; } @endphp {{ implode(', ', $cats) }} @php $tags = []; foreach ( $item->taxonomies->where('hierarchical', 0) as $tag ){ $tags[] = $tag->title; } @endphp {{ implode(', ', $tags) }} {{ $item->created_at->format('y/n/d H:i') }} {{ $item->updated_at->format('y/n/d H:i') }} {{ $item->published ? "Yes": "No" }}
Name SEO Title SEO Description Categories Tags Created Updated Published
@endsection