I've been lied to this whole and Svelte doe NOT update the title if you set it with svelte:head.

main
Zed A. Shaw 2 years ago
parent 4398649ebe
commit a48b54df9c
  1. 1
      client/components/SEOTricks.svelte
  2. 1
      rendered/src/template.html

@ -37,6 +37,7 @@
</script>
<svelte:head>
<title>{ og.title }</title>
<meta name="description" content={ og.description }>
<!--OG Spec for LinkedIn/Facebook/Others -->
{#each Object.keys(og) as key}

@ -1,7 +1,6 @@
<!doctype html>
<html lang="en">
<head>
<title>The Bandolier: A Learn JavaScript the Hard Way Project</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="icon" type="image/png" href="/favicon.png" />

Loading…
Cancel
Save