I’m trying to override the RSS template for a specific category “foo”. No matter where I put this custom template or name the file, it doesn’t seem to work. I was able to override the template for all categories by using this :
layouts/categories/rss.xml
So after I tried several combinations but nothing seems to work:
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).
Do you know why we have to explicitly set the layout in the _index.md file ? I would have thought that having only a layouts/categories/foo/list.rss.xml file would have the same effect.
layouts/<taxonomy>/<term>/list.html is not in the lookup order for term templates. I agree that would handy and intuitive. Would you mind creating a proposal here?
There may be some un-documented way to handle this, but I’m drawing a blank.