Fixed bug that duplicated 'Template' pages for ignored sections or other files in directory