diff --git a/framework/core/views/frontend/content/index.blade.php b/framework/core/views/frontend/content/index.blade.php
index <HASH>..<HASH> 100644
--- a/framework/core/views/frontend/content/index.blade.php
+++ b/framework/core/views/frontend/content/index.blade.php
@@ -16,5 +16,7 @@ $url = app('Flarum\Http\UrlGenerator');
         @endforeach
     </ul>
 
-    <a href="{{ $url->to('forum')->route('index') }}?page={{ $page + 1 }}">{{ $translator->trans('core.views.index.next_page_button') }} &raquo;</a>
+    @if (isset($document->links->next))
+        <a href="{{ $url->to('forum')->route('index') }}?page={{ $page + 1 }}">{{ $translator->trans('core.views.index.next_page_button') }} &raquo;</a>
+    @endif
 </div>
Only display pagination link if necessary

Otherwise, search engines start indexing pages that aren't filled yet.

Refs #<I>.