Generate site specific index.html

I am new to Jekyll and I want to generate a custom index.html page. Is it correct to just edit the index. markdown file in the site directory to do this?

not in the _Site directory - that will get deleted and recreated every time the site is rebuilt. You want to edit the index file in the root of the project. Do not create both an index.html and index.md - just one or the other.