Next / Previous / Contents / TCC Help System / NM Tech homepage

5. Manifest constants

Next we set up some manifest constants, grouped at the top of the script for easy maintenance.

5.1. CSS_URL: Stylesheet location

Gives the URL of the stylesheet for TCC web pages.

tccpage.py
CSS_URL  =  "http://www.nmt.edu/tcc/style.css"

5.2. TOP_NAV_SEP: Separator string for the top navigational bar

This is the string that separates elements of the page-top navigational bar.

tccpage.py
TOP_NAV_SEP  =  " / "

5.3. TCC_MAIN_URL: TCC mainpage URL

This is the URL that people reach if they click on the TCC logo.

tccpage.py
TCC_MAIN_URL  =  "http://www.nmt.edu/tcc/"

5.4. TCC_LOGO_URL: TCC logo URL

This is the URL of the official TCC logo.

tccpage.py
TCC_LOGO_URL  =  "http://www.nmt.edu/tcc/images/logo.png"

5.5. BOT_NAV_SEP: Separator for page-bottom links

When a particular kind of page-bottom link has multiple destinations (e.g., a “See also” link), this string is placed between the links.

tccpage.py
BOT_NAV_SEP  =  "; "