Output Format issues on Netlify

I’m using the following outputFormat

[outputFormats]
    [outputFormats.original]
        mediaType = "text/html"
        path = "2006"

[outputs]
    home = ["HTML", "original"]
    page = ["HTML", "original"]
    taxonomy = ["HTML", "original"]

When I run hugo locally it works great, creates the right versions, saves them in the right directories, all is good and well. However, on Netlify it is using the “original” format for all single types, such as journal and photo, and seems to ignore the single.html layouts. My templates are as such…

layouts/journal/single.html
layouts/journal/single.original.html
layouts.photo/single.html
layouts/photo/single.original.html

It seems to work just fine for the taxonomies and top level pages (content/about.md). I’ve reached out to Netlify, but haven’t found any answers there.

Has anyone experience anything like this?
Is there something simple I’m loverlooking?

I would guess that this is a Hugo version problem. Netlify has, for some strange reason, Hugo 0.17 as the default. But it is easy to fix.

See Netlify Plus Hugo 0.20 and Beyond

The easiest way is probaby to set

HUGO_VERSION 0.25.1

As an environment variable in Netlify console, in yoursite/settings.

I had already had this in place

[context.deploy-preview.environment]
    HUGO_VERSION = "0.25.1"

[context.production.environment]
    HUGO_VERSION = "0.25.1"

And from the Hugo deploy…

10:43:06 PM: Installing Hugo 0.25.1
10:43:08 PM: Started building sites ...

But still no luck. :sob:

may be you’re missing the build command.
mine looks like this

[build]
  command = "hugo"

[context.deploy-preview.environment]
  HUGO_VERSION = "0.25.1"

[context.production.environment]
  HUGO_VERSION = "0.25.1"