{{ define "artworks_noscript" }} trpic {{ "base" | .RenderStyle }} {{ "gallery" | .RenderStyle }}
{{ "header" | .RenderStyle }} trpic 浏览进度 ({{ .Viewed }}/{{ .Total }}) 以 {{ .Sort }} 排序 无 JS 模式 {{ if not (eq .Sort "random") }} {{ if gt .Offset 0 }}上一页{{ else }}上一页{{ end }} {{ if not (ge .Viewed .Total) }}下一页{{ else }}下一页{{ end }} {{ end }}
{{range $artIndex, $art := .Artworks }} {{ $file := index $art.Edges.Files 0 }} {{ $src := printf "/files/%d.%s" $file.ID $file.Ext }} {{ if $file.Thumbed }}{{ $src = printf "/thumbnails/%d.jpg" $file.ID }}{{ end }}
{{if gt (len $art.Edges.Socials) 0}}

{{(index $art.Edges.Socials 0).DisplayName}}

{{end}} {{if gt (len $art.Edges.Files) 1}}

{{len $art.Edges.Files}} pic

{{end}}
trpic_artwork_{{$art.ID}}_{{$file.ID}}
{{end}}
{{ end }}