#2153 Code improvement for AMP Takeover
#2153 Code improvement for AMP Takeover

1: If it's frontpage and homepage support in AMP is turned off then there should be no AMP takeover.
2: If its Frontpage but Custom Frontpage support in AMP is disabled then serve the index.php
3: If its home but Custom Frontpage support is enabled then serve the frontpage.php

ahmedkaludi/Accelerated-Mobile-Pages,ahmedkaludi/Accelerated-Mobile-Pages