Revert "Revert "Use flex detection for fronts""

This reverts commit f1f56460d0c7dc4fd485b7004995baff847c9ae5.
too many nests
Merge pull request #6694 from guardian/tag-pages-fix

Detect flex take 2