|
1 | 1 | <script> |
2 | 2 | //import favicon from '$lib/assets/favicon.svg'; |
3 | | - import social from '/assets/social-image-og.png'; |
| 3 | + //import social from 'assets/social-image-og.png'; |
4 | 4 | import '../styles/style.css'; |
5 | 5 |
|
6 | 6 | const social_description = "See when the U.S. Census Bureau adds or removes datasets."; |
7 | 7 | const page_title = "Tracking Census Dataset Changes"; |
8 | | - const canoncal_url = "https://www.hrecht.com/census-api-datasets/"; |
| 8 | + const canonical_url = "https://www.hrecht.com/census-api-datasets/"; |
| 9 | + const social_image = canonical_url + "assets/social-image-og.png"; |
9 | 10 |
|
10 | 11 | let { children } = $props(); |
11 | 12 | </script> |
12 | 13 |
|
13 | 14 | <svelte:head> |
14 | 15 | <!--link rel="icon" href={favicon} /--> |
15 | 16 |
|
16 | | - <link rel="canonical" href={canoncal_url}> |
| 17 | + <link rel="canonical" href={canonical_url}> |
17 | 18 |
|
18 | 19 | <meta name="description" content={social_description}> |
19 | 20 | <meta name="author" content="Hannah Recht"> |
20 | 21 | <meta name="news_keywords" content="census, data, federal government, census api, api"> |
21 | 22 | <meta property="og:title" content={page_title}> |
22 | 23 | <meta property="og:site_name" content="Hannah Recht"> |
23 | | - <meta property="og:url" content={canoncal_url}> |
| 24 | + <meta property="og:url" content={canonical_url}> |
24 | 25 | <meta property="og:description" content={social_description}> |
25 | 26 | <meta property="og:type" content="article"> |
26 | 27 | <meta property="og:locale" content="en_US"> |
27 | | - <meta property="og:image" content={social}> |
| 28 | + <meta property="og:image" content={social_image}> |
28 | 29 | <meta property="og:image:type" content="image/png"> |
29 | 30 | <meta property="og:image:width" content="1200"> |
30 | 31 | <meta property="og:image:height" content="630"> |
31 | 32 | <meta name="twitter:card" content="summary_large_image"> |
32 | | - <meta name="twitter:site" content={canoncal_url}> |
| 33 | + <meta name="twitter:site" content={canonical_url}> |
33 | 34 | <meta name="twitter:creator" content="@hannah_recht"> |
34 | 35 | <meta name="twitter:title" content={page_title}> |
35 | 36 | <meta name="twitter:description" content={social_description}> |
36 | | - <meta name="twitter:image:src" content={social}> |
| 37 | + <meta name="twitter:image:src" content={social_image}> |
37 | 38 | <meta name="robots" content="max-image-preview:large"> |
38 | 39 |
|
39 | 40 | <title>{page_title}</title> |
|
0 commit comments