From the course: Learning Static Site Building with Hugo

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Add a page

Add a page

From the course: Learning Static Site Building with Hugo

Start my 1-month free trial

Add a page

- [Instructor] Not all sites are blogs, and even blogs need some standalone pages that aren't blog posts. Hugo makes it easy to create these standalone pages too. Let's say I want to create an About Me page on my site. I can come here to the terminal and do hugo new about.md, which creates a new file. In my editor, you can see that this new file is not in the post folder, it's just at the root of the content folder. Otherwise, it's the same as any other post I've created. So in this About Me page, I can change the title and maybe say I'm a blogger and I love Hugo. (keyboard keys clicking) Now I'll save this. I'm going to go back to the terminal and create one more post, hugo new post/another-post.md, and in this new post I might say, another fantastic post on the blog, and then I want to link to my About page. So I might say, want to read more about me? This syntax with brackets and parentheses is the markdown syntax for linking from one post to another, or from one page to another…

Contents