Search and Page Commit

Section 12 of
http://themeshaper.com/2012/11/06/the-wordpress-theme-search-template-and-page-template/