Setup search functionality for flatpages.