mirror of
https://github.com/pesde-pkg/pesde.git
synced 2025-05-04 02:23:51 +01:00
feat(website): metadata + case insensitivity
This commit is contained in:
parent
b49c3844f9
commit
d11bdc773c
2 changed files with 14 additions and 2 deletions
|
@ -32,8 +32,8 @@
|
|||
? undefined
|
||||
: (dependencyInfo.target ?? $page.params.target ?? data.pkg.targets[0].kind)}
|
||||
{@const isOfficialRegistry = isWally
|
||||
? dependencyInfo.index === "https://github.com/UpliftGames/wally-index"
|
||||
: dependencyInfo.index === "https://github.com/daimond113/pesde-index"}
|
||||
? dependencyInfo.index.toLowerCase() === "https://github.com/upliftgames/wally-index"
|
||||
: dependencyInfo.index.toLowerCase() === "https://github.com/daimond113/pesde-index"}
|
||||
|
||||
<article
|
||||
class={`bg-card relative overflow-hidden rounded px-5 py-4 transition ${
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
import type { PageLoad } from "./$types"
|
||||
|
||||
export const load: PageLoad = async ({ parent }) => {
|
||||
const data = await parent()
|
||||
|
||||
return {
|
||||
meta: {
|
||||
title: `${data.pkg.name} - ${data.pkg.version} - dependencies`,
|
||||
description: data.pkg.description,
|
||||
},
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue