fab function to cycle through slugs, create index.html