Hugo function to obtain OutputFormat
of current page context

Hugo does not currently provide a function to obtain the current OutputFormat - this function provides the answer