- {{#if scope}}**{{scope}}:** {{/if~}}
{{#if subject~}}
  {{subject~}}
{{else~}}
  {{header~}}
{{/if~}}

{{!-- commit link --}}
{{~#if hash}} {{#if @root.linkReferences~}}
  [` {{shortHash}} `]({{~@root.host}}/
    {{~#if this.owner}}{{~this.owner}}{{~else~}}{{~@root.owner}}{{/if}}/
    {{~#if this.repository}}{{~this.repository}}{{~else~}}{{~@root.repository}}{{/if~}}
    /commit/
    {{~hash~}}
  )
{{~else~}}
  ` {{shortHash}} `
{{~/if}}{{~/if~}}.

{{!-- body notes --}}
{{~#if body}}
  {{> commitNotes}}

{{/if~}}

{{!-- commit references --}}
{{~#if references}}

  {{#each references}} {{#if this.action}}{{this.action}} {{/if}}{{~#if @root.linkReferences}}[
    {{~#if this.owner}}{{~this.owner}}/{{~/if~}}
    {{~this.repository}}
    {{~this.prefix}}{{this.issue~}}
  ](
    {{~@root.host}}/{{#if this.owner}}{{~this.owner}}{{else}}{{~@root.owner}}{{/if}}/
    {{~#if this.repository}}{{~this.repository}}{{else}}{{~@root.repository}}{{/if~}}
    /issues/
    {{~this.issue~}}
  )
  {{~else}}
    {{~#if this.owner}}{{this.owner}}/{{/if}}{{this.repository}}{{this.prefix}}{{this.issue}}
  {{~/if~}}
; {{/each}}{{/if}}
