Hide RSS icon for frontpage news and articles.
This commit is contained in:
		
							parent
							
								
									5672713148
								
							
						
					
					
						commit
						d39c7e49fe
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -38,7 +38,7 @@ | |||
| <div class="mt3 flex-ns"> | ||||
|   <div class="w-70-ns mh2"> | ||||
|     <section class="mv3 ph2"> | ||||
| <h2 class="f4 mt0 mb2 ttu"><a href="/feeds/news/" class="feedlink"><img src="/img/feed-icon-14x14.png" alt="[RSS]"/></a> <a href="/news/" class="dark-gray">News</a></h2> | ||||
| <h2 class="f4 mt0 mb2 ttu"><!--<a href="/feeds/news/" class="feedlink"><img src="/img/feed-icon-14x14.png" alt="[RSS]"/></a>--> <a href="/news/" class="dark-gray">News</a></h2> | ||||
| {% for pressr in press_releases|slice:":5" %} | ||||
|   {% if forloop.first or pressr.pub_date|date_within_past_days:365 %} | ||||
|     {% if not forloop.first %}<hr class="clear">{% endif %} | ||||
|  | @ -50,7 +50,7 @@ | |||
| </section> | ||||
| 
 | ||||
| <section class="mt4 mb3 ph2"> | ||||
| <h2 class="f4 mb2 ttu"><a href="/feeds/blog/" class="feedlink"><img src="/img/feed-icon-14x14.png" alt="[RSS]"/></a> <a href="/blog/" class="dark-gray">Articles</a></h2> | ||||
| <h2 class="f4 mb2 ttu"><!-- <a href="/feeds/blog/" class="feedlink"><img src="/img/feed-icon-14x14.png" alt="[RSS]"/></a> --> <a href="/blog/" class="dark-gray">Articles</a></h2> | ||||
| {% for entry in blog|slice:":5" %} | ||||
|   {% if forloop.first or entry.pub_date|date_within_past_days:180 %} | ||||
|     {% if not forloop.first %}<hr class="clear">{% endif %} | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue