@extends('layouts.pages') @section('content')

{{ $title }}

@if(!empty($postContents['fb'])) @foreach($postContents['fb'] as $one)

{!!preg_replace("/[\n\r]+/", '
', $one['message'])!!}

@endforeach @endif @if(!empty($postContents['ig'])) @foreach($postContents['ig'] as $one) @if(!empty(json_decode($one['edge_media_to_caption'])->edges[0]->node->text))

{!!preg_replace("/[\n\r]+/", '
', json_decode($one['edge_media_to_caption'])->edges[0]->node->text)!!}

@endif
@endforeach @endif @if(!empty($postContents['yt'])) @foreach($postContents['yt'] as $one)

{{$one['title']}}

{{mb_substr($one['description'],0,400,"utf-8")}}...

@endforeach @endif
@if(!empty($relateKeyWords))

關鍵字

@foreach($relateKeyWords as $kid=>$keyword) #{{$keyword}} @endforeach
@endif @if(!empty($relatePosts))

相關文章

@endif @if(!empty($keywordData) && $keywordData->count() > 0)

搜尋相關結果都幫你找好了

@foreach($keywordData as $oneData) @endforeach
@endif
{{ csrf_field() }} @endsection @push('stylesheet') @endpush @push('scripts') @endpush