Adds doc examples with templates in subdirectories

Updates the overview and nesting pages to include example code where
templates are located in subdirectories.