.Site.Sections returns an empty list

I just started learning Hugo. I have the following in my layouts/index.html file.

<!DOCTYPE html>
<html>
    <head>
        <title>{{ .Title }}</title>
    </head>
    <body>
        Sections:
        {{ range .Site.Sections }}
        <div> {{.Title}} </div>
        {{ end }}
    </body>
</html>

But .Site.Sections returns nothing despite there being directories inside content.

content
├── posts
│   └── your-post-title.md
└── publications
    └── list.md

Perhaps you need to set draft to false in your content files?

Thanks a ton! Works like a charm.