Use NG icon in audio gallery too
This commit is contained in:
parent
ff9ef5079c
commit
cffafbfdca
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
||||||
{{ $art := (index site.Data ($.Param "json")) }}
|
{{ $art := (index site.Data ($.Param "json")) }}
|
||||||
|
{{ $newgrounds_icon := resources.Get "newgrounds.png" }}
|
||||||
|
|
||||||
{{ range $art.categories }}
|
{{ range $art.categories }}
|
||||||
<h3>{{ .name }}</h3>
|
<h3>{{ .name }}</h3>
|
||||||
|
@ -23,7 +24,7 @@
|
||||||
<figcaption>
|
<figcaption>
|
||||||
"{{ .title }}"
|
"{{ .title }}"
|
||||||
{{ if .newgrounds_url }}
|
{{ if .newgrounds_url }}
|
||||||
<a href="{{ .newgrounds_url }}">Newgrounds</a>
|
<a href="{{ .newgrounds_url }}"><img alt="Newgrounds Icon" width="16" height="16" src="{{ $newgrounds_icon.Permalink }}"></a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</figcaption>
|
</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
Loading…
Add table
Reference in a new issue