Hugo Content Types

Hi all, I’m struggling a little with this.

In the docs there is this…

title = My First Event
date = "2016-06-24T1904-07:00"
description = "Today is my 36th birthday. How time flies."
type = "event"

With regards to “type”, can this by anything? For example “poster”, or “tour”?

In layouts I should then have



Is this correct?

Have you tested it? :wink:

1 Like

After a lot of tears, I got it to work thank you :slight_smile:

It would be great if you can elaborate on what you fixed that finally worked.

That way, this thread can be useful to someone else doing the same mistake as you.

1 Like

I had the same thing in mind… If you have a look at you could see the documentation which elaborates about this topic…