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>
|
2023-05-18 15:03:21 +00:00
|
|
|
<p>{{ .Description }}</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-17 12:23:52 +00:00
|
|
|
<br />
|
2023-05-14 12:30:03 +00:00
|
|
|
<span>{{ .Views }} views | {{ .Bookmarks }} bookmarks</span>
|
|
|
|
<br />
|
|
|
|
<small>{{ .Date }}</small>
|
|
|
|
|
2023-05-18 15:03:21 +00:00
|
|
|
<a href="/user/{{ $parent.Artist.ID }}" class="artwork-artist flex"><img src="{{ $parent.Artist.Avatar }}"
|
|
|
|
alt="{{ $parent.Artist.Name }}" class="artwork-artist-avatar border-rounded" />
|
|
|
|
{{ $parent.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-18 15:03:21 +00:00
|
|
|
<img data-src="{{ .Thumbnail }}" alt="{{ .Thumbnail }}" class="artwork-master-image lazy" />
|
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" }}
|