@if(isset($articles["searchInformation"]["formattedTotalResults"]))

{{ $articles["searchInformation"]["formattedTotalResults"] }} records found matching your search for "{{ $query }}"

@else

No results found or search service unavailable for "{{ $query }}"

@endif
@if (isset($articles["items"])) @foreach($articles["items"] as $article) @php //publication Date is not always available depending on google index status if (isset($article["pagemap"]["Article"][0]["datePublished"])) $pubdate = date("m-d-Y",strtotime($article["pagemap"]["Article"][0]["datePublished"])); else $pubdate = ""; //google search results come from www; this remaps them to development server; note it will 404 if the link is not in the dev database --}} if (env('APP_URL') == "https://development.maritime-executive.com") { $article["link"] = str_replace("//www.maritime-executive.com", "//development.maritime-executive.com", $article["link"]); $article["link"] = str_replace("//maritime-executive.com", "//development.maritime-executive.com", $article["link"]); } @endphp @endforeach @endif {!! $paginator->links() !!}