# Found no layout file for "HTML"

**URL:** <https://discourse.gohugo.io/t/found-no-layout-file-for-html/18983>\
**Category:** support\
**Created:** [May 31, 2019, 2:23pm UTC](https://discourse.gohugo.io/t/found-no-layout-file-for-html/18983 "2019-05-31T14:23:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![juh2](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/juh2/32/3980_2.png) [@juh2](https://discourse.gohugo.io/u/juh2)\
**Post date:** [May 31, 2019, 2:23pm UTC](https://discourse.gohugo.io/t/found-no-layout-file-for-html/18983/1 "2019-05-31T14:23:29Z")

</div>

One of my sites that render fine in 0.47.1 and 0.55 throws this warning in 0.55:

```auto
WARN 2019/05/31 16:14:35 found no layout file for "HTML" for "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2019/05/31 16:14:35 found no layout file for "HTML" for "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2019/05/31 16:14:35 found no layout file for "HTML" for "taxonomyTerm": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.

```

I have a lot of sections with html templates and a folder “categories” containing “taxonomy.html” and “terms.html”.

Everything looks fine. I have no idea what the warning is about.

---

<div class="post-metadata">

**Author:** ![juh2](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/juh2/32/3980_2.png) [@juh2](https://discourse.gohugo.io/u/juh2)\
**Post date:** [May 31, 2019, 2:34pm UTC](https://discourse.gohugo.io/t/found-no-layout-file-for-html/18983/2 "2019-05-31T14:34:36Z")

</div>

Solved by adding templates in \_default.

---

<div class="post-metadata">

**Author:** ![chenyangguang](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@chenyangguang](https://discourse.gohugo.io/u/chenyangguang)\
**Post date:** [July 19, 2019, 9:41am UTC](https://discourse.gohugo.io/t/found-no-layout-file-for-html/18983/3 "2019-07-19T09:41:33Z")

</div>

@juh2 Add \_default to which dir?  
$ hugo  
Building sites … WARN 2019/07/19 17:42:22 found no layout file for “HTML” for “section”: You should create a template file which matches Hugo Layouts Lookup Rules for this combination.  
WARN 2019/07/19 17:42:22 Page’s .Hugo is deprecated and will be removed in a future release. Use the global hugo function.

---

<div class="post-metadata">

**Author:** ![inwardmovement](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/inwardmovement/32/5396_2.png) [@inwardmovement](https://discourse.gohugo.io/u/inwardmovement)\
**Post date:** [July 19, 2019, 10:33am UTC](https://discourse.gohugo.io/t/found-no-layout-file-for-html/18983/4 "2019-07-19T10:33:12Z")

</div>

You should have all the informations you need here: [Hugo’s Lookup Order](https://gohugo.io/templates/lookup-order/)

---

<div class="post-metadata">

**Author:** ![cabbage89](https://avatars.discourse-cdn.com/v4/letter/c/77aa72/32.png) [@cabbage89](https://discourse.gohugo.io/u/cabbage89)\
**Post date:** [September 19, 2019, 8:24am UTC](https://discourse.gohugo.io/t/found-no-layout-file-for-html/18983/5 "2019-09-19T08:24:56Z")

</div>

> [@Hugo命令无法在public中生成静态文件](https://discourse.gohugo.io/t/hugo-public/20860):
>
> \>hugo new site hello Congratulations! Your new Hugo site is created … \>hugo Building sites … WARN 2019/09/19 11:57:44 found no layout file for “HTML” for “page”: You should create a template file which matches Hugo Layouts Lookup Rules for this combination. WARN 2019/09/19 11:57:44 found no layout file for “HTML” for “home”: You should create a template file which matches Hugo Layouts Lookup Rules for this combination. WARN 2019/09/19 11:57:44 found no layout file for “HTML” for “taxonomyT…

This problem has not been resolved in linux

---

<div class="post-metadata">

**Author:** ![alexandros](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alexandros](https://discourse.gohugo.io/u/alexandros)\
**Post date:** [September 19, 2019, 8:29am UTC](https://discourse.gohugo.io/t/found-no-layout-file-for-html/18983/6 "2019-09-19T08:29:11Z")

</div>

What is the problem you are referring to?

The log you posted in that other topic shows Hugo console warnings about missing layouts templates.

These type of warnings show up regardless of OS as far as I know.

Also please have a look at the [Requesting Help guidelines](https://discourse.gohugo.io/t/requesting-help/9132). The guidelines are required reading before opening a support ticket.

---

<div class="post-metadata">

**Author:** ![alexandros](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alexandros](https://discourse.gohugo.io/u/alexandros)\
**Post date:** [September 19, 2019, 8:30am UTC](https://discourse.gohugo.io/t/found-no-layout-file-for-html/18983/7 "2019-09-19T08:30:44Z")

</div>


