Loops section content and outputs each section by looking at first instances of each section block in HTML