- {% if pull_request or commit %}{% if summary_ends_with_colon %}{{ summary_before_colon | indent(2) }}{% else %}{{ summary_body | indent(2) }}{% endif %}{% else %}{{ summary | indent(2) }}{% endif -%}
{%- if pull_request -%}
{{ " " }}([#{{ pull_request.number }}]({{ pull_request.url }})
{%- if pull_request.external_author -%}
{{ " " }}by [@{{ pull_request.user }}]({{ pull_request.user_url }})
{%- endif -%}
){% if summary_ends_with_colon %}:{% else %}.{% endif %}
{%- elif commit -%}
{{ " " }}([`{{ commit.short }}`]({{ commit.url }})){% if summary_ends_with_colon %}:{% else %}.{% endif %}
{%- elif not summary_has_terminal -%}
.
{%- endif %}
{%- for line in continuations -%}
{{ "\n " ~ line if line else ("\n" if not loop.last else "") }}
{%- endfor %}