BaySec website source
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

24 lines
538 B

  1. {% extends "base.j2" %}
  2. {% from "macros.j2" import render_link with context %}
  3. {% block main %}
  4. {% block page_title %}<h1 class="title">{{ resource.meta.title }}</h1>{% endblock %}
  5. <br/>
  6. <br/>
  7. <h2>Next Baysec Event</h2>
  8. <h2> {% for res in resource.node.walk_resources_sorted_by_time()[0:1] %}
  9. {{ render_link(res) }}
  10. {% endfor %}
  11. </h2>
  12. <br/>
  13. <h2>Previous Baysec Events</h2>
  14. <ul class="posts">
  15. {% for res in resource.node.walk_resources_sorted_by_time()[1:] %}
  16. <li>
  17. {{ render_link(res) }}
  18. </li>
  19. {% endfor %}
  20. </ul>
  21. {% endblock %}