Not sure how private it has to be (Hugo creates RSS feeds, sitemap etc., so it will show up somewhere), but the easiest way is maybe to:
- Create a special
section
, i.e. a content root folder where you put this content, let us call itprivate
(/content/private
) - Filter out that section in the
where
clause for the home page (inlayouts/index.html
):
{{ range where .Data.Pages "Section" "!=" "private" }}