how to create pagination for pages ( file.md ) and sections ( folders ) at the same time in list.html file?