Workaround for re-routing pdf->beamer

When the 'layout: extended' option is specified in the YAML front matter, if
'pdf' is selected as the output type, this re-routes it to beamer.

This is a workaround until layouts (paper, slides, blog, etc) are handled
properly