source formatting for header, index, footer, and footer links