I’ve looked through the discource and the doc and no solution seems ideal. Maybe it is time to request a feature?
It is common to use the same partial with both the list.html and single.html template of a type of page. So we don’t have to create too partials whose only difference would be a few characters (class name, link title instead of simple text title etc…).
For this though, it is important to be able to know if the partial is loaded via the single.html template or list.html template.
Maybe a page variable .Template ?
Or just a simple isList / isSingle function built in the template?
Thanks a ton,