2023-05-14 12:30:03 +00:00
|
|
|
{{ template "header.html" }}
|
2023-05-14 13:18:17 +00:00
|
|
|
{{ $parent := . }}
|
2023-05-14 12:30:03 +00:00
|
|
|
<div class="container">
|
|
|
|
<div class="artwork-page">
|
2023-05-14 13:18:17 +00:00
|
|
|
{{ with .Illust }}
|
2023-05-14 12:30:03 +00:00
|
|
|
<div class="artwork-content">
|
|
|
|
<div class="artwork-images">
|
2023-05-16 05:27:54 +00:00
|
|
|
{{ range .Images }}
|
|
|
|
<a href="{{ .Original }}" target="_blank">
|
|
|
|
<img src="{{ .Large }}" alt="{{ .Original }}" class="artwork-image-page" />
|
2023-05-14 12:30:03 +00:00
|
|
|
</a>
|
2023-05-14 13:18:17 +00:00
|
|
|
{{ end }}
|
2023-05-14 12:30:03 +00:00
|
|
|
</div>
|
|
|
|
<h2>{{ .Title }}</h3>
|
|
|
|
<p>{{ .Caption }}</p>
|
2023-05-14 13:18:17 +00:00
|
|
|
|
|
|
|
<div class="artwork-tags">
|
|
|
|
|
|
|
|
{{ range .Tags }}
|
|
|
|
<span class="artwork-tag-name">#{{ .Name }}</span><span class="artwork-tag-altname">{{ .TranslatedName
|
|
|
|
}}</span>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2023-05-14 12:30:03 +00:00
|
|
|
<span>{{ .Views }} views | {{ .Bookmarks }} bookmarks</span>
|
|
|
|
<br />
|
|
|
|
<small>{{ .Date }}</small>
|
|
|
|
|
2023-05-14 12:36:52 +00:00
|
|
|
<a href="#" class="artwork-artist flex"><img src="{{ .Artist.Avatar.medium }}" alt="{{ .Artist.Name }}"
|
|
|
|
class="artwork-artist-avatar border-rounded" />
|
2023-05-14 12:30:03 +00:00
|
|
|
{{ .Artist.Name }}</a>
|
2023-05-14 13:18:17 +00:00
|
|
|
<div class="thumbnail-container">
|
|
|
|
{{ range $parent.Recent }}
|
|
|
|
<div class="artwork-thumbnail-small artwork-thumbnail">
|
2023-05-16 14:04:10 +00:00
|
|
|
<a href="/artworks/{{ .ID }}">
|
2023-05-16 05:27:54 +00:00
|
|
|
<img src="{{ (index .Images 0).Small }}" alt="{{ (index .Images 0).Small }}"
|
|
|
|
class="artwork-master-image" />
|
2023-05-14 13:18:17 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2023-05-14 12:30:03 +00:00
|
|
|
<hr />
|
|
|
|
<h2>Comments</h2>
|
2023-05-14 13:18:17 +00:00
|
|
|
To be added :)
|
2023-05-14 12:30:03 +00:00
|
|
|
</div>
|
2023-05-14 13:18:17 +00:00
|
|
|
{{ end }}
|
2023-05-14 12:30:03 +00:00
|
|
|
</div>
|
2023-05-14 13:18:17 +00:00
|
|
|
<h2>Related works</h2>
|
2023-05-16 14:04:10 +00:00
|
|
|
<div>
|
2023-05-17 11:20:40 +00:00
|
|
|
{{ template "small-tn.html" .Related }}
|
2023-05-16 14:04:10 +00:00
|
|
|
</div>
|
2023-05-14 12:30:03 +00:00
|
|
|
</div>
|
|
|
|
{{ template "footer.html" }}
|