HUGO

Found no layout file for

I’m running an academic theme hugo site, and I only update it about once a year. Everytime I do, though, there is always something that has changed, and it takes a bit of figuring out.

These year’s dilemma is as follows:. hugo works, but I get all the warnings mentioned below. I then stumbled upon this link (html - It wont render my website and its template to localhost1313 - Stack Overflow), and it mentions that a fix would be to declare a theme. But I already thought I had a theme… not sure what’s going on.

Here’s my github repo: GitHub - tbrown122387/my_academic_site_v2: my website
There were a flurry of commits in the past hour or so. I’ve tried a few git submodule commands, but none of them are fixing this.

Any tips?

WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "JSON" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/01/11 18:07:06 found no layout file for "WebAppManifest" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.

You need to un-comment these lines:
https://github.com/tbrown122387/my_academic_site_v2/blob/master/config/_default/config.toml#L114-L118

Now I get

Error: module "github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic" not found; either add it as a Hugo Module or store it in "/home/trb5me_admin/my_academic_site_v2/config/_default/themes".: module does not exist

This is what I did:

git clone --recurse-submodules https://github.com/tbrown122387/my_academic_site_v2
cd my_academic_site_v2/

Then I un-commented the last 5 lines of config/_default/config.toml:

[module]
 [[module.imports]]
   path = "github.com/wowchemy/wowchemy-hugo-modules/wowchemy"
 [[module.imports]]
   path = "github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic"

Then I ran hugo.

This is what I got:

Start building sites … 
hugo v0.91.2-1798BD3F+extended linux/amd64 BuildDate=2021-12-23T15:33:34Z VendorInfo=gohugoio

                   | EN  
-------------------+-----
  Pages            | 98  
  Paginator pages  |  0  
  Non-page files   |  9  
  Static files     | 13  
  Processed images |  4  
  Aliases          | 14  
  Sitemaps         |  1  
  Cleaned          |  0  

Total in 487 ms

Type hugo version and paste the results.

Type go version and paste the results.

1 Like

Ahh, thank you thank you. This is a relatively new laptop and I forgot I hadn’t installed go yet!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.