Changes between Version 4 and Version 5 of AddHeadersPlugin
- Timestamp:
- Nov 1, 2008, 2:23:34 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AddHeadersPlugin
v4 v5 94 94 }}} 95 95 96 This will result in the following added headers: 97 {{{ 98 <link title="default" type="text/css" href="/chrome/site/style.css" rel="stylesheet"> 99 <link title="theme1" type="text/css" href="/chrome/site/theme1.css" rel="alternate stylesheet"/> 100 <link title="theme2" type="text/css" href="/chrome/site/theme2.css" rel="alternate stylesheet"/> 101 }}} 102 96 103 === Adding custom !JavaScript and CSS === 97 104 The following example shows how to add some custom !JavaScript and CSS files. Here they all start with a common prefix. The JS files (abc_one.js,abc_two.js,abc_tree.js) are positioned in the `$TRAC_PROJECT_DIR/htdocs/js/` and the CSS files (style_print.css,style_screen.css) `$TRAC_PROJECT_DIR/htdocs/css/` directory.