Have problems following Quick Start guide

Good day.

I’m trying to follow Quick Start manual.

I’ve done everything until launching a server:

$ hugo new site skatkov.github.io
$ cd skatkov.github.io
$ git init
$ git submodule add https://github.com/damiencaselli/paperback.git themes/paperback
$ echo 'theme = "paperback"' >> config.toml
$ hugo new posts/free-investment-advice.md
"added some tex to that document"
$hugo server -D

I’ve launched hugo:
$ hugo server -D

With a following result:

                   | EN
+------------------+----+
  Pages            |  5
  Paginator pages  |  0
  Non-page files   |  0
  Static files     |  3
  Processed images |  0
  Aliases          |  0
  Sitemaps         |  1
  Cleaned          |  0

Doesn’t say that draft is loaded. I open up http://localhost:1313/ and

  • post is missing
  • /posts uri return 404 error

I changed draft to false and checked again:

  • change was noticed by hugo
  • but nothing changed on website

I checked sitemap and here is a result:

<urlset><url><loc>http://localhost:1313/free-investment-advice/</loc><lastmod>2017-08-11T10:00:00+07:00</lastmod></url><url><loc>http://localhost:1313/categories/</loc><priority>0</priority></url><url><loc>http://localhost:1313/</loc><lastmod>2017-08-11T10:00:00+07:00</lastmod><priority>0</priority></url><url><loc>http://localhost:1313/tags/</loc><priority>0</priority></url></urlset>

I checked http://localhost:1313/free-investment-advice/ url, but it returns 404.

What am I doing wrong? Can anyone please advice?

Hugo Static Site Generator v0.36.1 darwin/amd64 BuildDate:

That step is not in the Quick Start, see:

I understand what you are asking about, which is probably an issue with the theme (which I don’t know).

But I would suggest that you follow the quick start to the point. When that works, you can switch themes.

1 Like

Reasonable advice. This resolved the issue. It seems indeed an issue with a theme I picked!