hugolib: Refine allKindsInPages
hugolib: Refine allKindsInPages

digitalcraftsman/hugo,mitchchn/hugo,digitalcraftsman/hugo,fedelibre/hugo,anthonyfok/hugo,gohugoio/hugo,mdhender/hugo,gohugoio/hugo,mdhender/hugo,anthonyfok/hugo,mdhender/hugo,fedelibre/hugo,mitchchn/hugo,fedelibre/hugo,gohugoio/hugo,mdhender/hugo,anthonyfok/hugo,fedelibre/hugo