No Layout File

I am trying to run the Serif theme (Github & Render), and I have this issue. I have read through the boards, but cannot see how to resolve this

Apr 29 04:09:57 PM  ==> Cloning from https://github.com/OnPointSM/SERIF...
Apr 29 04:09:58 PM  ==> Checking out commit fb24258a2c4dcb0891d2490fd14e02d3be028ee2 in branch master
Apr 29 04:10:00 PM  ==> Downloading cache...
Apr 29 04:10:07 PM  ==> Downloaded 4.2MB in 5s. Extraction took 0s.
Apr 29 04:10:20 PM  ==> Using Python version: 3.7.10
Apr 29 04:10:23 PM  ==> Running build command 'hugo --gc --minify'...
Apr 29 04:10:24 PM  Start building sites …
Apr 29 04:10:24 PM  hugo v0.95.0-9F2E76AF+extended linux/amd64 BuildDate=2022-03-16T14:20:19Z VendorInfo=gohugoio
Apr 29 04:10:24 PM  WARN 2022/04/29 14:10:24 found no layout file for "HTML" for layout "contact" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Apr 29 04:10:24 PM  WARN 2022/04/29 14:10:24 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Apr 29 04:10:24 PM  WARN 2022/04/29 14:10:24 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Apr 29 04:10:24 PM  WARN 2022/04/29 14:10:24 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Apr 29 04:10:24 PM  WARN 2022/04/29 14:10:24 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Apr 29 04:10:24 PM  WARN 2022/04/29 14:10:24 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Apr 29 04:10:24 PM  WARN 2022/04/29 14:10:24 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Apr 29 04:10:24 PM  WARN 2022/04/29 14:10:24 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Apr 29 04:10:24 PM  WARN 2022/04/29 14:10:24 found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Apr 29 04:10:24 PM  WARN 2022/04/29 14:10:24 found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Apr 29 04:10:24 PM  WARN 2022/04/29 14:10:24 found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Apr 29 04:10:24 PM  WARN 2022/04/29 14:10:24 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Apr 29 04:10:24 PM  WARN 2022/04/29 14:10:24 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Apr 29 04:10:24 PM  WARN 2022/04/29 14:10:24 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Apr 29 04:10:24 PM  WARN 2022/04/29 14:10:24 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Apr 29 04:10:24 PM  WARN 2022/04/29 14:10:24 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Apr 29 04:10:24 PM  WARN 2022/04/29 14:10:24 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Apr 29 04:10:24 PM  WARN 2022/04/29 14:10:24 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Apr 29 04:10:24 PM  WARN 2022/04/29 14:10:24 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Apr 29 04:10:24 PM  WARN 2022/04/29 14:10:24 found no layout file for "HTML" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.

You are more likely to receive a prompt and accurate response if you post a link to the public repository for your project.

See https://discourse.gohugo.io/t/requesting-help/9132.

Let us see your code

Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.

If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.

Repo Location

Git Clone Address

When I clone your site with:

git clone --recurse-submodules https://github.com/OnPointSM/SERIF

I get:

Cloning into ‘SERIF’…
remote: Enumerating objects: 70, done.
remote: Counting objects: 100% (70/70), done.
remote: Compressing objects: 100% (54/54), done.
remote: Total 70 (delta 6), reused 70 (delta 6), pack-reused 0
Receiving objects: 100% (70/70), 980.62 KiB | 1.84 MiB/s, done.
Resolving deltas: 100% (6/6), done.
Submodule path ‘themes/hugo-serif-theme’ not initialized
Maybe you want to use ‘update --init’?

Look at the last two lines.

So I did this:

git rm themes/hugo-serif-theme/
git submodule add https://github.com/zerostaticthemes/hugo-serif-theme themes/hugo-serif-theme

Also, / is not a valid baseURL. Do something like:

baseURL = "https://example.org/"  # with a trailing slash

Thanks JM - your help has been invaluable

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