fix map page displaying posts when home page is custom page