Forum
Filter pages by attributes i.e. noindex
On our sites we always have an XML sitemap template. This list is used by Google in their indexing and throws up an error if any pages on this are set to noindex. So is there a way to filter pages by the noindex attribute if you are not on that page? e.g. perch_page_attribute('noindex', array('page' => '/section/mypage.php'));
I think you should be able to hide them in the template with a
perch:if
tag pair.