Instead of tags.remove, just filter on the upcoming for loop.
This commit is contained in:
		
							parent
							
								
									6b71af307c
								
							
						
					
					
						commit
						fccd682eac
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -101,7 +101,6 @@ h2, h3 | ||||||
|     </div> |     </div> | ||||||
|     <div id="left"> |     <div id="left"> | ||||||
|         {% if specific_tag %} |         {% if specific_tag %} | ||||||
|         {% do tags.remove((specific_tag.name, specific_tag)) %} |  | ||||||
|         <div id="hierarchy_self"> |         <div id="hierarchy_self"> | ||||||
|             <div id="tag_metadata"> |             <div id="tag_metadata"> | ||||||
|                 <h2>{{tag_object.tag_object( |                 <h2>{{tag_object.tag_object( | ||||||
|  | @ -160,7 +159,7 @@ h2, h3 | ||||||
|             <h2>{{tag_count}} Tags</h2> |             <h2>{{tag_count}} Tags</h2> | ||||||
|             {% endif %} |             {% endif %} | ||||||
|             <ul id="tag_list"> |             <ul id="tag_list"> | ||||||
|             {% for (qualified_name, tag) in tags %} |             {% for (qualified_name, tag) in tags if tag != specific_tag %} | ||||||
|                 <li> |                 <li> | ||||||
|                     {{tag_object.tag_object(tag, link="search_musts", innertext="(+)")}} |                     {{tag_object.tag_object(tag, link="search_musts", innertext="(+)")}} | ||||||
|                     {{tag_object.tag_object(tag, link="search_forbids", innertext="(x)")}} |                     {{tag_object.tag_object(tag, link="search_forbids", innertext="(x)")}} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue