Writing SEO for Homepage when homepage is set to display latest posts

As there’s no page template called ‘Front Page’ anymore, I proceeded to the Theme Editor where I then edited the index.php file adding the following code right at the top of the file.

<?php /* Template Name: Front Page */ ?>

After I had saved the changes, I edited the Page and I then set the page called Home as the ‘Front Page’. After the change in the index.php file, the Front Page option became available.

Now I am able to edit the SEO by going to the edit page section and at the bottom of the page, the Yoast SEO panel appears.