<!DOCTYPE html>
<html>
    <head>
         @include("editions.{$edition}.head-top")
         @if ($environment === 'production')
            <!-- Google Tag Manager -->
            <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
            new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
            j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
            'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
            })(window,document,'script','dataLayer','{{ Contest::GtmId() }}');</script>
            <!-- End Google Tag Manager -->
         @endif
         
        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
        <title>
        @section('title')
            {{ $title or '' }}
        @show
        </title>
        <!--[if lt IE 9]>
            <script src="https://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
    @section('meta')
        <meta name="robots" content="{{ $environment === 'production' ? 'all,index,follow' : 'noindex, nofollow' }}" />
        <meta name="viewport" id="viewport-meta" content="width=device-width, initial-scale=1, maximum-scale=1," />
    @show
    <link rel="shortcut icon" href="{{ url('assets/img/favicon.ico') }}" type="image/x-icon">
    <meta property="fb:app_id" content="{{ Config::get("eloquent-oauth-l4::providers.facebook.client_id") }}" />

    @section('open-graph')
         <meta name="twitter:card" content="summary">
        <meta property="og:title" content="" />
        <meta property="og:type" content="website" />
        <meta property="og:url" content="{{ url('/') }}" />
       @if ($status === 'teaser')
    <meta name="description" content="{{ trans('frontend.og-description-teaser') }}">
    <meta property="og:description" content="{{ trans('frontend.og-description-teaser') }}" />
  @else
    <meta name="description" content="{{ trans('frontend.og-description') }}">
    <meta property="og:description" content="{{ trans('frontend.og-description') }}" />
  @endif
          @if ($status === 'teaser')
            <meta property="og:image" content="{{ url('/assets/img/fb-share-teaser-'.$edition.'.jpg?v=2020') }}" />
          @else
            <meta property="og:image" content="{{ url('/assets/img/fb-share-'.$edition.'.jpg?v=2020') }}" />
          @endif
        
        

    @show

    @include("editions.{$edition}.tags")
    </head>
    <body class="{{ $edition }} {{ $body_class or '' }}">

    @if ($environment === 'production')
        <!-- Google Tag Manager (noscript) -->
        <noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ Contest::GtmId() }}"
        height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
        <!-- End Google Tag Manager (noscript) -->
    @endif
