@extends('layouts.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>

@endsection
