Author: earle
Date: 2006-04-07 14:06:16 +0100 (Fri, 07 Apr 2006)
New Revision: 756
Modified:
trunk/templates/header.tt
trunk/templates/home_node.tt
Log:
Use summary metadata field to populate 'description' HTML metadata element. Also remove unused template logic for 'keywords' metadata for now. Closes #97.
Modified: trunk/templates/header.tt
===================================================================
--- trunk/templates/header.tt 2006-04-06 19:51:57 UTC (rev 755)
+++ trunk/templates/header.tt 2006-04-07 13:06:16 UTC (rev 756)
@@ -11,12 +11,9 @@
[% IF contact_email %]
<link rev="made" href="mailto:[% contact_email %]" />
[% END %]
- [% IF description %]
- <meta name="description" content="[% description %]" />
+ [% IF summary %]
+ <meta name="description" content="[% summary %]" />
[% END %]
- [% IF keywords %]
- <meta name="keywords" content="[% keywords %]" />
- [% END %]
[% IF stylesheet %]
<link rel="stylesheet" href="[% stylesheet %]" type="text/css" title="Stylesheet for [% site_name %]" />
[% END %]
Modified: trunk/templates/home_node.tt
===================================================================
--- trunk/templates/home_node.tt 2006-04-06 19:51:57 UTC (rev 755)
+++ trunk/templates/home_node.tt 2006-04-07 13:06:16 UTC (rev 756)
@@ -6,12 +6,9 @@
[% IF contact_email %]
<link rev=made href="mailto:[% contact_email %]">
[% END %]
- [% IF description %]
- <meta name="description" content="[% description %]">
+ [% IF summary %]
+ <meta name="description" content="[% summary %]">
[% END %]
- [% IF keywords %]
- <meta name="keywords" content="[% keywords %]">
- [% END %]
[% IF stylesheet %]
<link rel="stylesheet" href="[% stylesheet %]" type="text/css">
[% END %]