Commit 3fd4846
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
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments