Skip to content

Commit 3fd4846

Browse files
authored
Change protocol vault page metadata title to "vaults and yields" (#1291)
## Why The protocol vault pages (e.g. `/trading-view/vaults/protocols/ember`) used the metadata title `<Protocol> vault comparison`. The desired wording is `<Protocol> vaults and yields`, which better reflects the page content and improves SEO/social sharing metadata. ## Lessons learnt The metadata `title` on `[protocol=slug]/+page.svelte` is a single shared `$derived` template that also feeds the OpenGraph, Twitter, and JSON-Ld tags. Changing it updates the title for every protocol page consistently, not just one protocol. ## Summary - Changed the derived metadata title template from `${protocolName} vault comparison` to `${protocolName} vaults and yields` in `src/routes/trading-view/vaults/protocols/[protocol=slug]/+page.svelte`.
1 parent 97b18c0 commit 3fd4846

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/routes/trading-view/vaults/protocols/[protocol=slug]

src/routes/trading-view/vaults/protocols/[protocol=slug]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
.finally(() => (loading = false));
2828
});
2929
30-
let title = $derived(`${protocolName} vault comparison`);
30+
let title = $derived(`${protocolName} vaults and yields`);
3131
let description = $derived(protocolMetadata?.short_description ?? `Top stablecoin vaults on ${protocolName}`);
3232
let pageUrl = $derived(new URL(page.url.pathname, page.url.origin).href);
3333
let logoUrl = $derived.by(() => {

0 commit comments

Comments
 (0)