Correctly foreach on issues layout in gamedb.

This commit is contained in:
chris062689@gmail.com 2018-11-11 17:43:25 -05:00
parent fdc4d78523
commit 62fecded0e

View File

@ -123,13 +123,16 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{{ $githubUrl := .Site.Params.GithubURL }}
{{ range .Params.issues }}
<tr class="is-size-7"> <tr class="is-size-7">
<th> <th>
<a href="#">Pokemon Main Series (XY, ORAS, SM, USUM) - Hangs When Soft Resetting</a> <a href="{{ $githubUrl }}/issues/{{ .id }}">{{ .title }}</a>
</th> </th>
<td>4/30/2018</td> <td>{{ dateFormat "January 2, 2006" .created_at }}</td>
<td>7/08/2018</td> <td>{{ dateFormat "January 2, 2006" .updated_at }}</td>
</tr> </tr>
{{ end }}
</tbody> </tbody>
</table> </table>
{{ end }} {{ end }}
@ -159,6 +162,6 @@
</div> </div>
{{ else }} {{ else }}
<p>No screenshots have been uploaded for this game.</p> <p>No screenshots have been uploaded for this game.</p>
{{ end }} {{ end }}https://citra-emu.org/game/new-super-mario-bros-2/
</section> </section>
{{ end }} {{ end }}