Skip to content

Commit db62b5a

Browse files
Adjust to new help wanted issues file format (#1325)
1 parent d2053c5 commit db62b5a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

themes/ropensci/layouts/help-wanted/list.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ <h1>{{ .Title | markdownify }}</h1>
1515
<div class="case-card">
1616
<div class="case-card-body">
1717
<div class="d-flex flex-wrap align-items-center">
18-
<a href="{{ .url }}" class="case-title mr-2">{{ .title }}</a>
18+
<a href="{{ .issue_url }}" class="case-title mr-2">{{ .title }}</a>
1919

20-
{{ if in .labels "good first issue" }} Good First Issue!{{ end }}
20+
{{ if .labels_first }} Good First Issue!{{ end }}
2121
</div>
2222
<p class="mt-2 case-text">
23-
{{ if ne .author "" }} <a href='https://github.com/{{ .username }}'>{{ .author }}</a>{{ else }}<a href='https://github.com/{{ .username }}'>{{ .username }}</a>{{ end }}
23+
<a href='https://github.com/{{ .labels_github }}'>{{ .labels_name }}</a>
2424
</p>
2525
<p class="mt-2 case-text">
2626
Opened on {{ dateFormat "2006-01-02" .opened }}.
@@ -48,11 +48,11 @@ <h1>{{ .Title | markdownify }}</h1>
4848
{{ range $issues }}
4949
<tr>
5050

51-
<td><a href="{{ .url }}">{{ .title }}</a></td>
51+
<td><a href="{{ .issue_url }}">{{ .title }}</a></td>
5252
<td><a href="https://docs.ropensci.org/{{ .package }}">{{ .package }}</a> </td>
5353
<td>{{ dateFormat "2006-01-02" .opened }} </td>
54-
<td>{{ if ne .author "" }} <a href='https://github.com/{{ .username }}'>{{ .author }}</a>{{ else }}<a href='https://github.com/{{ .username }}'>{{ .username }}</a>{{ end }}</td>
55-
<td>{{ if in .labels "good first issue" }} yes {{else }} no{{ end }}</td>
54+
<td><a href='https://github.com/{{ .labels_github }}'>{{ .labels_name }}</a></td>
55+
<td>{{ if .labels_first }} yes {{ else }} no {{ end }}</td>
5656
</tr>
5757
{{ end }}
5858
</tbody>

0 commit comments

Comments
 (0)