Probably a noob question. Page not rendering

My /content directory looks like this

/content
├── _index.md           // renders
├── courses             // 
│   ├── _index.md       // renders
│   └── primary         //
│       ├── _index.md   // renders
│       └── session.md  // doesn't render
├── about.md            // renders
└── exercises           // renders
    ├── exercise_1.md   // renders
    ├── exercise_2.md   // renders
    ├── exercise_3.md   // renders
    └── exercise_4.md   // renders
                        

What am I doing wrong?

Its probably not an issue with the theme, because it has default layouts for list.html for both single.html

check the parent of session.md whether it has draft = true. because the _index.md draft setting also affecting the children.

or just test it with hugo -D, if it’s renders, then it’s because the issue above.

2 Likes

Ah yes. That seems to have solved the problem.

I hadn’t set draft value in the front matter at all.

:man_facepalming:

Thank you

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.