_issues_heading.tt 382 B

1234567891011121314151617
  1. {% import "_issue.tt" as issue %}
  2. {% macro render(issues, heading="###", empty="No issues this time.", split_url=true) %}
  3. {%- for issue in issues %}
  4. {% if split_url %}
  5. {{heading}} "{{issue.title}}" {{issue.repo_name}}#{{issue.number}}
  6. **Link:** {{issue.html_url}}
  7. {% else %}
  8. {{heading}} [{{issue.title}}]({{issue.html_url}})
  9. {% endif %}
  10. {%else%}
  11. None.
  12. {%endfor%}
  13. {% endmacro %}