diff --git a/modules/node/node.tpl.php b/modules/node/node.tpl.php index 6d0f489..bce1f9d 100644 --- a/modules/node/node.tpl.php +++ b/modules/node/node.tpl.php @@ -77,16 +77,30 @@ * @see template_preprocess_node() * @see template_process() */ + +// Variables documented above as requiring a render() call can be rendered into +// strings here, allowing the rest of this template to be easier to work with. +$render_variables = array( + // Render $title_prefix and $title_suffix, without separating any subparts. + 'title_prefix' => array(), + 'title_suffix' => array(), + // Render $content, but separate the links and comments subparts into their + // own variables: $links and $content_comments. + 'content' => array('links', 'comments' => 'content_comments'), +); + +// Do not modify the following line. +extract(template_render_variables($variables, $render_variables)); ?>
> - + > - +