fix(meta): config

This commit is contained in:
Reinaldy Rafli 2021-07-17 00:27:06 +07:00
parent d7a44b33ad
commit 3fd05e633a
7 changed files with 18 additions and 18 deletions

View File

@ -5,6 +5,20 @@
<link rel="icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="keywords" content="jokesbapak2, jokes, bapak2, indonesian, dad, jokes, api, rest" />
<meta name="author" content="Reinaldy Rafli" />
<meta name="theme-color" content="#f4a9f5" />
<meta name="publisher" content="https://jokesbapak2.pages.dev/" />
<meta property="og:image" content="https://jokesbapak2.pages.dev/social.jpg" />
<meta property="og:image:alt" content="Jokesbapak2 - Largest collection of Indonesian dad jokes" />
<meta property="og:image:secure_url" content="https://jokesbapak2.pages.dev/social.jpg" />
<meta property="og:image:width" content="1280" />
<meta property="og:image:height" content="640" />
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image:src" content="https://jokesbapak2.pages.dev/social.jpg" />
<meta name="twitter:image" content="https://jokesbapak2.pages.dev/social.jpg" />
<meta name="twitter:creator" content="Reinaldy Rafli" />
<link rel="icon" type="image/png" href="/favicon.png">
<link rel="icon" type="image/svg" href="/favicon.svg">
%svelte.head%

View File

@ -10,20 +10,7 @@
</script>
<svelte:head>
<meta name="author" content="Reinaldy Rafli" />
<meta name="theme-color" content="#f4a9f5" />
<meta name="publisher" content="https://jokesbapak2.pages.dev/" />
<meta property="og:image" content="https://jokesbapak2.pages.dev/social.jpg" />
<meta property="og:image:alt" content="Jokesbapak2 - Largest collection of Indonesian dad jokes" />
<meta property="og:image:secure_url" content="https://jokesbapak2.pages.dev/social.jpg" />
<meta property="og:image:width" content="1280" />
<meta property="og:image:height" content="640" />
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="object" />
<meta property="og:site_name" content={$_('meta.title')} />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image:src" content="https://jokesbapak2.pages.dev/social.jpg" />
<meta name="twitter:creator" content="Reinaldy Rafli" />
</svelte:head>
<div

View File

@ -8,6 +8,7 @@
<svelte:head>
<title>{$_('navigation.api')} - {$_('meta.title')}</title>
<meta name="title" content={$_('navigation.api') + '-' + $_('meta.title')} />
<meta name="twitter:title" content={$_('navigation.api') + '-' + $_('meta.title')} />
<meta property="og:title" content={$_('navigation.api') + '-' + $_('meta.title')} />
<link rel="canonical" href="https://jokesbapak2.pages.dev/api" />

View File

@ -6,6 +6,7 @@
<svelte:head>
<title>{$_('navigation.guide')} - {$_('meta.title')}</title>
<meta name="title" content={$_('navigation.guide') + '-' + $_('meta.title')} />
<meta name="twitter:title" content={$_('navigation.guide') + '-' + $_('meta.title')} />
<meta property="og:title" content={$_('navigation.guide') + '-' + $_('meta.title')} />
<link rel="canonical" href="https://jokesbapak2.pages.dev/guide" />

View File

@ -1,7 +1,3 @@
<script context="module">
export const prerender = true;
</script>
<script lang="ts">
import { _ } from 'svelte-i18n';
import { goto } from '$app/navigation';
@ -11,6 +7,7 @@
<svelte:head>
<title>{$_('meta.title')} - {$_('meta.tagline')}</title>
<meta name="title" content={$_('meta.title') + '-' + $_('meta.tagline')} />
<meta name="twitter:title" content={$_('meta.title') + '-' + $_('meta.tagline')} />
<meta property="og:title" content={$_('meta.title') + '-' + $_('meta.tagline')} />
<link rel="canonical" href="https://jokesbapak2.pages.dev/" />

View File

@ -4,6 +4,7 @@
<svelte:head>
<title>{$_('navigation.why')} - {$_('meta.title')}</title>
<meta name="title" content={$_('navigation.why') + '-' + $_('meta.title')} />
<meta name="twitter:title" content={$_('navigation.why') + '-' + $_('meta.title')} />
<meta property="og:title" content={$_('navigation.why') + '-' + $_('meta.title')} />
<link rel="canonical" href="https://jokesbapak2.pages.dev/why" />

View File

@ -28,7 +28,6 @@ const config = {
// default options are shown
pages: 'dist',
assets: 'dist',
fallback: '200.html',
}),
},
};