{# timeline/_rows.html — one page of the timeline's rows, then the sentinel that loads the next page as the reader nears it (core.paging). A divider row opens each recency group: Today, Yesterday, Last 7 days, Older. #} {% from "_macros.html" import scroll_more, scroll_end %} {% from "timeline/_entry.html" import entry_what, entry_where %} {% for item in items %} {% set e = item.entry %} {% if item.opens_group %}{{ item.group }}{% endif %} {{ e.at|when }} {{ entry_what(item, back) }} {{ entry_where(e) }} {{ e.actor }} {{ item.area_label }} {% endfor %} {% if after %} {{ scroll_more("/timeline/?before=" ~ (after|urlencode) ~ "&" ~ (keep|urlencode) ~ "&group=" ~ (last_group|urlencode), cols=5) }} {% else %} {{ scroll_end(cols=5) }} {% endif %}