[#1884] Ignore hidden template files

see #1884