Index: node.tpl.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/themes/html5_base/node.tpl.php,v
retrieving revision 1.2
diff -u -p -r1.2 node.tpl.php
--- node.tpl.php	28 Jul 2010 03:18:45 -0000	1.2
+++ node.tpl.php	14 Aug 2010 05:35:57 -0000
@@ -4,34 +4,6 @@
  * @file
  * node.tpl.php
  */
-
-//  dsm($node->links);
-  // foreach ($node->links as $key => $value) {
-  //   print $node->links[$key]['title'];
-  // }
-
-/**
- * dsm(get_defined_vars())
- * dsm($variables['template_files']);
- * dsm($node);
- * dsm($node->content);
- * print $FIELD_NAME_rendered;
- */
-
-/**
- * $links splitted up
- * <?php print $statistics_counter; ?>
- * <?php print $link_read_more; ?>
- * <?php print $link_comment; ?>
- * <?php print $link_comment_add ?>
- * <?php print $link_attachments; ?>
- */
-
-/**
- * ad a class="" if we have anything in the $classes var
- * this is so we can have a cleaner output - no reason to have an empty <div class="" id="">
- */
-
 if ($classes) {
   $classes = ' class="'. $classes . '"';
 }
@@ -42,51 +14,57 @@ if ($id_node) {
 ?>
 
 <?php if ($page == 0): ?>
-<div<?php print $id_node . $classes; ?>>
-  <?php if ($node->title): ?>
-    <h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
-  <?php endif; ?>
-
-  <div class="meta">
-    <?php if ($node->picture): ?>
-      <?php print theme('imagecache', 'preset_namespace', $node->picture, $alt, $title, $attributes); ?>
+<article<?php print $id_node . $classes; ?>>
+  <header>
+    <?php if ($node->title): ?>
+      <h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
     <?php endif; ?>
 
-    <?php print theme('username', $node); ?>
-
-    <?php print format_date($node->created, 'custom', "j F Y") ?>
-  </div>
+    <div class="meta">
+      <?php if ($node->picture): ?>
+        <?php print theme('imagecache', 'preset_namespace', $node->picture, $alt, $title, $attributes); ?>
+      <?php endif; ?>
+
+      <?php print theme('username', $node); ?>
+
+      <?php print format_date($node->created, 'custom', "j F Y") ?>
+    </div>
+  </header>
 
   <div class="content">
     <?php print $content;?>
   </div>
 
   <?php if ($links): ?>
-    <?php print $links; ?>
+    <footer>
+      <?php print $links; ?>
+    </footer>
   <?php endif; ?>
 
-</div>
-
+</article>
 <?php endif; ?>
-<? else: //Content ?>
-<div<?php print $id_node . $classes; ?>>
-  <?php if ($node->title): ?>
-    <h1><?php print $title;?></h1>
-  <?php endif; ?>
 
-  <div class="meta">
-    <?php if ($picture): ?>
-      <?php print $picture; ?>
+<? else: //Content ?>
+<article<?php print $id_node . $classes; ?>>
+  <header>
+    <?php if ($node->title): ?>
+      <h1><?php print $title;?></h1>
     <?php endif; ?>
 
-    <?php print theme('username', $node); ?>
-
-    <?php print format_date($node->created, 'custom', "j F Y") ?>
-
-    <?php if (count($taxonomy)): ?>
-       <?php print $terms ?>
-    <?php endif; ?>
-  </div>
+    <div class="meta">
+      <?php if ($picture): ?>
+        <?php print $picture; ?>
+      <?php endif; ?>
+
+      <?php print theme('username', $node); ?>
+
+      <?php print format_date($node->created, 'custom', "j F Y") ?>
+
+      <?php if (count($taxonomy)): ?>
+         <?php print $terms ?>
+      <?php endif; ?>
+    </div>
+  </header>
 
   <?php print $content ?>
 
@@ -95,7 +73,9 @@ if ($id_node) {
   <?php print $node_region_one;?>
 
   <?php if ($links): ?>
-    <?php  print $links; ?>
+    <footer>
+      <?php print $links; ?>
+    </footer>
   <?php endif; ?>
-</div>
+</article>
 <?php endif; ?>
