git: 383935a941 - main - ports.cgi: improve error messages in case nothing was found

From: Wolfram Schneider <wosch_at_FreeBSD.org>
Date: Fri, 18 Sep 2026 10:19:08 UTC
The branch main has been updated by wosch:

URL: https://cgit.FreeBSD.org/doc/commit/?id=383935a941099c25b07c1dc6db3c862bd377b071

commit 383935a941099c25b07c1dc6db3c862bd377b071
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2026-09-18 10:19:01 +0000
Commit:     Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2026-09-18 10:19:01 +0000

    ports.cgi: improve error messages in case nothing was found
---
 website/content/en/cgi/ports.cgi | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/website/content/en/cgi/ports.cgi b/website/content/en/cgi/ports.cgi
index 0067433e37..13471f1620 100755
--- a/website/content/en/cgi/ports.cgi
+++ b/website/content/en/cgi/ports.cgi
@@ -935,8 +935,11 @@ if ( !$counter ) {
     print <<EOF;
 <p>
 Sorry, nothing found.
-You may look for other <a href="https://www.freebsd.org/search/">FreeBSD Search Services</a>
+<p>
+You can start a <a href="$script_name">new search</a> or look for other
+<a href="https://www.freebsd.org/search/">FreeBSD Search Services</a>.
 </p>
+<hr/>
 @{[ &footer_links ]}
 EOF
 }