# Output Format issues on Netlify

**URL:** <https://discourse.gohugo.io/t/output-format-issues-on-netlify/7597>\
**Category:** support\
**Created:** [July 27, 2017, 12:58am UTC](https://discourse.gohugo.io/t/output-format-issues-on-netlify/7597 "2017-07-27T00:58:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bugsysailor](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bugsysailor/32/10293_2.png) [@bugsysailor](https://discourse.gohugo.io/u/bugsysailor)\
**Post date:** [July 27, 2017, 12:58am UTC](https://discourse.gohugo.io/t/output-format-issues-on-netlify/7597/1 "2017-07-27T00:58:34Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [July 27, 2017, 5:59am UTC](https://discourse.gohugo.io/t/output-format-issues-on-netlify/7597/2 "2017-07-27T05:59:13Z")

</div>

> [@bugsysailor](#):
>
> 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](https://www.netlify.com/blog/2017/04/11/netlify-plus-hugo-0.20-and-beyond/)

The easiest way is probaby to set

```auto
HUGO_VERSION 0.25.1

```

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

---

<div class="post-metadata">

**Author:** ![bugsysailor](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bugsysailor/32/10293_2.png) [@bugsysailor](https://discourse.gohugo.io/u/bugsysailor)\
**Post date:** [July 27, 2017, 12:02pm UTC](https://discourse.gohugo.io/t/output-format-issues-on-netlify/7597/3 "2017-07-27T12:02:47Z")

</div>

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. 😭

---

<div class="post-metadata">

**Author:** ![vinamelody](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/vinamelody/32/3811_2.png) [@vinamelody](https://discourse.gohugo.io/u/vinamelody)\
**Post date:** [August 10, 2017, 12:56pm UTC](https://discourse.gohugo.io/t/output-format-issues-on-netlify/7597/4 "2017-08-10T12:56:27Z")

</div>

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

```auto
[build]
  command = "hugo"

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

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

```
