You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
459 B
11 lines
459 B
<div>
|
|
<figure>
|
|
{{ if .image }}
|
|
{{ $thumbnail := .image.Resize "500x" }}
|
|
<a href="{{ .image.RelPermalink }}" target="_blank"><img src="{{ $thumbnail.RelPermalink }}" alt="{{ .submission.username }}'s submission"></a>
|
|
<figcaption><a href="https://discord.com/users/{{ .submission.id }}"><i class="fab fa-discord"></i> {{ .submission.username }}</a></figcaption>
|
|
{{ else }}
|
|
<figcaption>Image not found!</figcaption>
|
|
{{ end }}
|
|
</figure>
|
|
</div> |