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 Version 1

Opened 11 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:
Cc:

Description (last modified by khorn) (diff)

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

i.e.:

<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 the TG2 analog to tg.url() is going to be

Change History

comment:1 Changed 11 years ago by khorn

  • Description modified (diff)
Note: See TracTickets for help on using tickets.