fix: list numbering on partial view

This commit is contained in:
Ben Goldsworthy 2023-06-08 10:45:16 -06:00
parent 1432de9fe5
commit f3e053782e
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@
<h2 class="section__title">@if ($showAllCheckins) Posts @else Recent Posts @endif</h2>
<p style="font-weight: bold; text-align: center;">Want to receive a regular email digest of updates?</p>
<p style="text-align: center;">Ask me and I'll add you to the list: weekly, fortnightly and monthly options available (or daily if you're really keen).</p>
<ol start="{{ $toCheckin ?? count($trip->checkins) }}" reversed>
<ol start="{{ count($trip->checkins) }}" reversed>
@if($showAllCheckins || $toCheckin || $fromCheckin)
@php $checkinsList = array_reverse($trip->checkins) @endphp
@else