summaryrefslogtreecommitdiff
path: root/themes/xtemplate/xtemplate.theme
diff options
context:
space:
mode:
Diffstat (limited to 'themes/xtemplate/xtemplate.theme')
-rw-r--r--themes/xtemplate/xtemplate.theme3
1 files changed, 2 insertions, 1 deletions
diff --git a/themes/xtemplate/xtemplate.theme b/themes/xtemplate/xtemplate.theme
index 182ac7048..2bc36e7af 100644
--- a/themes/xtemplate/xtemplate.theme
+++ b/themes/xtemplate/xtemplate.theme
@@ -24,7 +24,7 @@ function xtemplate_help($section) {
switch ($section) {
case 'admin/system/themes#description':
- $output = t("A template driven theme");
+ $output = t('A template driven theme');
break;
}
@@ -39,6 +39,7 @@ function xtemplate_node($node, $main = 0, $page = 0) {
"title" => ucfirst($node->title),
"author" => format_name($node),
"date" => format_date($node->created),
+ "classes" => ($main && $node->static) ? 'node static-node' : 'node',
"content" => ($main && $node->teaser) ? $node->teaser : $node->body));
if (module_exist("taxonomy") && ($taxonomy = taxonomy_link("taxonomy terms", $node))) {