FEATURE: display references in descending order
This commit is contained in:
@@ -9,11 +9,10 @@
|
||||
{!! $page->content !!}
|
||||
</div>
|
||||
|
||||
@if(count($page->subpages()))
|
||||
<div class="row nochange small-up-2 medium-up-3 large-up-3 xlarge-up-4" data-equalizer>
|
||||
<?php
|
||||
$counter = 0;
|
||||
$subpages = $page->subpages();
|
||||
$subpages = $page->subpages('contents.created_at', 'DESC');
|
||||
?>
|
||||
@foreach($subpages as $reference)
|
||||
<?php $counter++; ?>
|
||||
@@ -40,5 +39,4 @@
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
@endsection
|
||||
Reference in New Issue
Block a user