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

Failed to create index.html and 404.html #3105

Closed l1k2j3h4g5 closed 7 years ago

l1k2j3h4g5 commented 7 years ago

I seem to be having an issue with Hugo.

I am following their get started guide: https://gohugo.io/tutorials/creating-a-new-theme/

I have followed this steps:

1) Created new site:

$ hugo new site my-site

2) In that folder I then typed the command for the new theme:

$ hugo new theme mysite-theme

Every worked fine, the files are there. The problem is them when I try to render the site. I type in the command:

`$ hugo

` Which creates the /public folder and two files:

However, according to the guide it is supposed to create 4 files:

Now, even though there is nothing to put in these files, it should still create the index.html and 404.html files.

Has anyone else encountered this problem? Have I done something wrong or missed a step?

Thanks in advance for the help

bep commented 7 years ago

Thanks for getting in touch, but it feels like this is a question that would be better suited to the Hugo Discussion Forum. We prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug. You may also find the answers you search for in Hugo Documentation.

l1k2j3h4g5 commented 7 years ago

Surely this is a bug? Hugo is not generating the files that it should.

On Sun, Feb 26, 2017 at 3:37 PM, Bjørn Erik Pedersen < notifications@github.com> wrote:

Closed #3105 https://github.com/spf13/hugo/issues/3105.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spf13/hugo/issues/3105#event-977463005, or mute the thread https://github.com/notifications/unsubscribe-auth/AQNd7esP-IeVfPzupw7adoeOHcnNxMIzks5rgZxPgaJpZM4MMaA2 .

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.