How to add a new hugo static page?
hugo
Solution
Just tested OK with this on Hugo 0.13:
hugo new site my-site
cd my-site
hugo new privacy.md
hugo server -w -D
curl -L localhost:1313/privacy/
Note: You have to either use a theme or provide your own layout template to get something more than a blank page. And of course, some Markdown in privacy.md would also make it even nicer.
See http://gohugo.io/overview/introduction for up-to-date documentation.
Problem
From the "getting started" section it seems this should work, but it doesn't. ``` hugo new site my-site hugo new privacy.md hugo server --watch --includeDrafts curl -L localhost:1313/privacy/index.html # 404 page not found curl -L localhost:1313/privacy.html # 404 page not found curl -L localhost:1313/privacy/ # 404 page not found ``` How can I add a new page?