@extends('theme.'.env('THEME').'.site')

@section('content')

<div class="indexborder">
  @foreach ($res as $k => $r)
    <div class="within {{ ($r->public_status !== 0 ? ' wny' : '') }}" style="margin: {{ ($k == 0 ? 0 : 16) }}px auto {{ ($k == count($res)-1 ? 0 : 16) }}px">
      <div class="bar {{ ($r->public_status !== 0 ? ' bny' : '') }}">
        <a href="/blog/{{ $r->slug }}">{{ $r->title }}</a>
      </div>
    </div>
  @endforeach
</div>

<div class="within" style="background-color: rgb(49, 54, 59); margin: 32px auto 0px">
  {{ $res->links() }}
</div>

@endsection
