diff options
author | Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> | 2021-01-26 21:03:42 +0000 |
---|---|---|
committer | Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> | 2021-01-26 21:03:42 +0000 |
commit | b083596abd9d5c9164e5b4abe71f1389b828812e (patch) | |
tree | 213bf9fb66116f06d252715486b6faa108c96a91 | |
parent | 9ce5e91d8fc89dc2eb04624ece9efdbb3b9331f8 (diff) | |
download | doc-b083596abd9d5c9164e5b4abe71f1389b828812e.tar.gz doc-b083596abd9d5c9164e5b4abe71f1389b828812e.zip |
Revert cgi styles to previous state.
Revert commit 3e0cefa2fe0f5173e6030892790c238f9af9f6a7
-rw-r--r-- | website/content/en/cgi/cgi-style.pl | 8 |
1 files 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; }; |