Feature: add a check for tag's thumbnail
This commit is contained in:
parent
b6bf456949
commit
b58af8d73f
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
<div class="container">
|
||||
<div class="tag-header">
|
||||
{{ if .Tag.Metadata.id }}
|
||||
<a href="/artworks/{{ .Tag.Metadata.id }}">
|
||||
<img
|
||||
class="tag-thumbnail"
|
||||
|
@ -9,6 +10,7 @@
|
|||
alt="{{ .Tag.Name }}"
|
||||
/>
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
<div class="tag-details">
|
||||
<b class="main-tag">#{{ .Tag.Name }}</b>
|
||||
|
|
Loading…
Reference in a new issue