blog: Remove RSS feed links next to individual tags
Instead the tags are now added to the RSS feed link at the top of the page when in use.
This commit is contained in:
		
							parent
							
								
									36a80acc26
								
							
						
					
					
						commit
						85822cfd9f
					
				
					 2 changed files with 4 additions and 6 deletions
				
			
		|  | @ -3,7 +3,7 @@ | |||
| {% block category %}blog{% endblock %} | ||||
| 
 | ||||
| {% block head %} | ||||
| <link rel="alternate" type="application/rss+xml" title="RSS" href="/feeds/blog/" /> | ||||
| <link rel="alternate" type="application/rss+xml" title="RSS" href="/feeds/blog/{% if query_string %}?{{ query_string }}{% endif %}" /> | ||||
| {% endblock %} | ||||
| 
 | ||||
| {% block outercontent %} | ||||
|  | @ -24,16 +24,14 @@ | |||
| <h2>Blogs by Tag</h2> | ||||
| <ul> | ||||
| {% for tag in all_tags %} | ||||
| <li><a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a> | ||||
| (<a href="/feeds/blog/?tag={{ tag.slug }}">rss</a>)</li> | ||||
| <li><a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a></li> | ||||
| {% endfor %} | ||||
| </ul> | ||||
| 
 | ||||
| <h2>Blogs by Author</h2> | ||||
| <ul> | ||||
| {% for author in all_authors %} | ||||
| <li><a href="/blog/?author={{ author.username }}">{{ author.formal_name }}</a> | ||||
| (<a href="/feeds/blog/?author={{ author.username }}">rss</a>)</li> | ||||
| <li><a href="/blog/?author={{ author.username }}">{{ author.formal_name }}</a></li> | ||||
| {% endfor %} | ||||
| </ul> | ||||
|          </div> | ||||
|  |  | |||
|  | @ -8,7 +8,7 @@ | |||
|   <p><a href="/">Home</a> / <a href="/news/">News</a></p> | ||||
| </div> | ||||
| 
 | ||||
| <h2><a href="/feeds/blog/" class="feedlink"><img src="{% static 'img/feed-icon-14x14.png' %}" alt="[RSS]"/></a> Conservancy Blog{% if author %} — {{ author.formal_name }}{% endif %}</h2> | ||||
| <h2><a href="/feeds/blog/{% if query_string %}?{{ query_string }}{% endif %}" class="feedlink"><img src="{% static 'img/feed-icon-14x14.png' %}" alt="[RSS]"/></a> Conservancy Blog{% if author %} — {{ author.formal_name }}{% endif %}</h2> | ||||
| 
 | ||||
| {% if authors or tags %} | ||||
| <p>Displaying posts | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue