refactor: ♻️ move gallery data out of content pages and into json data file
This commit is contained in:
parent
9477160d92
commit
0b9a604b92
3 changed files with 76 additions and 76 deletions
|
@ -2,53 +2,6 @@
|
|||
eleventyNavigation:
|
||||
key: Anatomy
|
||||
order: 2
|
||||
gallery: [
|
||||
{
|
||||
alt: Sebin looking aloof (but chill),
|
||||
artist: Usurp,
|
||||
href: https://bsky.app/profile/usurpthem.bsky.social
|
||||
},
|
||||
{
|
||||
alt: Sebin getting ready to lift,
|
||||
artist: Ziva,
|
||||
href: https://bsky.app/profile/zivamonstr.bsky.social
|
||||
},
|
||||
{
|
||||
alt: Sebin after a heavy sesh,
|
||||
artist: Rei,
|
||||
href: https://bsky.app/profile/purpledragonrei.bsky.social
|
||||
},
|
||||
{
|
||||
alt: Sebin bringing out the big guns,
|
||||
artist: tandragonsynth,
|
||||
href: https://www.furaffinity.net/user/tandragonsynth
|
||||
},
|
||||
{
|
||||
alt: Sebin flexing,
|
||||
artist: Darknaig,
|
||||
href: https://bsky.app/profile/darknaig.bsky.social
|
||||
},
|
||||
{
|
||||
alt: Sebin showing off the goods,
|
||||
artist: CronoLM,
|
||||
href: https://bsky.app/profile/cronolm.bsky.social
|
||||
},
|
||||
{
|
||||
alt: Sebin soaping up,
|
||||
artist: (o)reo,
|
||||
href: https://bsky.app/profile/oreowoof.bsky.social
|
||||
},
|
||||
{
|
||||
alt: Sebin at the beach,
|
||||
artist: WolfieCanem,
|
||||
href: https://bsky.app/profile/wolfiecanem.bsky.social
|
||||
},
|
||||
{
|
||||
alt: Sebin flexing,
|
||||
artist: sabertoofs,
|
||||
href: https://bsky.app/profile/sabertoofs.bsky.social
|
||||
}
|
||||
]
|
||||
---
|
||||
|
||||
<ref-img
|
||||
|
@ -140,10 +93,10 @@ An assortment of additional references how Sebin can be drawn.
|
|||
<ref-gallery>
|
||||
<ref-img webc:for="ref of [...Array(9).keys()]"
|
||||
:@src="`ref-muscle-${ref + 1}.png`"
|
||||
:@alt="$data.gallery[ref].alt"
|
||||
:@alt="$data.galleryMuscle[ref].alt"
|
||||
:@width="[500, 1000]"
|
||||
:@href="$data.gallery[ref].href"
|
||||
:@artist="$data.gallery[ref].artist"
|
||||
:@href="$data.galleryMuscle[ref].href"
|
||||
:@artist="$data.galleryMuscle[ref].artist"
|
||||
:@char="$data.firstName.toLowerCase()"
|
||||
:@dropshadow="false"
|
||||
></ref-img>
|
||||
|
|
|
@ -2,28 +2,6 @@
|
|||
eleventyNavigation:
|
||||
key: Clothing
|
||||
order: 5
|
||||
gallery: [
|
||||
{
|
||||
alt: Sebin's casual outfit,
|
||||
artist: coffeerelated,
|
||||
href: https://bsky.app/profile/sulyyasprings.bsky.social
|
||||
},
|
||||
{
|
||||
alt: Sebin's cold weather outfit,
|
||||
artist: Lara Belém,
|
||||
href: https://bsky.app/profile/la-scarabie.bsky.social
|
||||
},
|
||||
{
|
||||
alt: Sebin's workout attire,
|
||||
artist: Atlas,
|
||||
href: https://twitter.com/turquoize_art
|
||||
},
|
||||
{
|
||||
alt: Sebin in his favorite boxers,
|
||||
artist: Fern,
|
||||
href: https://bsky.app/profile/thenamelesshare.bsky.social
|
||||
}
|
||||
]
|
||||
---
|
||||
|
||||
Sebin knows how to dress!
|
||||
|
@ -31,11 +9,11 @@ Sebin knows how to dress!
|
|||
<ref-gallery>
|
||||
<ref-img webc:for="ref of Array(4).keys()"
|
||||
:@src="`ref-clothes-${ref + 1}.png`"
|
||||
:@alt="$data.gallery[ref].alt"
|
||||
:@href="$data.gallery[ref].href"
|
||||
:@alt="$data.galleryClothing[ref].alt"
|
||||
:@href="$data.galleryClothing[ref].href"
|
||||
:@width="[500, 1000]"
|
||||
:@char="$data.firstName.toLowerCase()"
|
||||
:@artist="$data.gallery[ref].artist"
|
||||
:@artist="$data.galleryClothing[ref].artist"
|
||||
:@dropshadow="false"
|
||||
></ref-img>
|
||||
</ref-gallery>
|
||||
|
|
|
@ -1,3 +1,72 @@
|
|||
{
|
||||
"layout": "character.webc"
|
||||
"layout": "character.webc",
|
||||
"galleryMuscle": [
|
||||
{
|
||||
"alt": "Sebin looking aloof (but chill)",
|
||||
"artist": "Usurp",
|
||||
"href": "https://bsky.app/profile/usurpthem.bsky.social"
|
||||
},
|
||||
{
|
||||
"alt": "Sebin getting ready to lift",
|
||||
"artist": "Ziva",
|
||||
"href": "https://bsky.app/profile/zivamonstr.bsky.social"
|
||||
},
|
||||
{
|
||||
"alt": "Sebin after a heavy sesh",
|
||||
"artist": "Rei",
|
||||
"href": "https://bsky.app/profile/purpledragonrei.bsky.social"
|
||||
},
|
||||
{
|
||||
"alt": "Sebin bringing out the big guns",
|
||||
"artist": "tandragonsynth",
|
||||
"href": "https://www.furaffinity.net/user/tandragonsynth"
|
||||
},
|
||||
{
|
||||
"alt": "Sebin flexing",
|
||||
"artist": "Darknaig",
|
||||
"href": "https://bsky.app/profile/darknaig.bsky.social"
|
||||
},
|
||||
{
|
||||
"alt": "Sebin showing off the goods",
|
||||
"artist": "CronoLM",
|
||||
"href": "https://bsky.app/profile/cronolm.bsky.social"
|
||||
},
|
||||
{
|
||||
"alt": "Sebin soaping up",
|
||||
"artist": "(o)reo",
|
||||
"href": "https://bsky.app/profile/oreowoof.bsky.social"
|
||||
},
|
||||
{
|
||||
"alt": "Sebin at the beach",
|
||||
"artist": "WolfieCanem",
|
||||
"href": "https://bsky.app/profile/wolfiecanem.bsky.social"
|
||||
},
|
||||
{
|
||||
"alt": "Sebin flexing",
|
||||
"artist": "sabertoofs",
|
||||
"href": "https://bsky.app/profile/sabertoofs.bsky.social"
|
||||
}
|
||||
],
|
||||
"galleryClothing": [
|
||||
{
|
||||
"alt": "Sebin's casual outfit",
|
||||
"artist": "coffeerelated",
|
||||
"href": "https://bsky.app/profile/sulyyasprings.bsky.social"
|
||||
},
|
||||
{
|
||||
"alt": "Sebin's cold weather outfit",
|
||||
"artist": "Lara Belém",
|
||||
"href": "https://bsky.app/profile/la-scarabie.bsky.social"
|
||||
},
|
||||
{
|
||||
"alt": "Sebin's workout attire",
|
||||
"artist": "Atlas",
|
||||
"href": "https://twitter.com/turquoize_art"
|
||||
},
|
||||
{
|
||||
"alt": "Sebin in his favorite boxers",
|
||||
"artist": "Fern",
|
||||
"href": "https://bsky.app/profile/thenamelesshare.bsky.social"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue