From owner-dev-commits-doc-all@freebsd.org Tue Jan 26 15:04:04 2021 Return-Path: Delivered-To: dev-commits-doc-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 858DC4F233F for ; Tue, 26 Jan 2021 15:04:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DQ9443KzGz4W3Z; Tue, 26 Jan 2021 15:04:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6555E3271; Tue, 26 Jan 2021 15:04:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 10QF44Pp004381; Tue, 26 Jan 2021 15:04:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 10QF44F0004380; Tue, 26 Jan 2021 15:04:04 GMT (envelope-from git) Date: Tue, 26 Jan 2021 15:04:04 GMT Message-Id: <202101261504.10QF44F0004380@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Sergio Carlavilla Delgado Subject: git: 3e0cefa2fe - main - Fix CSS styles in cgi script MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: carlavilla X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3e0cefa2fe0f5173e6030892790c238f9af9f6a7 Auto-Submitted: auto-generated X-BeenThere: dev-commits-doc-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the doc repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2021 15:04:04 -0000 The branch main has been updated by carlavilla: URL: https://cgit.FreeBSD.org/doc/commit/?id=3e0cefa2fe0f5173e6030892790c238f9af9f6a7 commit 3e0cefa2fe0f5173e6030892790c238f9af9f6a7 Author: Sergio Carlavilla Delgado AuthorDate: 2021-01-26 15:01:14 +0000 Commit: Sergio Carlavilla Delgado 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 @@ -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; };