Fixed issue with the file extension in layout partials