{{- if !.IsUgoira }} {{- range index := .Images }} {{- if .Width != 0 && .Height != 0 }} {{- if .Width > .Height }}
{{- else }}
{{- end }} {{- else }} Page {{ index + 1 }} {{- end }} {{- end }} {{- else }}
{{- end }}
{{ .User.Name }}

{{ .Title }}

{{ .User.Name }}

{{- if isset(.BookmarkData) && LoggedIn }} {{- else }} {{- end }} {{- if .Liked && LoggedIn}} {{- else }} {{- end }}
View on pixiv.net {{- if .Description }}

{{- raw: parsePixivRedirect(.Description) }}

{{- end }}
{{- if .AiType == 2 }} AI-generated {{- end }} {{- range .Tags }} {* NOTE: early block to catch the R-18 tag *} {{- if isEmphasize(.Name) }} {{ .Name }} {{- end }} {{- end }} {{- range .Tags }} {{- if isEmphasize(.Name) }} {* Intentionally empty to not render anything to avoid duplication *} {{- else }} #{{ .Name }} {{- if .TranslatedName }} ({{ .TranslatedName }}){{- end }} {{- end }} {{- end }}
{{- .Views }}
{{- .Bookmarks }}
{{- .Likes }}
{{- parseTime: .Date }}
{{- if .Images[0].Width != 0 && .Images[0].Height != 0 }}
{{ .Images[0].Width }}x{{ .Images[0].Height }}
{{- end }}