gohugoio / hugo

The world’s fastest framework for building websites.
https://gohugo.io
Apache License 2.0
74.63k stars 7.45k forks source link

Could not create a hostable output directory #1094

Closed orsenthil closed 9 years ago

orsenthil commented 9 years ago

hugo server worked fine to render my content. But no way, I could create a output directory which I can copy to github pages and point to html file.

What is correct way to create a bundlable/ hostable output directory of my html/css files?

dunn commented 9 years ago

For publishing a site, you want to run something like hugo -d [output-directory], but maybe I'm not sure what you're asking.

bep commented 9 years ago

@dunn is right.

orsenthil commented 9 years ago

I checked out all the themes and I tried the theme mentioned in the docs.

$ hugo -t hyde

ERROR: 2015/05/01 Site's .BaseUrl is deprecated and will be removed in Hugo 0.15. Use .BaseURL instead.

After fixing that.

When I did

hugo  server

Was able to see the static site.

But

hugo -t hyde -d output
cd output
open index.html

had just the contents, no css linked.

bep commented 9 years ago

Try http://discuss.gohugo.io/ for questions/troubleshooting.

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.