Changeset 966

Show
Ignore:
Timestamp:
03/22/07 22:41:05 (20 months ago)
Author:
kake
Message:

Add support for custom template to add to page <head> (ticket #191).

Location:
trunk
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/CUSTOMISATION

    r930 r966  
    1111 
    1212The custom templates currently supported are: 
     13 
     14 - custom_header.tt 
     15   Will be included at the very end of the <head> element on every page. 
    1316 
    1417 - custom_licence.tt 
  • trunk/Changes

    r965 r966  
    2121        Add config option to place content above navbar in HTML. 
    2222        Add config option to suppress inline maps on geotagged nodes. 
     23        Add support for custom template to add to page <head> (#191). 
    2324        Fix preferences to take notice of users turning off inline Google maps. 
    2425        Add option to include Google Analytics. 
  • trunk/MANIFEST

    r965 r966  
    109109t/47_navbar_placement.t 
    110110t/48_google_analytics.t 
     111t/49_custom_header.t 
    111112t/51_display_node.t 
    112113t/52_display_diffs.t 
  • trunk/templates/header.tt

    r961 r966  
    4646    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=[% gmaps_api_key %]" type="text/javascript"></script> 
    4747  [% END %] 
     48 
     49  [% TRY %] 
     50    [% INCLUDE custom_header.tt %] 
     51  [% CATCH %] 
     52  [% END %] 
     53 
    4854</head> 
    4955<body>