FIX: fix blog overview template

This commit is contained in:
Michal Kváček
2017-03-23 00:52:51 +01:00
parent dd978c05f7
commit e943120dc6
@@ -41,8 +41,8 @@
<footer class="text-right"> <footer class="text-right">
@if($article->category) @if($article->category)
<a href="./blog?category={{$article->category->url}}"><i <a href="./blog?category={{$article->category->url}}"><i
class="fa fa-tag"></i> {{$article->category->name}}</a> class="fa fa-tag"></i> {{$article->category->name}}</a>
@endif @endif
<a href="{{route('page.content', ['url' => $article->url])}}#comments"> <a href="{{route('page.content', ['url' => $article->url])}}#comments">
@@ -53,8 +53,10 @@
</div> </div>
</div> </div>
<div class="paginate"> @if (!is_null($page->articles))
{{$articles->render()}} <div class="paginate">
</div> {{$page->articles->render()}}
</div>
@endif
@endforeach @endforeach
@endsection @endsection