UNPKG

1.19 kBtext/x-handlebars-templateView Raw
1* {{header}}
2
3{{~!-- commit link --}}
4{{~#if @root.linkReferences}} ([{{hash}}](
5 {{~#if @root.repository}}
6 {{~#if @root.host}}
7 {{~@root.host}}/
8 {{~/if}}
9 {{~#if @root.owner}}
10 {{~@root.owner}}/
11 {{~/if}}
12 {{~@root.repository}}
13 {{~else}}
14 {{~@root.repoUrl}}
15 {{~/if}}/
16 {{~@root.commit}}/{{hash}}))
17{{~else if hash}} {{hash}}{{~/if}}
18
19{{~!-- commit references --}}
20{{~#if references~}}
21 , closes
22 {{~#each references}} {{#if @root.linkReferences~}}
23 [
24 {{~#if this.owner}}
25 {{~this.owner}}/
26 {{~/if}}
27 {{~this.repository}}#{{this.issue}}](
28 {{~#if @root.repository}}
29 {{~#if @root.host}}
30 {{~@root.host}}/
31 {{~/if}}
32 {{~#if this.repository}}
33 {{~#if this.owner}}
34 {{~this.owner}}/
35 {{~/if}}
36 {{~this.repository}}
37 {{~else}}
38 {{~#if @root.owner}}
39 {{~@root.owner}}/
40 {{~/if}}
41 {{~@root.repository}}
42 {{~/if}}
43 {{~else}}
44 {{~@root.repoUrl}}
45 {{~/if}}/
46 {{~@root.issue}}/{{this.issue}})
47 {{~else}}
48 {{~#if this.owner}}
49 {{~this.owner}}/
50 {{~/if}}
51 {{~this.repository}}#{{this.issue}}
52 {{~/if}}{{/each}}
53{{~/if}}
54
55
\No newline at end of file