<!doctype html>
<html lang="tr" prefix="op: http://media.facebook.com/op#">
<head>
    <meta charset="utf-8">
    <meta property="op:markup_version" content="v1.0">
    <meta property="fb:article_style" content="default"/>
    <link rel="canonical" href="{{ url('haber/'.$haber->slug.'-'.$haber->id) }}">
    <title>{{ $haber->baslik }}</title>
</head>
<body>
<article>
    <header>
        <h1>{{  $haber->baslik  }}</h1>
        <h2> {{ $haber->ozet }}</h2>
        <h3 class="op-kicker">
            {{ $haber->haberkat->baslik }}
        </h3>
        <address>
            {{ $haber->habereditoru->name }}
        </address>
        <time class="op-published" dateTime="{{ \Carbon\Carbon::parse($haber->tarih)->format('c') }}">{{ \Carbon\Carbon::parse($haber->tarih)->format('M d Y, h:i a') }}</time>
        <time class="op-modified" dateTime="{{ \Carbon\Carbon::parse($haber->tarih)->format('c') }}">{{ \Carbon\Carbon::parse($haber->tarih)->format('M d Y, h:i a') }}</time>
    </header>
    <figure>
        <img src="{{ url('images/haberler/'.$haber->resim) }}" />
    </figure>

    {{ $haber->detay }}

    <footer>
        <small>© {{ date('Y') }} Copyright {{ config('ayarlar.baslik') }}</small>
    </footer>
</article>
</body>
</html>