feat: add artist credit for profile picture

This commit is contained in:
Sebin Nyshkim 2025-08-02 21:42:47 +02:00
parent deceea3071
commit b0b745b2eb
Signed by: SebinNyshkim
SSH key fingerprint: SHA256:LG1WHMySL/4iW/Yci+0eHgbf0te5beRiLlmyoY8E5D0
5 changed files with 43 additions and 5 deletions

View file

@ -21,6 +21,9 @@ layout: base.webc
:width="[100, 200, 300, 400, 500, 600]"
sizes="(min-width: 120em) 250px, (min-width: 64em) 200px, 100px"
></eleventy-image>
<template webc:nokeep slot="credit">
&copy; <a :href="$data.avatar.href" target="_blank" @text="$data.avatar.artist"></a>
</template>
<template webc:nokeep slot="name" @text="fullName"></template>
<template webc:nokeep slot="species" @text="species"></template>
<traits :@traits="$data.getTraits()"></traits>