-
Notifications
You must be signed in to change notification settings - Fork 497
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
had to comment out transcripts to get site running
- Loading branch information
Showing
4 changed files
with
17 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,24 @@ | ||
<!-- If you want to have a page title. Simply return { meta_title: 'new title', from any loader } same for description and OG image`--> | ||
<script lang="ts"> | ||
import social_banner from '$assets/syntax-banner.png'; | ||
import { page } from '$app/stores'; | ||
$: title = $page.data.meta_title ?? `Syntax - A Tasty Treats Podcast for Web Developers.`; | ||
$: description = | ||
$page.data.meta_description ?? | ||
`Full Stack Developers Wes Bos and Scott Tolinski dive deep into web development topics, explaining how they work and talking about their own experiences.`; | ||
$: image = $page.data.meta_image ?? social_banner; | ||
export let meta_description = `Full Stack Developers Wes Bos and Scott Tolinski dive deep into web development topics, explaining how they work and talking about their own experiences.`; | ||
export let meta_image = social_banner; | ||
export let meta_title = `Syntax - A Tasty Treats Podcast for Web Developers.`; | ||
</script> | ||
|
||
<svelte:head> | ||
<title>{title}</title> | ||
<title>{meta_title}</title> | ||
<meta name="theme-color" content="#000000" /> | ||
<meta property="og:type" content="website" /> | ||
|
||
<meta property="og:title" content={title} /> | ||
<meta property="twitter:title" content={title} /> | ||
<meta property="og:title" content={meta_title} /> | ||
<meta property="twitter:title" content={meta_title} /> | ||
|
||
<meta property="og:description" content={description} /> | ||
<meta name="description" content={description} /> | ||
<meta property="og:description" content={meta_description} /> | ||
<meta name="description" content={meta_description} /> | ||
|
||
<meta property="og:image" content={image} /> | ||
<meta property="og:image:secure_url" content={image} /> | ||
<meta property="twitter:image" content={image} /> | ||
<meta property="og:image" content={meta_image} /> | ||
<meta property="og:image:secure_url" content={meta_image} /> | ||
<meta property="twitter:image" content={meta_image} /> | ||
<meta property="twitter:card" content="summary_large_image" /> | ||
</svelte:head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters