Change sections to multiple pages nicely using jinja templating