Skip to content

Commit 783e7b1

Browse files
committed
fix FB seo
1 parent 5082ff5 commit 783e7b1

7 files changed

Lines changed: 1212 additions & 8 deletions

File tree

src/lib/lib/script-data.json

Lines changed: 1190 additions & 1 deletion
Large diffs are not rendered by default.

src/routes/help/index.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<script lang="ts">
2+
import { page } from '$app/stores'
3+
24
import Container from '@nick-mazuk/ui-svelte/src/utilities/container/container.svelte'
35
import Download from '@nick-mazuk/ui-svelte/src/elements/marketing-icon/download.svelte'
46
import Bug from '@nick-mazuk/ui-svelte/src/elements/marketing-icon/bug.svelte'
@@ -15,9 +17,10 @@
1517
title="Help"
1618
siteName="JW Lua Scripts"
1719
description="Use Finale faster than the blink of an eye. Simplify workflows to just one click. All for free, forever."
20+
canonicalUrl="{`https://${$page.host}/${$page.path}`}"
1821
openGraph="{{
1922
image: {
20-
src: luaLogo,
23+
src: `https://${$page.host}${luaLogo}`,
2124
width: 128,
2225
height: 128,
2326
},

src/routes/help/install/index.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<script lang="ts">
2+
import { page } from '$app/stores'
3+
24
import Container from '@nick-mazuk/ui-svelte/src/utilities/container/container.svelte'
35
import Apple from '@nick-mazuk/ui-svelte/src/elements/icon/apple.svelte'
46
import Windows from '@nick-mazuk/ui-svelte/src/elements/icon/windows.svelte'
@@ -13,9 +15,10 @@
1315
title="Install"
1416
siteName="JW Lua Scripts"
1517
description="Use Finale faster than the blink of an eye. Simplify workflows to just one click. All for free, forever."
18+
canonicalUrl="{`https://${$page.host}/${$page.path}`}"
1619
openGraph="{{
1720
image: {
18-
src: luaLogo,
21+
src: `https://${$page.host}${luaLogo}`,
1922
width: 128,
2023
height: 128,
2124
},

src/routes/help/install/mac.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<script lang="ts">
2+
import { page } from '$app/stores'
3+
24
import Seo from '@nick-mazuk/ui-svelte/src/utilities/seo/seo.svelte'
35
import Spacer from '@nick-mazuk/ui-svelte/src/utilities/spacer/spacer.svelte'
46
import AccordionGroup from '@nick-mazuk/ui-svelte/src/components/accordion/accordion-group/accordion-group.svelte'
@@ -11,9 +13,10 @@
1113
title="macOS Installation"
1214
siteName="JW Lua Scripts"
1315
description="Use Finale faster than the blink of an eye. Simplify workflows to just one click. All for free, forever."
16+
canonicalUrl="{`https://${$page.host}/${$page.path}`}"
1417
openGraph="{{
1518
image: {
16-
src: luaLogo,
19+
src: `https://${$page.host}${luaLogo}`,
1720
width: 128,
1821
height: 128,
1922
},

src/routes/help/install/windows.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<script lang="ts">
2+
import { page } from '$app/stores'
3+
24
import Seo from '@nick-mazuk/ui-svelte/src/utilities/seo/seo.svelte'
35
import Spacer from '@nick-mazuk/ui-svelte/src/utilities/spacer/spacer.svelte'
46
import AccordionGroup from '@nick-mazuk/ui-svelte/src/components/accordion/accordion-group/accordion-group.svelte'
@@ -11,9 +13,10 @@
1113
title="Windows Installation"
1214
siteName="JW Lua Scripts"
1315
description="Use Finale faster than the blink of an eye. Simplify workflows to just one click. All for free, forever."
16+
canonicalUrl="{`https://${$page.host}/${$page.path}`}"
1417
openGraph="{{
1518
image: {
16-
src: luaLogo,
19+
src: `https://${$page.host}${luaLogo}`,
1720
width: 128,
1821
height: 128,
1922
},

src/routes/index.svelte

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<script lang="ts">
2+
import { page } from '$app/stores'
23
import Button from '@nick-mazuk/ui-svelte/src/elements/button/button.svelte'
34
import Github from '@nick-mazuk/ui-svelte/src/elements/icon/github.svelte'
45
import Accordion from '@nick-mazuk/ui-svelte/src/components/accordion/accordion.svelte'
@@ -17,9 +18,10 @@
1718
title=""
1819
siteName="JW Lua Scripts"
1920
description="Use Finale faster than the blink of an eye. Simplify workflows to just one click. All for free, forever."
21+
canonicalUrl="{`https://${$page.host}/${$page.path}`}"
2022
openGraph="{{
2123
image: {
22-
src: luaLogo,
24+
src: `https://${$page.host}${luaLogo}`,
2325
width: 128,
2426
height: 128,
2527
},
@@ -39,7 +41,7 @@
3941
</p>
4042
<Spacer />
4143
<div class="flex justify-center">
42-
<Button href="/" size="large">View all scripts</Button>
44+
<Button href="/scripts" size="large">View all scripts</Button>
4345
</div>
4446
</section>
4547
<div class="py-16 bg-gray-100 border-t border-b mt-56">

src/routes/scripts.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,10 @@
8282
title="Scripts"
8383
siteName="JW Lua Scripts"
8484
description="Use Finale faster than the blink of an eye. Simplify workflows to just one click. All for free, forever."
85+
canonicalUrl="{`https://${$page.host}/${$page.path}`}"
8586
openGraph="{{
8687
image: {
87-
src: luaLogo,
88+
src: `https://${$page.host}${luaLogo}`,
8889
width: 128,
8990
height: 128,
9091
},

0 commit comments

Comments
 (0)