c30c3ee6d04529b1e805b5f7e8f35187f0357c51
kate
  Wed Jan 11 17:26:04 2017 -0800
Implement Apache Alias and SetEnv approach to handling non-standard document root dir. refs #18621

diff --git src/hg/htdocs/cite.html src/hg/htdocs/cite.html
index ef1c13d..e572a38 100755
--- src/hg/htdocs/cite.html
+++ src/hg/htdocs/cite.html
@@ -1,18 +1,24 @@
 <!DOCTYPE html>
 <!--#set var="TITLE" value="UCSC Genome Browser: Citing Us" -->
+
+<!-- Boilerplate to support mirror sites with non-standard GB docs install -->
+<!--#if expr="$GB_DOCUMENT_ROOT" -->
+    <!--#include virtual="/gbDocs/gbPageStart.html" -->
+<!--#else -->
     <!--#include virtual="/gbPageStart.html" -->
+<!--#endif --> 
 
 <h1>Citing the UCSC Browser in a Publication or Web Page</h1>
 <p>
 Follow these citation guidelines when using applications from the Genome Browser tool suite or 
 data from the UCSC Genome Browser database in a research work that will be published in a journal or
 on the Internet.  In addition to the relevant paper, please include a reference to the Genome 
 Browser website in your manuscript: <a href="index.html" target=_blank>http://genome.ucsc.edu/</a>. 
 Be sure to mention the release date of the genome assembly used in your work to faciliate the 
 examination of your data by reviewers and the readers. Please do <b>not</b> include references to 
 our development servers (such as genome-test.cse.ucsc.edu) in published links or URLs.</p>
 <p>
 For an extended list of publications produced by the UCSC Genome Bioinformatics group, see our 
 <a href="goldenPath/pubs.html">Publications</a> page.</p>
 
 <a name="ref"></a>
@@ -114,17 +120,20 @@
 Kent WJ, Haussler D. 
 <a href="http://www.genome.org/cgi/content/abstract/GR-1832Rv1" 
 target=_blank>Assembly of the working draft of the human genome with gigAssembler</a>. 
 <em>Genome Res</em>. 2001 Sep;11(9)1541-1548.<BR>
 <em> Cite this paper when publishing results pertaining to human genome assemblies prior to the 
 22 Dec. 2001 assembly.</em> 
 </p>
 <p>
 <b>Other genome assemblies:</b> 
 Manuscripts that include the use of Genome Browser assembly data from organisms other than human 
 should cite the relevant initial sequencing paper. Often this information can be found on the 
 Genome Browser <a href="goldenPath/credits.html">Credits</a> page or on the GenBank BioProject
 page for the organism. 
 </p>
 
-<!--#include virtual="/gbPageEnd.html" -->
-
+<!--#if expr="$GB_DOCUMENT_ROOT" -->
+    <!--#include virtual="/gbDocs/gbPageEnd.html" -->
+<!--#else -->
+    <!--#include virtual="/gbPageStart.html" -->
+<!--#endif -->