While trying to modify Display template in SharePoint site you go to
Publishing features of your site/ site collection is not running.
Go to Site Settings -> Site Collection Features -> SharePoint Server Publishing Infrastructure, And Activate it.
Now Go to, Site Settings -> Manage Site Features -> SharePoint Server Publishing, And Activate it.
Now if you’ll go to display template you’ll be able to see .html files along with .js files. J