Correctly show the template sources (see #6875)