@extends('layouts.site') @section('title', $post->title.' | Trading Corporation of Pakistan') @section('description', $post->summary) @push('head') @php($articleSchema = ['@context'=>'https://schema.org','@type'=>'Article','headline'=>$post->title,'description'=>$post->summary,'datePublished'=>$post->published_at?->toAtomString(),'dateModified'=>$post->updated_at?->toAtomString(),'publisher'=>['@type'=>'GovernmentOrganization','name'=>'Trading Corporation of Pakistan']]) @endpush @section('content')

Published {{ $post->published_at?->format('d F Y') }}

@if($post->featured_image){{ $post->title }}@endif
{!! $post->body !!}
@foreach($post->galleryAlbums as $album)

{{ $album->title }}

@if($album->description)

{{ $album->description }}

@endif
@endforeach @if($post->documents->isNotEmpty())

Related documents

@foreach($post->documents as $document)@include('pages.partials.document-card',['document'=>$document])@endforeach
@endif @if($post->external_url)

Visit related official website ↗

@endif
@endsection