Merge pull request 'Add SEO headers for news detail page' (#40) from feature/seo-news-detail into main
Build and Deploy / build (push) Successful in 4m20s
Build and Deploy / build (push) Successful in 4m20s
Reviewed-on: #40
This commit was merged in pull request #40.
This commit is contained in:
commit
4c01d2a296
14 files changed
+257
-50
No files matched your search
@@ -1,12 +1,14 @@
|
||||
<head>
|
||||
@include('layouts._analytics')
|
||||
<title>@yield('title') | GOOI&meer</title>
|
||||
<title>{!! trim($__env->yieldContent('title')) !!} | GOOI&meer</title>
|
||||
<!--meta-->
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.2" />
|
||||
<meta name="format-detection" content="telephone=no" />
|
||||
<meta name="keywords" content="GOOI&meer,Radio,TV,Nieuws,Lokale omroep,Huizen,Blaricum,Eemnes,Laren,Hilversum,BEL-gemeenten,Streekomroep" />
|
||||
<meta name="description" content="GOOI&meer is de streekomroep voor Hilversum, Huizen, Blaricum, Eemnes en Laren." />
|
||||
<meta name="description" content="{{ (isset($metadata) && $metadata->get('description')) ? $metadata->get('description') : 'GOOI&meer is de streekomroep voor Hilversum, Huizen, Blaricum, Eemnes en Laren.' }}" />
|
||||
{{-- Allow large image previews (Google Discover, Top Stories) --}}
|
||||
<meta name="robots" content="max-image-preview:large" />
|
||||
<link rel="canonical" href="{{ url()->current() }}" />
|
||||
<!--style-->
|
||||
<link href='//fonts.googleapis.com/css?family=Roboto:300,400,700' rel='stylesheet' type='text/css'>
|
||||
<link href='//fonts.googleapis.com/css?family=Roboto+Condensed:300,400,700' rel='stylesheet' type='text/css'>
|
||||
@@ -35,6 +37,8 @@
|
||||
->append('title', ' | GOOI&meer')
|
||||
->metaTags();
|
||||
} ?>
|
||||
<meta name="twitter:card" content="{{ (isset($metadata) && $metadata->get('image')) ? 'summary_large_image' : 'summary' }}" />
|
||||
@stack('head')
|
||||
@stack('styles')
|
||||
<link rel="icon" href="/favicon.ico" sizes="48x48">
|
||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="nl">
|
||||
@include('layouts._head')
|
||||
<body>
|
||||
@yield('content')
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@yield('content')
|
||||
@endsection
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="nl">
|
||||
@include('layouts._head')
|
||||
<body>
|
||||
<!-- Google Tag Manager (noscript) -->
|
||||
@@ -13,7 +13,7 @@
|
||||
</noscript>
|
||||
<!-- End Google Tag Manager (noscript) -->
|
||||
<div class="site_container boxed @yield('site_container_class')">
|
||||
<div class="menu_mobile_container d-flex d-md-none sticky clearfix">
|
||||
<header class="menu_mobile_container d-flex d-md-none sticky clearfix">
|
||||
<div class="mobile_menu_button">
|
||||
<a href="javascript:void(0)"><i class="fa-solid fa-bars"></i></a>
|
||||
</div>
|
||||
@@ -43,9 +43,9 @@
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="menu_container sticky clearfix">
|
||||
<div class="top_menu_container d-none d-md-flex">
|
||||
<header class="top_menu_container d-none d-md-flex">
|
||||
<a class="brand_logo" href="{{url('/')}}"><img src="/images/brand/logo-offwhite-payoff.svg" alt="GOOI&meer - Alles wat de streek beweegt"/></a>
|
||||
<ul class="right_menu">
|
||||
<li>
|
||||
@@ -70,7 +70,7 @@
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
@include('widgets.menu')
|
||||
</div>
|
||||
|
||||
@@ -82,13 +82,14 @@
|
||||
|
||||
<!-- Content -->
|
||||
|
||||
<div class="page @yield('page_container_class')">
|
||||
{{-- The page content is the <main>, unless a layout/page marks its own <main> (and <aside>) with @section('page_tag', 'div') --}}
|
||||
<@yield('page_tag', 'main') class="page @yield('page_container_class')">
|
||||
<a name="top"></a>
|
||||
@yield('page')
|
||||
</div><!--/.page-->
|
||||
</@yield('page_tag', 'main')><!--/.page-->
|
||||
|
||||
<!-- Footer -->
|
||||
<div class="footer_container">
|
||||
<footer class="footer_container">
|
||||
<div class="footer_menu">
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-3">
|
||||
@@ -140,9 +141,9 @@
|
||||
</ul>
|
||||
<ul class="footer_social_media">
|
||||
<li><a class="facebook" title="Facebook" target="_blank"
|
||||
href="https://www.facebook.com/WijZijnNHGooi">Facebook</a>
|
||||
href="https://www.facebook.com/WijZijnGOOIenMeer">Facebook</a>
|
||||
</li>
|
||||
<li><a class="twitter-x" title="Twitter/X" target="_blank" href="https://twitter.com/nhgooi">Twitter</a>
|
||||
<li><a class="instagram" title="Instagram" target="_blank" href="https://instagram.com/gooi.en.meer">Instagram</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -152,7 +153,7 @@
|
||||
© GOOI&meer
|
||||
<a class="scroll_top" href="#top" title="Scroll to top"><i class="fa-solid fa-angle-up"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
<nav class="mobile_tabbar d-md-none" aria-label="Hoofdnavigatie">
|
||||
<a href="{{url('/')}}" class="{{ request()->is('/') || request()->is('nieuws*') ? 'active' : '' }}"><i class="fa-regular fa-newspaper"></i><span>Nieuws</span></a>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
@extends('layouts/master')
|
||||
|
||||
{{-- This layout has its own <main> (content) and <aside> (sidebar) --}}
|
||||
@section('page_tag', 'div')
|
||||
|
||||
@section('content_class')
|
||||
box
|
||||
@endsection
|
||||
@@ -10,16 +13,17 @@
|
||||
<div class="col-12">
|
||||
@yield('breadcrumb_top')
|
||||
</div>
|
||||
<div class="col-12 col-md content_container">
|
||||
<div class="full-width md_margin_top @yield('content_class')">
|
||||
<main 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')
|
||||
</div>
|
||||
</div>
|
||||
</@yield('content_tag', 'div')>
|
||||
</main>
|
||||
|
||||
<div class="col-12 col-md-auto sidebar">
|
||||
<aside aria-label="Meer van GOOI&meer" class="col-12 col-md-auto sidebar">
|
||||
@section('sidebar')
|
||||
@if ((isset($populair) && $populair) || isset($newsItems) && $newsItems)
|
||||
<div data-tabs>
|
||||
@@ -64,7 +68,7 @@
|
||||
|
||||
@include('widgets/contact', [])
|
||||
@show
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user