Changes between Version 22 and Version 23 of AddHeadersPlugin
- Timestamp:
- Aug 10, 2016, 4:59:45 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AddHeadersPlugin
v22 v23 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = Add HTML Headers to Trac Pages in a simple way3 = Add HTML Headers to Trac pages in a simple way 4 4 5 5 == Description … … 36 36 }}} 37 37 38 == Usage38 == Configuration 39 39 40 40 The plugin is controlled through settings in the TracIni file. All settings must be put in the section `[addheaders]`. 41 42 === Settings43 41 44 42 `default_base = `''<path relative to base URL>'' (default: '`site/`'):: This is used as default base of the files relative to the base URL, which is eg `http://trac.example.org/project1/`. Note that URL paths are used, not local file paths. The default is `site/` which is the relative URL for the `htdocs` directory in your `$TRAC_PROJECT_DIR`. … … 77 75 * ''<name>''`.lang = `''<language of meta tag>'' 78 76 79 See also the [#Examples examples] below.80 81 77 == Examples 82 78 … … 120 116 }}} 121 117 122 This will result in the following added headers, not necessar y in that order:118 This will result in the following added headers, not necessarily in that order: 123 119 {{{#!html 124 120 <link title="default" type="text/css" href="/chrome/site/style.css" rel="stylesheet" />