git: 4aadf63134 - main - man.cgi: better title for help and result pages
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Sep 2026 16:28:02 UTC
The branch main has been updated by wosch:
URL: https://cgit.FreeBSD.org/doc/commit/?id=4aadf631343cadb91baa5b94495debb42657acfd
commit 4aadf631343cadb91baa5b94495debb42657acfd
Author: Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2026-09-06 16:27:32 +0000
Commit: Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2026-09-06 16:27:32 +0000
man.cgi: better title for help and result pages
Event: Berlin Hackathon 202609
---
website/content/en/cgi/man.cgi | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/website/content/en/cgi/man.cgi b/website/content/en/cgi/man.cgi
index da3fe6e639..12e02b608a 100755
--- a/website/content/en/cgi/man.cgi
+++ b/website/content/en/cgi/man.cgi
@@ -1711,7 +1711,7 @@ sub apropos {
}
&http_header("text/html");
- print &html_header("Apropos $title");
+ print &html_header("Apropos $title - $manpath Manual Pages");
print "<br/>\n";
$section = $sektion;
@@ -1835,7 +1835,7 @@ sub man {
if ( $format eq "html" ) {
&http_header("text/html");
- print &html_header("$title");
+ print &html_header("$title - $manpath Manual Pages");
print "<br/>\n";
print "<h1>$www{'head'}</h1>\n\n" if !$www{'head'};
&formquery;
@@ -2629,8 +2629,8 @@ sections.
sub faq_output {
&http_header("text/html");
- print &html_header( "FreeBSD manual page help", '/cgi/' );
- print "<br/>\n<h1>$www{'head'}</h1>\n";
+ print &html_header( "$www{'head'} Help", '/cgi/' );
+ print "<br/>\n<h1>$www{'head'} Help</h1>\n";
print &faq . "<br/>\n";
&html_footer('no_help_link' => 1);
}
@@ -2642,7 +2642,7 @@ sub html_header2 {
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
-<title>$title</title>
+<title>XXX $title</title>
$head
</head>
<body>