Changeset 902


Ignore:
Timestamp:
Dec 9, 2006, 4:08:15 PM (15 years ago)
Author:
Earle Martin
Message:

Add meta keywords to output. Closes #129.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/header.tt

    r873 r902  
    1818  [% IF summary %]
    1919    <meta name="description" content="[% summary %]" />
     20  [% END %]
     21  [% IF (categories.size AND categories.size > 0)
     22     OR (locales.size AND locales.size > 0) %]
     23    <meta name="keywords" content="[% IF categories.size AND
     24categories.size > 0 %][% FOREACH category = categories %][%
     25category.name %][%- ", " %][% END %][% END %][% IF locales.size AND
     26locales.size > 0 %][% FOREACH locale = locales %][% locale.name %][%-
     27", " UNLESS loop.last %][% END %][% END %]" />
    2028  [% END %]
    2129  [% IF stylesheet %]
  • website/.htaccess

    r879 r902  
    11Options +ExecCGI
     2AddHandler cgi-script .cgi
     3
    24DirectoryIndex page
    35
Note: See TracChangeset for help on using the changeset viewer.