2023-05-14 12:30:03 +00:00
|
|
|
<div class="container">
|
|
|
|
<div class="artwork-page">
|
|
|
|
<div class="artwork-content">
|
|
|
|
<div class="artwork-images">
|
2023-06-12 12:33:26 +00:00
|
|
|
{{ range index := Illust.Images }}
|
|
|
|
<a href="{{ proxyImage(.Original) }}" target="_blank">
|
2023-06-13 12:22:59 +00:00
|
|
|
<img src="{{ proxyImage(.Large) }}" alt="Page {{ index }}" 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>
|
2023-06-12 12:33:26 +00:00
|
|
|
<h2>{{ Illust.Title }}</h2>
|
2023-06-13 12:22:59 +00:00
|
|
|
<p>{{ raw: Illust.Description }}</p>
|
2023-05-14 13:18:17 +00:00
|
|
|
|
2023-06-04 14:59:51 +00:00
|
|
|
<div class="artwork-tags">
|
2023-06-12 12:33:26 +00:00
|
|
|
{{ if Illust.AiType == 2 }}
|
2023-06-08 03:06:41 +00:00
|
|
|
<span class="artwork-tag-name emphasize">AI-generated</span>
|
2023-06-12 12:33:26 +00:00
|
|
|
{{ end }} {{ range Illust.Tags }} {{ if isEmphasize(.Name) }}
|
2023-06-04 14:59:51 +00:00
|
|
|
<span class="artwork-tag-name emphasize">{{ .Name }}</span>
|
|
|
|
{{ else }}
|
2023-06-13 12:22:59 +00:00
|
|
|
<a href="/tags/{{ .Name }}" class="artwork-tag-name">#{{ .Name }}</a><span class="artwork-tag-altname">{{
|
|
|
|
.TranslatedName }}</span>
|
2023-06-04 14:59:51 +00:00
|
|
|
{{ end }} {{ end }}
|
|
|
|
</div>
|
|
|
|
<br />
|
2023-06-13 12:26:24 +00:00
|
|
|
<span>{{ Illust.Views }} views | {{ Illust.Bookmarks }} bookmarks | {{
|
|
|
|
Illust.Likes }} likes</span>
|
2023-06-04 14:59:51 +00:00
|
|
|
<br />
|
2023-06-12 12:33:26 +00:00
|
|
|
<small>{{ Illust.Date }}</small>
|
2023-05-14 13:18:17 +00:00
|
|
|
|
2023-06-13 12:22:59 +00:00
|
|
|
<a href="/users/{{ Artist.ID }}" class="artwork-artist flex"><img src="{{ proxyImage(Artist.Avatar) }}"
|
|
|
|
alt="{{ Artist.Name }}" class="artwork-artist-avatar border-rounded" />
|
|
|
|
{{ Artist.Name }}</a>
|
2023-06-04 14:59:51 +00:00
|
|
|
<div class="thumbnail-container">
|
2023-06-12 12:33:26 +00:00
|
|
|
{{ range Artist.Artworks }}
|
2023-06-04 14:59:51 +00:00
|
|
|
<div class="artwork-thumbnail-small artwork-thumbnail">
|
2023-06-12 12:33:26 +00:00
|
|
|
{{ include "thumbnail-dt" . }}
|
2023-05-14 13:18:17 +00:00
|
|
|
</div>
|
2023-06-04 14:59:51 +00:00
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
<hr />
|
|
|
|
<h2>Comments</h2>
|
2023-06-12 12:33:26 +00:00
|
|
|
{{ range Comments }}
|
2023-06-04 14:59:51 +00:00
|
|
|
<div class="comment">
|
2023-06-13 12:22:59 +00:00
|
|
|
<img class="comment-avatar" src="{{ proxyImage(.Avatar) }}" alt="{{ .AuthorName }}" />
|
2023-06-04 14:59:51 +00:00
|
|
|
<div class="comment-context">
|
|
|
|
<b>{{ .AuthorName }}</b>
|
|
|
|
<p>
|
|
|
|
{{ if .Stamp }}
|
2023-06-13 12:22:59 +00:00
|
|
|
<img class="stamp" src="https://s.pximg.net/common/images/stamp/generated-stamps/{{ .Stamp }}_s.jpg"
|
|
|
|
alt="https://s.pximg.net/common/images/stamp/generated-stamps/{{ .Stamp }}_s.jpg" />
|
2023-06-12 12:33:26 +00:00
|
|
|
{{ else }} {{ raw: parseEmojis(.Context) }} {{ end }}
|
2023-06-04 14:59:51 +00:00
|
|
|
</p>
|
2023-05-14 12:30:03 +00:00
|
|
|
|
2023-06-04 14:59:51 +00:00
|
|
|
<small>{{ .Date }}</small>
|
2023-05-14 13:18:17 +00:00
|
|
|
</div>
|
2023-06-04 14:59:51 +00:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
2023-05-14 12:30:03 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-05-14 13:18:17 +00:00
|
|
|
<h2>Related works</h2>
|
2023-06-12 12:33:26 +00:00
|
|
|
<div>{{ include "small-tn" Related }}</div>
|
2023-05-14 12:30:03 +00:00
|
|
|
</div>
|