{%- macro render_items(items) %}
  {%- for item in items | reverse %}
    <li>
      {{ item.title | escape | codify | safe }}
      {%- if item.unresolved %}
        <a class="unresolved"
          href="{{ item.unresolved.url }}"
          title="{{ item.unresolved.issue.title }}">unresolved</a>
        {%- continue %}
      {%- endif %}
      {%- if item.link %}
        <a href="{{ item.link.url }}">{{ item.link.text | escape | codify | safe }}</a>
        {%- continue %}
      {%- endif %}
      {%- if 