Add a filter conditionally based on frontpage

Add a filter conditionally based on frontpage

tech