if => elseif (autoembed file extension check)

Only check for pdf file extension if autoembed file is NOT in _posts