# \[SOLVED\] Posts not rendering since upgrading to hugo 0.19

**URL:** <https://discourse.gohugo.io/t/solved-posts-not-rendering-since-upgrading-to-hugo-0-19/5874>\
**Category:** support\
**Created:** [March 21, 2017, 6:36pm UTC](https://discourse.gohugo.io/t/solved-posts-not-rendering-since-upgrading-to-hugo-0-19/5874 "2017-03-21T18:36:25Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![brunoamaral](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/brunoamaral/32/21144_2.png) [@brunoamaral](https://discourse.gohugo.io/u/brunoamaral)\
**Post date:** [March 21, 2017, 6:36pm UTC](https://discourse.gohugo.io/t/solved-posts-not-rendering-since-upgrading-to-hugo-0-19/5874/1 "2017-03-21T18:36:25Z")

</div>

Like the title says, after the upgrade my posts are not rendering.

The theme I use is here: [https://github.com/brunoamaral/Digital-Insanity/](https://github.com/brunoamaral/Digital-Insanity/)

I also tried using a different theme, and the posts are still not being rendered. They are in content/post/.

Did anything change between 0.17 and 0.19 that could cause this?

---

<div class="post-metadata">

**Author:** ![Mikhail](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/mikhail/32/1138_2.png) [@Mikhail](https://discourse.gohugo.io/u/Mikhail)\
**Post date:** [March 21, 2017, 7:25pm UTC](https://discourse.gohugo.io/t/solved-posts-not-rendering-since-upgrading-to-hugo-0-19/5874/2 "2017-03-21T19:25:12Z")

</div>

search [\_index.md](https://discuss.gohugo.io/search?q=_index.md)

---

<div class="post-metadata">

**Author:** ![rdwatters](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rdwatters/32/2848_2.png) [@rdwatters](https://discourse.gohugo.io/u/rdwatters)\
**Post date:** [March 21, 2017, 8:37pm UTC](https://discourse.gohugo.io/t/solved-posts-not-rendering-since-upgrading-to-hugo-0-19/5874/3 "2017-03-21T20:37:08Z")

</div>

Just cloned your repo…

I’m a bit confused by this architecture, but I’m digging around. It looks like some of the links aren’t working on the live site as well? (Or did you already start publishing to the live site with v19?)

E.g.—

> **[Information architecture for everybody](https://brunoamaral.eu/uxlx/2015/information-architecture-for-everybody/)**
>
> Our world is full of messed up stuff that causes a lot of questions as to what we do as designers, marketing, etc.
> A large part of this mess is information.
> Thinking of information as material is hard Information also exists from the lack of...

---

<div class="post-metadata">

**Author:** ![brunoamaral](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/brunoamaral/32/21144_2.png) [@brunoamaral](https://discourse.gohugo.io/u/brunoamaral)\
**Post date:** [March 21, 2017, 8:41pm UTC](https://discourse.gohugo.io/t/solved-posts-not-rendering-since-upgrading-to-hugo-0-19/5874/4 "2017-03-21T20:41:35Z")

</div>

Yes I noticed the problem in the live site and have been trying to recover it.

I just noticed that if I change `layout = "post"` to `type = "post"` it works.

Before making the switch in every post I am trying to understand all the implications.

---

<div class="post-metadata">

**Author:** ![rdwatters](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rdwatters/32/2848_2.png) [@rdwatters](https://discourse.gohugo.io/u/rdwatters)\
**Post date:** [March 21, 2017, 8:45pm UTC](https://discourse.gohugo.io/t/solved-posts-not-rendering-since-upgrading-to-hugo-0-19/5874/5 "2017-03-21T20:45:56Z")

</div>

**[EDIT: didn’t see you comment just before this before I wrote my response]**

Okay, still digging around, but I notice that you use `layout: post` in your markdown files all over the place, but there is no `post.html`. When I removed this from one of the posts, the page renders…

 ![](https://canada1.discourse-cdn.com/flex036/uploads/gohugo/original/2X/8/8a35ca8c56418d5f1d522da72c6ec53bb1a76f1a.png)

---

<div class="post-metadata">

**Author:** ![brunoamaral](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/brunoamaral/32/21144_2.png) [@brunoamaral](https://discourse.gohugo.io/u/brunoamaral)\
**Post date:** [March 21, 2017, 9:09pm UTC](https://discourse.gohugo.io/t/solved-posts-not-rendering-since-upgrading-to-hugo-0-19/5874/6 "2017-03-21T21:09:27Z")

</div>

Thanks anyway rdwatters 🙂

So far I have the posts rendering, with the following files in \_default/

page.html  
post.html  
single.html (Is this redundant now?)

Taxonomies are still returning 404, looking into it now.

---

<div class="post-metadata">

**Author:** ![rdwatters](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rdwatters/32/2848_2.png) [@rdwatters](https://discourse.gohugo.io/u/rdwatters)\
**Post date:** [March 21, 2017, 9:10pm UTC](https://discourse.gohugo.io/t/solved-posts-not-rendering-since-upgrading-to-hugo-0-19/5874/7 "2017-03-21T21:10:00Z")

</div>

No problem. I’m still digging around. Sorry this isn’t faster, but I figure two heads are better than one 😄

---

<div class="post-metadata">

**Author:** ![brunoamaral](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/brunoamaral/32/21144_2.png) [@brunoamaral](https://discourse.gohugo.io/u/brunoamaral)\
**Post date:** [March 21, 2017, 9:23pm UTC](https://discourse.gohugo.io/t/solved-posts-not-rendering-since-upgrading-to-hugo-0-19/5874/8 "2017-03-21T21:23:12Z")

</div>

I think I figured out the problem.

Categories are now case sensitive, and the link I was using for “Series” don’t work anymore.

So instead of /categories/geek I need to link to /categories/Geek and instead of /series/coffee-table/ I need to link to /series/Coffee%20Table.

This was happening because I had: preserveTaxonomyNames = true. Switched to false and seems to be working.

---

<div class="post-metadata">

**Author:** ![rdwatters](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rdwatters/32/2848_2.png) [@rdwatters](https://discourse.gohugo.io/u/rdwatters)\
**Post date:** [March 21, 2017, 9:29pm UTC](https://discourse.gohugo.io/t/solved-posts-not-rendering-since-upgrading-to-hugo-0-19/5874/9 "2017-03-21T21:29:45Z")

</div>

> [@brunoamaral](#):
>
> This was happening because I had: preserveTaxonomyNames = true. Switched to false and seems to be working.

Ahhh. Glad you got it. But as far as the posts rendering, you’re all good without having to change the layout or type in the front matter?

(I’d check myself, but I’m at work right now…)

---

<div class="post-metadata">

**Author:** ![brunoamaral](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/brunoamaral/32/21144_2.png) [@brunoamaral](https://discourse.gohugo.io/u/brunoamaral)\
**Post date:** [March 21, 2017, 9:42pm UTC](https://discourse.gohugo.io/t/solved-posts-not-rendering-since-upgrading-to-hugo-0-19/5874/10 "2017-03-21T21:42:36Z")

</div>

For now, I duplicated single.html and renamed to post.html, that solves it.

I guess I can delete single.html now? Not sure and too tired to go look at the moment.

---

<div class="post-metadata">

**Author:** ![rdwatters](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rdwatters/32/2848_2.png) [@rdwatters](https://discourse.gohugo.io/u/rdwatters)\
**Post date:** [March 21, 2017, 9:44pm UTC](https://discourse.gohugo.io/t/solved-posts-not-rendering-since-upgrading-to-hugo-0-19/5874/11 "2017-03-21T21:44:41Z")

</div>

> [@brunoamaral](#):
>
> For now, I duplicated single.html and renamed to post.html, that solves it.

Just want to make sure you did this within `layouts` and not `themes/yourtheme/layouts` just to save you any headaches moving forward w/r/t maintaining compatibility with the theme upstream.

As far as deleting? Nahhh…if it’s a theme, I say just leave it in there, right?

---

<div class="post-metadata">

**Author:** ![rdwatters](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rdwatters/32/2848_2.png) [@rdwatters](https://discourse.gohugo.io/u/rdwatters)\
**Post date:** [March 21, 2017, 9:46pm UTC](https://discourse.gohugo.io/t/solved-posts-not-rendering-since-upgrading-to-hugo-0-19/5874/12 "2017-03-21T21:46:18Z")

</div>

@brunoamaral

And at the risk of being brazen, it sounds like you’ve been focusing on content between v17 and v19, so I’d love some feedback on the docs concept if you have a couple minutes. You’ll see a big fat “WIP” across the top, so any and all feedback is welcome.

Thanks!

[https://hugodocs.info](https://hugodocs.info)
