Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bob reported a problem making the new site live:
+-- Bob wrote | I don't know what I've done, but somehow I've broken the | update.pl script (I think). On jmri.sf.net, it doesn't seem to | actually be doing the update to replace /site.new/ to / in the | various links. +-- The fix is to make docroot "/" in update.pl AND to modify templates/[HFSL]* to not put explicit slashes after ${docroot} so you don't end up with double slashes. If you desire to have update.pl use a docroot of something other than "/", you need to ensure that it explicitly ends in a slash, such as $docroot = "/site.new/"; -John
- Loading branch information
Showing
5 changed files
with
20 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<!-- Logo --> | ||
<a href="${docroot}/" title="Return to home page" accesskey="1"> | ||
<img src="${docroot}/${logo}" width="160" height="135" alt=${logoalt}> </a> | ||
<a href="${docroot}" title="Return to home page" accesskey="1"> | ||
<img src="${docroot}${logo}" width="160" height="135" alt=${logoalt}> </a> | ||
<!-- /Logo --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<!-- Style --> | ||
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> | ||
<link rel="stylesheet" type="text/css" href="${docroot}/css/default.css" media="screen"> | ||
<link rel="stylesheet" type="text/css" href="${docroot}/css/print.css" media="print"> | ||
<link rel="icon" href="${docroot}/images/jmri.ico" type="image/png"> | ||
<link rel="home" title="Home" href="${docroot}/"> | ||
<link rel="stylesheet" type="text/css" href="${docroot}css/default.css" media="screen"> | ||
<link rel="stylesheet" type="text/css" href="${docroot}css/print.css" media="print"> | ||
<link rel="icon" href="${docroot}images/jmri.ico" type="image/png"> | ||
<link rel="home" title="Home" href="${docroot}"> | ||
<!-- /Style --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters