Yet another question about adding a new single page to hugo site


I am running version 0.49 (and have experienced this issue with 0.48 too)

I am trying to create a new single page on my hugo site eg:

I do

hugo new

which outputs

/frontend/content/ created

I add the type to this newly created page which now looks like

title: "Features"
date: 2018-10-07T11:01:10+02:00
draft: true
type: page
Content goes here

I am using the hugo-fresh theme, which does not have a single page, so I add the template which is located here

β”œβ”€β”€ _default
β”‚   └── single.html

Navigating to gives me

404 page not found

Not sure what I am missing - could you please point me in the right direction


Your page is in draft mode and will not render unless you use the command hugo server -D so either run hugo in draft mode or remove the draft: true from your front matter.