template file title used filename without extension by default. this prevent the case where sniffer can't find any h1 in the file