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 }}
|
||||
|
||||
{{ $art := (index site.Data ($.Param "json")) }}
|
||||
{{ $newgrounds_icon := resources.Get "newgrounds.png" }}
|
||||
|
||||
{{ range $art.categories }}
|
||||
<h3>{{ .name }}</h3>
|
||||
|
@ -23,7 +24,7 @@
|
|||
<figcaption>
|
||||
"{{ .title }}"
|
||||
{{ 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 }}
|
||||
</figcaption>
|
||||
</figure>
|
||||
|
|
Loading…
Add table
Reference in a new issue