Trouble with the theme in quick start


#1

Hello. I am struggling with the quick start guide. I am running Manjaro OS and installed Hugo through Yaourt.

I progressed through the quick start tutorial and everything seemed fine until I started the server with hugo server -D, getting the following console output:

Building sites … WARN 2019/01/08 13:31:20 Found no layout for “page”, language “en”, output format “HTML”: create a template below /layouts with one of these filenames: posts/single.en.html.html, posts/single.html.html, posts/single.en.html, posts/single.html, _default/single.en.html.html, _default/single.html.html, _default/single.en.html, _default/single.html
WARN 2019/01/08 13:31:20 Found no layout for “section”, language “en”, output format “HTML”: create a template below /layouts with one of these filenames: posts/posts.en.html.html, posts/section.en.html.html, posts/list.en.html.html, posts/posts.html.html, posts/section.html.html, posts/list.html.html, posts/posts.en.html, posts/section.en.html, posts/list.en.html, posts/posts.html, posts/section.html, posts/list.html, section/posts.en.html.html, section/section.en.html.html, section/list.en.html.html, section/posts.html.html, section/section.html.html, section/list.html.html, section/posts.en.html, section/section.en.html, section/list.en.html, section/posts.html, section/section.html, section/list.html, _default/posts.en.html.html, _default/section.en.html.html, _default/list.en.html.html, _default/posts.html.html, _default/section.html.html, _default/list.html.html, _default/posts.en.html, _default/section.en.html, _default/list.en.html, _default/posts.html, _default/section.html, _default/list.html
WARN 2019/01/08 13:31:20 Found no layout for “taxonomyTerm”, language “en”, output format “HTML”: create a template below /layouts with one of these filenames: categories/category.terms.en.html.html, categories/terms.en.html.html, categories/list.en.html.html, categories/category.terms.html.html, categories/terms.html.html, categories/list.html.html, categories/category.terms.en.html, categories/terms.en.html, categories/list.en.html, categories/category.terms.html, categories/terms.html, categories/list.html, taxonomy/category.terms.en.html.html, taxonomy/terms.en.html.html, taxonomy/list.en.html.html, taxonomy/category.terms.html.html, taxonomy/terms.html.html, taxonomy/list.html.html, taxonomy/category.terms.en.html, taxonomy/terms.en.html, taxonomy/list.en.html, taxonomy/category.terms.html, taxonomy/terms.html, taxonomy/list.html, category/category.terms.en.html.html, category/terms.en.html.html, category/list.en.html.html, category/category.terms.html.html, category/terms.html.html, category/list.html.html, category/category.terms.en.html, category/terms.en.html, category/list.en.html, category/category.terms.html, category/terms.html, category/list.html, _default/category.terms.en.html.html, _default/terms.en.html.html, _default/list.en.html.html, _default/category.terms.html.html, _default/terms.html.html, _default/list.html.html, _default/category.terms.en.html, _default/terms.en.html, _default/list.en.html, _default/category.terms.html, _default/terms.html, _default/list.html
WARN 2019/01/08 13:31:20 Found no layout for “taxonomyTerm”, language “en”, output format “HTML”: create a template below /layouts with one of these filenames: tags/tag.terms.en.html.html, tags/terms.en.html.html, tags/list.en.html.html, tags/tag.terms.html.html, tags/terms.html.html, tags/list.html.html, tags/tag.terms.en.html, tags/terms.en.html, tags/list.en.html, tags/tag.terms.html, tags/terms.html, tags/list.html, taxonomy/tag.terms.en.html.html, taxonomy/terms.en.html.html, taxonomy/list.en.html.html, taxonomy/tag.terms.html.html, taxonomy/terms.html.html, taxonomy/list.html.html, taxonomy/tag.terms.en.html, taxonomy/terms.en.html, taxonomy/list.en.html, taxonomy/tag.terms.html, taxonomy/terms.html, taxonomy/list.html, tag/tag.terms.en.html.html, tag/terms.en.html.html, tag/list.en.html.html, tag/tag.terms.html.html, tag/terms.html.html, tag/list.html.html, tag/tag.terms.en.html, tag/terms.en.html, tag/list.en.html, tag/tag.terms.html, tag/terms.html, tag/list.html, _default/tag.terms.en.html.html, _default/terms.en.html.html, _default/list.en.html.html, _default/tag.terms.html.html, _default/terms.html.html, _default/list.html.html, _default/tag.terms.en.html, _default/terms.en.html, _default/list.en.html, _default/tag.terms.html, _default/terms.html, _default/list.html
WARN 2019/01/08 13:31:20 Found no layout for “home”, language “en”, output format “HTML”: create a template below /layouts with one of these filenames: index.en.html.html, home.en.html.html, list.en.html.html, index.html.html, home.html.html, list.html.html, index.en.html, home.en.html, list.en.html, index.html, home.html, list.html, _default/index.en.html.html, _default/home.en.html.html, _default/list.en.html.html, _default/index.html.html, _default/home.html.html, _default/list.html.html, _default/index.en.html, _default/home.en.html, _default/list.en.html, _default/index.html, _default/home.html, _default/list.html
| EN
±-----------------±—+
Pages | 4
Paginator pages | 0
Non-page files | 0
Static files | 0
Processed images | 0
Aliases | 0
Sitemaps | 1
Cleaned | 0

Going to http://localhost:1313/ gives a new WARN:

WARN 2019/01/08 13:50:10 Found no layout for “home”, language “en”, output format “HTML”: create a template below /layouts with one of these filenames: index.en.html.html, home.en.html.html, list.en.html.html, index.html.html, home.html.html, list.html.html, index.en.html, home.en.html, list.en.html, index.html, home.html, list.html, _default/index.en.html.html, _default/home.en.html.html, _default/list.en.html.html, _default/index.html.html, _default/home.html.html, _default/list.html.html, _default/index.en.html, _default/home.en.html, _default/list.en.html, _default/index.html, _default/home.html, _default/list.html

I’m not sure how to proceed as it’s looking for missing files in the prepared tutorial. Does this look familiar to anyone?

Many thanks for your time.

EDIT
I have since repeated the quick start on windows 10 and gotten the same error.


#2

Looks like the theme isn’t configured properly. What’s your config.toml look like?


#3

The config.toml in /quickstart ? It reads:

baseURL = “http://example.org/
languageCode = “en-us”
title = “My New Hugo Site”


#4

You’re missing the theme line. So currently your Hugo site isn’t using a theme. Add this line:

theme = "ananke"

#5

Ok that works. Thanks for your help. I think I overlooked that step as it appeared to be in a comment on a code fragment.


split this topic #6

A post was split to a new topic: Quick start error