Prevent bots from indexing date ranges with no incidents. Closes #624.
This commit is contained in:
@@ -41,11 +41,13 @@
|
||||
|
||||
<nav>
|
||||
<ul class="pager">
|
||||
@if($canPageBackward)
|
||||
<li class="previous">
|
||||
<a href="{{ route('status-page') }}?start_date={{ $previousDate }}">
|
||||
<span aria-hidden="true">←</span> {{ trans('cachet.incidents.previous_week') }}
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
@if($canPageForward)
|
||||
<li class="next">
|
||||
<a href="{{ route('status-page') }}?start_date={{ $nextDate }}">
|
||||
|
||||
Reference in New Issue
Block a user