I expected when rendering “about” page, Hugo will use layout/about/single.html for templating, but actually it used layout/_default/single, Can anyone tell me why? Many thanks!
BTW, my hugo version is: Hugo Static Site Generator v0.74.0-DEV darwin/amd64 BuildDate: unknown.
If about is not a defined taxonomy or category, it will not go to the layout/about/ folder for the template.
Alternative is to use layout: about in the front-matter of your about page.
---
title: "About"
draft: false
layout: about
---
For further clarification you can read the following documentation:
I understand changing layout is a workaround way. What I confused is the type of the “about” page, per my understanding, it’s a single leaf bundle under the “about” section, is that right? If it’s right, according to the “hugo’s lookup order”, I think layout/about/single.html is its template.