Edited templates for dynamic nav. Added navClass frontmatter to indices.