-
Hi - Being a newbie to both Hugo and docsy, I've skimmed both (great) documentations - particularly, the docsy "adding content" section, but I don't see an example of creating a new page is shown say, in the blog section. It's my understanding that one uses the command line "hugo new <directory/page_name.md" command for new content but based on what I've read maybe the best method is to copy and existing file and update the frontmatter & content. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @cklann1 and welcome. You certainly can create a file with the command line, or you can copy an existing file and adapt the front matter and content. Perhaps the easiest way though is to simply create a new markdown file (.md) directly in your content folder. The only front matter it absolutely needs is |
Beta Was this translation helpful? Give feedback.
Hi @cklann1 and welcome.
You certainly can create a file with the command line, or you can copy an existing file and adapt the front matter and content. Perhaps the easiest way though is to simply create a new markdown file (.md) directly in your content folder. The only front matter it absolutely needs is
title
. I create a bunch of empty files in this way and play around with the table of contents structure before I get going.