Just finish migrating my WordPress site to Hugo and deployed my site via Netlify.
Currently I am trying to sort redirects and reading documentation about _redirects file manager to achieve almost all.
When moved from wordpress, I (intentionally) resigned from AMP (for now) and would like to redirect old AMP links to non-AMP.
Without specifying it for each individually
Easy is to do with :splat for everything whats after url, but how to do that whats before?
just need to remove /amp/ from URL end if requested in such way