I’ve followed the Quick Start guide and run:
hugo new site hugotest
git submodule add https://github.com/halogenica/beautifulhugo.git beautifulhugo
Now, following the Homepage Template doc, I’ve created the file content/_index.md with the following contents:
I’ve started Hugo by running:
hugo server -D
and browsed to http://localhost:1313, but there’s nothing there.
I tried adding a layouts/index.html file as described in the Homepage Template doc, but that made no difference. What am I doing wrong?
Here’s my site:
content/_index.md has no front matter. At minimum, you at least need empty front matter. So try something like this:
Update: Well, nevermind, I just tested this, and looks like you can indeed have markdown content with no front matter.
Assuming you’re back at the root of your site and you’ve updated your content/_index.md as zwbetz suggested, can you try
hugo server -t beautifulhugo to use the theme you installed?
Yep @bitfield, you didn’t specify your theme. So as @michael_henderson mentioned, specify it through command line, or in your
config.toml like so:
theme = "beautifulhugo"
You may want to try zwbetz’s excellent tutorial.
And Mike Dane’s Youtube series for a quick start.