File diff dc325f20f8b9 → 7aff4102ab53
www/conservancy/templates/frontpage.html
Show inline comments
...
 
@@ -49,13 +49,13 @@ strategies that defend FOSS (such as copyleft). <a href="/about" class="orange">
 
  <!-- <section class="mh0 pa3 bg-light-blue ba b--gray"> -->
 
  <!--   <h2 class="f4 ma0 ttu">Additional links / call-outs here, if needed</h2> -->
 
  <!-- </section> -->
 

	
 
    <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>
 
{% for pressr in press_releases|slice:":5" %}
 
{% for pressr in press_releases|slice:":4" %}
 
  {% if forloop.first or pressr.pub_date|date_within_past_days:365 %}
 
    {% if not forloop.first %}<hr class="clear">{% endif %}
 
    {% include "news/pressrelease_partial.html" with pressr=pressr show="dateline" only %}
 
  {% endif %}
 
{% endfor %}