b953f5567d97c22e1d1cfe96a6da7b3548f99d61 kate Mon Jan 23 12:17:57 2017 -0800 Update to relative link approach. refs #18504 diff --git src/hg/htdocs/template.html src/hg/htdocs/template.html index e743481..7626d76 100755 --- src/hg/htdocs/template.html +++ src/hg/htdocs/template.html @@ -1,37 +1,34 @@ <!DOCTYPE html> <!-- template.html: Example HTML for a Genome Browser static page --> <!-- Style recommendations 1. Capitalization: use only lowercase for HTML element names, attributes and values 2. Quotes: Use double quotes for attribute values 3. Whitespace: Use a new line for every block list or table element 4. Indentation: Indent every child element 2 spaces 5. Special characters: Don't use entity references (set editor to UTF-8), except < & 6. Limit lines to a maximum of 100 characters --> <!-- Page header --> -<!--#set var="title" value="GB Static Page Template" --> +<!--#set var="TITLE" value="UCSC Genome Browser: Citing Us" --> +<!--#set var="ROOT" value="." --> -<!-- Boilerplate to support mirror sites with non-standard GB docs install --> -<!--#if expr="$GB_DOCUMENT_ROOT" --> - <!--#include virtual="/gbDocs/inc/gbPageStart.html" --> -<!--#else --> - <!--#include virtual="/inc/gbPageStart.html" --> -<!--#endif --> +<!-- Relative paths to support mirror sites with non-standard GB docs install --> +<!--#include virtual="$ROOT/inc/gbPageStart.html" --> <!-- Page content --> <h1>Sample Genome Browser Static Page (h1)</h1> <p> This is a standard paragraph ('p' tag) of explanatory text. The next part of the page demonstrates how to create a multi-column layout using the grid layout feature of bootstrap.css, a widely used stylesheet which is now included in the browser static pages. </p> <!-- Sections --> <!-- In this example, two of same size, so use 6 columns of 12 total in grid --> <div class="row">