puppet node classifier
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.
 
 
 
 
 
 

25 lines
773 B

  1. {% extends "page.html" %}
  2. {% block title %}Untagged photos{% endblock %}
  3. {% block subtitle %}By date, descending{% endblock %}
  4. {% block body %}
  5. {% set locals = namespace() %}
  6. {% set total_pages = (total_items/pgsize)|ceil %}
  7. <div class="photo-feed">
  8. {% set locals.im_date = "" %}
  9. {% for item in images %}
  10. {% set newdate = item.date.strftime("%b %d, %Y") %}
  11. {% if newdate != locals.im_date %}
  12. {% set locals.im_date = newdate %}
  13. <div class="feed-divider year"><h4><a href="/date/{{ item.date.strftime("%Y-%m-%d") }}">{{ locals.im_date }}</a></h4></div>
  14. {% endif %}
  15. {% include "fragments/feed-photo.html" %}
  16. {% endfor %}
  17. <br style="clear:both" />
  18. {% include "pager.html" %}
  19. </div>
  20. {% endblock %}