Changes between Version 4 and Version 5 of AddHeadersPlugin


Ignore:
Timestamp:
Nov 1, 2008, 2:23:34 PM (15 years ago)
Author:
Martin Scharrer
Comment:

Added resulting HTML output for example.

Legend:

Unmodified
Added
Removed
Modified
  • AddHeadersPlugin

    v4 v5  
    9494}}}
    9595
     96This 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
    96103=== Adding custom !JavaScript and CSS ===
    97104The 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.