This is similar to this question: How to use method parameters in a Django template?
I understand (and agree with and appreciate) the basic django philosophy of separation of business logic from presentation logic.
However, at times it seems to make DRYness more difficult, and DRY is a practice of even greater gravity, no?
Let's say I have a template that I use for breadcrumb navigation. I re-use (by including) this template over and over for each navigation layer. Nice and dry. Yet I want the template to know which iteration of the nav it is representing.
I swear I remember a method to accomplish this - something like {% include 'llamas'html' | 2 %} but I may be wrong.
If I am, how can I keep this template (and the navigation) DRY without violating the principle of separation of logic?