Date: Tue, 26 Jan 2021 15:04:04 GMT From: Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org Subject: git: 3e0cefa2fe - main - Fix CSS styles in cgi script Message-ID: <202101261504.10QF44F0004380@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by carlavilla: URL: https://cgit.FreeBSD.org/doc/commit/?id=3e0cefa2fe0f5173e6030892790c238f9af9f6a7 commit 3e0cefa2fe0f5173e6030892790c238f9af9f6a7 Author: Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> AuthorDate: 2021-01-26 15:01:14 +0000 Commit: Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> CommitDate: 2021-01-26 15:01:14 +0000 Fix CSS styles in cgi script Fix CSS styles in the cgi scripts --- 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 7a472103fc..03d5b6f1fd 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/layout/css/fixed.css" type="text/css" + href="$hsty_base/css/fixed.css" type="text/css" title="Normal Text" $endslash> <link rel="alternate stylesheet" media="screen" - href="$hsty_base/layout/css/fixed_large.css" type="text/css" + href="$hsty_base/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; };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101261504.10QF44F0004380>