Drupal 7: My node.tpl.php file

This node.tpl.php file is a good starting point when creating a theme from scratch.

/**
* Teaser view.
*/

/**
* Custom teaser view for front page and if node has status $promote and not sticky.
*/




/**
* Full page view.
*/

/**
* Custom full page view for front page and if node has status $promote.
*/



/**
* Custom full page view if not front page and if node has status $promote.
*/



Tags

Drupal 7: My node.tpl.php file