Changeset 961


Ignore:
Timestamp:
Mar 22, 2007, 5:46:05 PM (15 years ago)
Author:
kake
Message:

Add a new div to wrap the entire body; also, use header.tt in home_node.tt instead of copy/paste.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Changes

    r955 r961  
    1717          to make it easier for people to change the order in a custom template
    1818        Move common categories/locales into navbar.
     19        Add a new div to wrap the entire body; also, use header.tt in
     20          home_node.tt instead of copy/paste.
    1921        Add config option to suppress inline maps on geotagged nodes.
    2022        Fix preferences to take notice of users turning off inline Google maps.
  • trunk/README.CSS

    r952 r961  
    9595    Used in: banner.tt
    9696    Purpose: The site banner/title
     97
     98div#body
     99    Used in: header.tt
     100    Purpose: Wrap the entire body of the page.
    97101
    98102div#content
  • trunk/templates/footer.tt

    r950 r961  
    4444</div>
    4545</div>
     46</div>
    4647</body>
    4748</html>
  • trunk/templates/header.tt

    r902 r961  
    4848</head>
    4949<body>
     50  <div id="body">
    5051  [% IF enable_gmaps AND display_google_maps AND gmaps_api_key %]
    5152    <script defer="defer" type="text/javascript">
  • trunk/templates/home_node.tt

    r941 r961  
    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    2 [% USE CGI %]
    3 <html>
    4 <head>
    5   <title>[% node_name %] - [% site_name %]</title>
    6   [% IF contact_email %]
    7     <link rev=made href="mailto:[% contact_email %]">
    8   [% END %]
    9   [% IF summary %]
    10     <meta name="description" content="[% summary %]">
    11   [% END %]
    12   [% IF stylesheet %]
    13     <link rel="stylesheet" href="[% stylesheet %]" type="text/css">
    14   [% END %]
    15 </head>
    16 <body>
     1[% INCLUDE header.tt %]
    172
    183[% INCLUDE banner.tt %]
Note: See TracChangeset for help on using the changeset viewer.