Fixes layout issue where an ad is placed above a figure element

- Fixes #2811 
- Sets a limit of 1 inline ad per page. This is until we have the ability to serve various inline ads

I think how we place the inline ads is going to change soon, so this will hopefully be a temporary solution.