git: b083596abd - main - Revert cgi styles to previous state.
Sergio Carlavilla Delgado
carlavilla at FreeBSD.org
Tue Jan 26 21:07:25 UTC 2021
The branch main has been updated by carlavilla:
URL: https://cgit.FreeBSD.org/doc/commit/?id=b083596abd9d5c9164e5b4abe71f1389b828812e
commit b083596abd9d5c9164e5b4abe71f1389b828812e
Author: Sergio Carlavilla Delgado <carlavilla at FreeBSD.org>
AuthorDate: 2021-01-26 21:03:42 +0000
Commit: Sergio Carlavilla Delgado <carlavilla at FreeBSD.org>
CommitDate: 2021-01-26 21:03:42 +0000
Revert cgi styles to previous state.
Revert commit 3e0cefa2fe0f5173e6030892790c238f9af9f6a7
---
website/content/en/cgi/cgi-style.pl | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/website/content/en/cgi/cgi-style.pl b/website/content/en/cgi/cgi-style.pl
index 03d5b6f1fd..7a472103fc 100644
--- a/website/content/en/cgi/cgi-style.pl
+++ b/website/content/en/cgi/cgi-style.pl
@@ -8,7 +8,7 @@ $yr += 1900;
$mo += 1;
$timestamp = "$mo-$md-$yr";
-if (!defined($hsty_base)) {
+if (!defined($hsty_base)) {
# $hsty_base should be relative if possible, so that mirrors
# serve their local copy instead of going to the main site.
# However, if we aren't running as a cgi, or if we're
@@ -217,10 +217,10 @@ $html
<meta http-equiv='content-type' content='text/html; charset=$hsty_charset' $endslash>
<meta name='robots' content='nofollow' $endslash>
<link rel="stylesheet" media="screen"
- href="$hsty_base/css/fixed.css" type="text/css"
+ href="$hsty_base/layout/css/fixed.css" type="text/css"
title="Normal Text" $endslash>
<link rel="alternate stylesheet" media="screen"
- href="$hsty_base/css/fixed_large.css" type="text/css"
+ href="$hsty_base/layout/css/fixed_large.css" type="text/css"
title="Large Text" $endslash>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="apple-touch-icon" href="/favicon.ico" type="image/x-icon" />
@@ -254,7 +254,7 @@ sub html_footer {
sub get_the_source {
return if $ENV{'PATH_INFO'} ne '/get_the_source';
- open(R, $0) || do {
+ open(R, $0) || do {
print "Oops! open $0: $!\n"; # should not reached
exit;
};
More information about the dev-commits-doc-all
mailing list