@extends('master.index') @section('content')
@include('posts.partials.search')

{{ $title }}

@include('posts.partials.util-list')
@foreach($posts as $post)

{{ $post->title }}

{{ t('by') }}: {{ $post->user->fullname }} @if(auth()->check() && auth()->user()->id == $post->user->id) | {{ t('Edit') }} @endif

@if($post->tags)
    @foreach(explode(',',$post->tags) as $tag)
  • {{ $tag }}
  • @endforeach
@endif
{{ $post->category->name }} {{ $post->type->name }} @if($post->is_remote) {{ t('Remote / Anywhere') }} @else @if($post->city) {{ $post->city }}@endif @if($post->state) {{ $post->state }}@endif @if($post->country) {{ $post->country }}@endif @endif
@endforeach
@include('posts.partials.sidebar')
{!! $posts->appends(Input::except('page'))->render() !!} @endsection