Frontmatter home page

Using Hugo 0.18.1 I’m having issues displaying frontmatter on homepage according to the new Source Organization.

My theme folder has the following organization (omitting unnecessary files and folders):

/layouts
– /partials
— head.html
– /section
— posts.html
— _index.md (works)
index.html
_index.md (doesn’t work)

Both posts.html and index.html refer to /partial/head.html where i call upon title and description like this

<title>{{ .Title }}</title>
<meta name="description" content="{{ .Description }}" />

It works for sections, but not for the homepage. Anyone run into the same issue?

Content files, “_index.md” etc., must be put below /content in your Hugo site (i.e. not /layouts and not in the theme).

Thank you @bep, you just saved me lots of time!