summaryrefslogtreecommitdiff
path: root/examples/framework-svelte
diff options
context:
space:
mode:
authorGravatar Caleb Jasik <calebjasik@jasik.xyz> 2021-08-23 15:08:20 -0500
committerGravatar GitHub <noreply@github.com> 2021-08-23 15:08:20 -0500
commit2fd004dcd99c09fc8eae423c24b31313568f039f (patch)
treeeb41923e718e63eea6ec3d40084e377a88b534e7 /examples/framework-svelte
parent3963cef96378cdb464499dd5d878077544849e22 (diff)
downloadastro-2fd004dcd99c09fc8eae423c24b31313568f039f.tar.gz
astro-2fd004dcd99c09fc8eae423c24b31313568f039f.tar.zst
astro-2fd004dcd99c09fc8eae423c24b31313568f039f.zip
Add a `titleClosure` to the `HeadSEO.astro` component (#1140)
* Testing out adding a `titleClosure` to the `HeadSEO.astro` component I think the api needs a bit of improvement, but the basic idea is you can pass this in to a published astro component for specifying how you want it to format your title! * Refactor to make it pretty * Rename the `titleClosure()` prop to `formatTitle()` to be more clear * Use title, with site title as the fallback (#1143) See og:title guidance (https://developers.facebook.com/docs/sharing/webmasters/) Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
Diffstat (limited to 'examples/framework-svelte')
0 files changed, 0 insertions, 0 deletions