On the tag ancestors, don't display the current tag name.

I was finding it too confusing.
This commit is contained in:
voussoir 2018-07-22 18:20:43 -07:00
parent 8a12a24e8e
commit 5ec38a93b1

View file

@ -123,7 +123,7 @@ body
{% for ancestor in specific_tag.get_parents() %} {% for ancestor in specific_tag.get_parents() %}
<li> <li>
{{tag_object.tag_object(ancestor, innertext='(?)', link='info')}} {{tag_object.tag_object(ancestor, innertext='(?)', link='info')}}
{{tag_object.tag_object(ancestor, innertext=ancestor.name + '.' + specific_tag.name, link=none, with_alt_description=True)}} {{tag_object.tag_object(ancestor, innertext=ancestor.name, link=none, with_alt_description=True)}}
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>