Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1645 (new defect) — at Initial Version

Opened 12 years ago

Last modified 11 years ago

TG2 Quickstart template uses fixed CSS link

Reported by: khorn Owned by: anonymous
Priority: normal Milestone: 2.0
Component: TurboGears Version: trunk
Severity: normal Keywords:


The default quickstart template creates a fixed link to the site CSS in master.html.

This can cause the css file to be "unfindable" in certain situations. (esp when the TG app is not running as the root url of the site)

Workaround: remove slash from the beginning of the href attribute of the <link> element on line 17 of master.html


<link rel="stylesheet" type="text/css" media="screen" href="css/style.css" />

This should be changed to either a relative link, or to use whatever teh TG2 analog to tg.url() is going to be

Note: See TracTickets for help on using tickets.