git: 3e0cefa2fe - main - Fix CSS styles in cgi script

Sergio Carlavilla Delgado <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by carlavilla:

URL: https://cgit.FreeBSD.org/doc/commit/?id=3e0cefa2fe0f5173e6030892790c238f9af9f6a7

commit 3e0cefa2fe0f5173e6030892790c238f9af9f6a7
Author:     Sergio Carlavilla Delgado <[email protected]>
AuthorDate: 2021-01-26 15:01:14 +0000
Commit:     Sergio Carlavilla Delgado <[email protected]>
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;
     };
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.