2024-10-17 13:53:59 -04:00
|
|
|
{{ with .Params.artist }}
|
|
|
|
<p><strong>Artist</strong></p>
|
|
|
|
{{ . }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .Params.arttags }}
|
|
|
|
<p><strong>{{ i18n "tags" }}</strong></p>
|
|
|
|
{{ $len := (len .) }}
|
|
|
|
{{ range $index, $element := . }}
|
|
|
|
<a href="/art/tags/{{ urlize . }}/"><strong>{{ strings.Title $element }}</strong></a>{{ if not (eq (add $index 1) $len) }},{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
2024-11-19 20:55:44 -05:00
|
|
|
{{ if or (or .Params.mastodon_url .Params.pixiv_url) .Params.bluesky_url }}
|
2024-10-17 13:53:59 -04:00
|
|
|
<p><strong>Also available on</strong></p>
|
|
|
|
|
|
|
|
<div style="margin: 10px; text-align: center">
|
2024-11-19 20:55:44 -05:00
|
|
|
|
2024-10-17 13:53:59 -04:00
|
|
|
{{ with .Params.mastodon_url }}
|
|
|
|
<a href="{{ . }}"><img class="symbolic-icon" alt="Mastodon icon" title="Mastodon" width="32" height="32" src="/icons/mastodon.svg"/></a>
|
|
|
|
{{ end }}
|
|
|
|
|
2024-11-19 20:55:44 -05:00
|
|
|
{{ with .Params.bluesky_url }}
|
|
|
|
<a href="{{ . }}"><img class="symbolic-icon" alt="Bluesky icon" title="Bluesky" width="32" height="32" src="/icons/bluesky.svg"/></a>
|
|
|
|
{{ end }}
|
|
|
|
|
2024-10-17 13:53:59 -04:00
|
|
|
{{ with .Params.pixiv_url }}
|
|
|
|
<a href="{{ . }}"><img class="symbolic-icon" alt="Pixiv icon" title="Pixiv" width="32" height="32" src="/icons/pixiv.svg"/></a>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .Params.program }}
|
|
|
|
<p><strong>Created with</strong></p>
|
|
|
|
<span>{{ . }}</span>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .Params.characters }}
|
|
|
|
<p><strong>Characters</strong></p>
|
2025-04-08 19:53:24 -04:00
|
|
|
<!-- characters are only localized in english -->
|
|
|
|
{{ $site := index (where $.Site.Sites "Language.Lang" "eq" "en") 0 }}
|
2024-10-17 13:53:59 -04:00
|
|
|
{{ range . }}
|
2025-04-08 19:53:24 -04:00
|
|
|
{{ with $site.GetPage "taxonomyTerm" (printf "characters/%s" .) }}
|
2024-10-17 13:53:59 -04:00
|
|
|
{{ $year := .Page.Title }}
|
2024-11-06 16:21:13 -05:00
|
|
|
<a class="character" href="{{ .RelPermalink }}"><img class="gallery-img" width=128 height=128 src="{{ $.Site.Params.image_host }}/chars/{{ urlize .Page.Slug }}.jpg"/><span>{{ $year }}<br></span></a>
|
2024-10-17 13:53:59 -04:00
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|