FIX: fix blog overview template
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user