Changeset 901


Ignore:
Timestamp:
Dec 9, 2006, 3:45:10 PM (15 years ago)
Author:
Earle Martin
Message:

Don't display node summary on home page.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides.pm

    r900 r901  
    172172    my %tt_vars;
    173173
     174    $tt_vars{home_name} = $self->config->home_name;
     175   
    174176    if ( $id =~ /^(Category|Locale) (.*)$/ ) {
    175177        my $type = $1;
  • trunk/templates/banner.tt

    r895 r901  
    44  [% CATCH %]
    55    <h1><a href="[% home_link %]">[% site_name %]</a></h1>
    6     [% IF summary %]<div id="summary">[% summary %]</div>[% END %]
     6    [% IF summary AND node_name != home_name %]
     7        <div id="summary">[% summary %]</div>
     8    [% END %]
    79  [% END %]
    810</div>
Note: See TracChangeset for help on using the changeset viewer.