git: 3214c60a1b - main - man.cgi: use full URL to FreeBSD Search Services

From: Wolfram Schneider <wosch_at_FreeBSD.org>
Date: Mon, 09 Sep 2024 17:14:51 UTC
The branch main has been updated by wosch:

URL: https://cgit.FreeBSD.org/doc/commit/?id=3214c60a1b8921ffb34c0abcc10f7abeef1787b7

commit 3214c60a1b8921ffb34c0abcc10f7abeef1787b7
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2024-09-09 17:13:33 +0000
Commit:     Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2024-09-09 17:13:33 +0000

    man.cgi: use full URL to FreeBSD Search Services
    
    A relative link may not work if not the full website is available
---
 website/content/en/cgi/man.cgi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/website/content/en/cgi/man.cgi b/website/content/en/cgi/man.cgi
index 39d6e0b1b5..d0d09089dd 100755
--- a/website/content/en/cgi/man.cgi
+++ b/website/content/en/cgi/man.cgi
@@ -1589,7 +1589,7 @@ sub apropos {
     if ( !$acounter ) {
         print "Sorry, no data found for `$query'.\n";
         print qq{You may look for other }
-          . qq{<a href="../../search/">FreeBSD Search Services</a>.<br/><br/>\n};
+          . qq{<a href="https://www.freebsd.org/search/">FreeBSD Search Services</a>.<br/><br/>\n};
     }
     &html_footer;
 }
@@ -1800,7 +1800,7 @@ sub man {
         print
 qq{Please try a <a href="$BASE?apropos=1&amp;manpath=freebsd-release-ports&amp;query=$html_name">keyword search</a>.\n};
         print qq{<p>You may look for other }
-          . qq{<a href="../../search/">FreeBSD Search Services</a>.</p>\n};
+          . qq{<a href="https://www.freebsd.org/search/">FreeBSD Search Services</a>.</p>\n};
         &html_footer;
         return;
     }