FIX ROBOTS.TXT IN 4 STEPS
OPEN SEARCH PREFERENCE IN SETTINGS OF BLOGGER .
STEP-2
IN SEARCH PREFERENCE GO TO Crawlers and indexing OPTION
STEP-3
IN Crawlers and indexing OPTION OPEN CUSTOM robots.txt and enable it then you have to paste the code give below with your website/Blog Url
COPY THIS CODE
STEP-4
IN Crawlers and indexing Enable Custom Header Tags .See What Settings you have to choose in the Image given below.
CONCLUSION:
This was the simplest way of fixing robots.txt in Blogger. It will take about 30-45 days to fix this issue after this time spam robots.txt will not block your posts from being indexed.