content/categories/foo/_index.md
+++
title = 'Foo'
date = 2025-02-09T08:21:25-08:00
draft = false
layout = 'foo/list'
+++
structure
layouts/
├── _default/
│ ├── baseof.html
│ ├── home.html
│ ├── list.html
│ └── single.html
└── categories/
└── foo/
└── list.rss.xml
When rendering the HTML output format, it won’t find a matching layout “foo/list” so it will fall back to the standard lookup order (layouts/_default/list.html in this case).