Dear All
I don’t use any “partials” file for my layout. So, I only use “list.html” and “single.html” inside my “layouts/_default” folder.
How to change default layout folder to “layouts”, NOT “layouts/_default”?
So it can be accessed through “layouts/list.html” and “layouts/single.html”, NOT “layouts/_default/list.html” or “layouts/_default/single.html”?
Thanks
Arif
2
I have read that doc but it’s all about “layouts/subfolder/list.html” or “layouts/subfolder/single.html”?
Is there a way to use it without “subfolder” such “layouts/_default” or “layouts/section” or “layouts/posts” etc?
So every content can be accessed through “layouts/list.html” and “layouts/single.html”?
bep
4
I guess you could mount layouts
to layouts/_default
, see:
See Configure Hugo modules | Hugo
1 Like
system
Closed
6
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.