Files
nhgooi.nl/resources/views/layouts/sidebar.blade.php
T
eric.busandClaude Opus 5.5 dbbdca504e SEO: structured data and correct meta tags for news articles
- NewsArticle + BreadcrumbList JSON-LD (headline, summary, images, ISO
  dates, authors, GOOI&meer as NewsMediaOrganization publisher, section)
- Per-article meta description instead of the generic site text
- article:published_time / modified_time in ISO 8601 (was og:article:*
  in RFC 2822), article:section / article:tag, og:image:alt, og:locale nl_NL
- Canonical URL, twitter:card, robots max-image-preview:large
- <html lang="nl">, title without leading whitespace, no keywords meta
- Article wrapped in <article>, dates in <time datetime>
- Metadata is rebuilt after the controller fills in API v2 data (dates,
  author, content blocks were not reflected before)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 14:00:58 +01:00

73 lines
3.6 KiB
PHP

@extends('layouts/master')
@section('content_class')
box
@endsection
@section('page')
<div class="@yield('container_class')">
<div class="row @yield('page_class')">
<div class="col-12">
@yield('breadcrumb_top')
</div>
<div class="col-12 col-md content_container">
{{-- Pages can make this an <article> with @section('content_tag', 'article') --}}
<@yield('content_tag', 'div') class="full-width md_margin_top @yield('content_class')">
@yield('breadcrumb')
@yield('tags')
<h1 class="page_title">@yield('title')</h1>
@yield('content')
</@yield('content_tag', 'div')>
</div>
<div class="col-12 col-md-auto sidebar">
@section('sidebar')
@if ((isset($populair) && $populair) || isset($newsItems) && $newsItems)
<div data-tabs>
<div class="tabs">
@if (isset($populair) && $populair)
<h4 data-tab-content-id="tab_most_read"
class="box_header small flex-grow-1 active"><span>Meest gelezen</span>
</h4>
@endif
@if (isset($newsItems) && $newsItems)
<h4 data-tab-content-id="tab_more_news"
class="box_header small{{!$populair? ' active' : ''}}">
<span>Meer nieuws</span></h4>
@endif
</div>
@if (isset($populair) && $populair)
<div id="tab_most_read" class="box tab_content active">
@include('partial/newslist_small', ['id' => 'items-most-read', 'news' => $populair])
<a class="btn auto_width" id="meer-nieuws-most-read" href="#"
data-loadmorenews='{"container":["#items-most-read"], "url": "/nieuws/populair?id=items-most-read"}'>
<span class="fas fa-spinner fa-spin" id="loading"></span>
Klik hier voor meer nieuws
</a>
</div>
@endif
@if (isset($newsItems) && $newsItems)
<div id="tab_more_news" class="box tab_content">
@include('partial/newslist_small', ['id' => 'items-more-news', 'news' => $newsItems])
<a class="btn auto_width" id="meer-nieuws-more-news" href="#"
data-loadmorenews='{"container":["#items-more-news"], "url": "/nieuws/more?id=items-more-news"}'>
<span class="fas fa-spinner fa-spin" id="loading"></span>
Klik hier voor meer nieuws
</a>
</div>
@endif
</div>
@endif
@include('widgets/gooienmeerradiotv', ['headerClass' => 'small'])
@include('widgets.banner_sidebar')
@include('widgets/contact', [])
@show
</div>
</div>
</div>
@endsection