-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dbf56e4
commit cfbc938
Showing
81 changed files
with
15,352 additions
and
15,451 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,20 +1,20 @@ | ||
import { defineConfig } from "astro/config"; | ||
import svelte from "@astrojs/svelte"; | ||
import { defineConfig } from 'astro/config'; | ||
import svelte from '@astrojs/svelte'; | ||
|
||
export default defineConfig({ | ||
// your configuration options here... | ||
// https://docs.astro.build/en/reference/configuration-reference/ | ||
site: "https://JonathonRP.github.io", | ||
integrations: [svelte()], | ||
vite: { | ||
server: { | ||
watch: { | ||
usePolling: true, | ||
}, | ||
}, | ||
}, | ||
experimental: { | ||
serverIslands: true, | ||
contentLayer: true, | ||
}, | ||
// your configuration options here... | ||
// https://docs.astro.build/en/reference/configuration-reference/ | ||
site: 'https://JonathonRP.github.io', | ||
integrations: [svelte()], | ||
vite: { | ||
server: { | ||
watch: { | ||
usePolling: true, | ||
}, | ||
}, | ||
}, | ||
experimental: { | ||
serverIslands: true, | ||
contentLayer: true, | ||
}, | ||
}); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<svelte:options runes /> | ||
<script lang="ts"> | ||
import website from "@/website.config"; | ||
import website from '@/website.config'; | ||
</script> | ||
|
||
<svelte:head> | ||
<meta name="theme-color" content={website.themeColor} /> | ||
<link rel="apple-touch-icon" href="/images/profile.png" /> | ||
<meta name="theme-color" content={website.themeColor} /> | ||
<link rel="apple-touch-icon" href="/images/profile.png" /> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,57 @@ | ||
<svelte:options runes /> | ||
<script lang="ts"> | ||
const { | ||
article = false, | ||
datePublished, | ||
lastUpdated, | ||
facebookAuthorPage = "", | ||
facebookPage = "", | ||
image, | ||
squareImage, | ||
metadescription, | ||
ogLanguage, | ||
pageTitle, | ||
siteTitle, | ||
url, | ||
}: { | ||
article: boolean; | ||
datePublished: string; | ||
lastUpdated: string; | ||
facebookAuthorPage?: string; | ||
facebookPage?: string; | ||
image: { url: string; alt: string }; | ||
squareImage: { url: string; alt: string }; | ||
metadescription: string; | ||
ogLanguage: string; | ||
pageTitle: string; | ||
siteTitle: string; | ||
url: string; | ||
} = $props(); | ||
const { | ||
article = false, | ||
datePublished, | ||
lastUpdated, | ||
facebookAuthorPage = '', | ||
facebookPage = '', | ||
image, | ||
squareImage, | ||
metadescription, | ||
ogLanguage, | ||
pageTitle, | ||
siteTitle, | ||
url, | ||
}: { | ||
article: boolean; | ||
datePublished: string; | ||
lastUpdated: string; | ||
facebookAuthorPage?: string; | ||
facebookPage?: string; | ||
image: { url: string; alt: string }; | ||
squareImage: { url: string; alt: string }; | ||
metadescription: string; | ||
ogLanguage: string; | ||
pageTitle: string; | ||
siteTitle: string; | ||
url: string; | ||
} = $props(); | ||
</script> | ||
|
||
<svelte:head> | ||
<meta property="og:site_name" content={siteTitle} /> | ||
<meta property="og:locale" content={ogLanguage} /> | ||
<meta property="og:url" content={url} /> | ||
<meta property="og:type" content={article ? "article" : "website"} /> | ||
<meta property="og:title" content={pageTitle} /> | ||
<meta property="og:description" content={metadescription} /> | ||
{#if image} | ||
<meta property="og:image" content={image.url} /> | ||
<meta property="og:image:width" content="1200" /> | ||
<meta property="og:image:height" content="627" /> | ||
<meta property="og:image:alt" content={image.alt} /> | ||
{/if} | ||
{#if squareImage} | ||
<meta property="og:image" content={squareImage.url} /> | ||
<meta property="og:image:width" content="400" /> | ||
<meta property="og:image:height" content="400" /> | ||
<meta property="og:image:alt" content={squareImage.alt} /> | ||
{/if} | ||
{#if article} | ||
<meta property="article:publisher" content={facebookPage} /> | ||
<meta property="article:author" content={facebookAuthorPage} /> | ||
<meta property="article:published_time" content={datePublished} /> | ||
<meta property="article:modified_time" content={lastUpdated} /> | ||
{/if} | ||
<meta property="og:site_name" content={siteTitle} /> | ||
<meta property="og:locale" content={ogLanguage} /> | ||
<meta property="og:url" content={url} /> | ||
<meta property="og:type" content={article ? 'article' : 'website'} /> | ||
<meta property="og:title" content={pageTitle} /> | ||
<meta property="og:description" content={metadescription} /> | ||
{#if image} | ||
<meta property="og:image" content={image.url} /> | ||
<meta property="og:image:width" content="1200" /> | ||
<meta property="og:image:height" content="627" /> | ||
<meta property="og:image:alt" content={image.alt} /> | ||
{/if} | ||
{#if squareImage} | ||
<meta property="og:image" content={squareImage.url} /> | ||
<meta property="og:image:width" content="400" /> | ||
<meta property="og:image:height" content="400" /> | ||
<meta property="og:image:alt" content={squareImage.alt} /> | ||
{/if} | ||
{#if article} | ||
<meta property="article:publisher" content={facebookPage} /> | ||
<meta property="article:author" content={facebookAuthorPage} /> | ||
<meta property="article:published_time" content={datePublished} /> | ||
<meta property="article:modified_time" content={lastUpdated} /> | ||
{/if} | ||
</svelte:head> |
Oops, something went wrong.