mirror of
https://github.com/CompeyDev/blog.devcomp.xyz.git
synced 2024-12-12 04:40:41 +00:00
Change title and description tag contents
This commit is contained in:
parent
dac1f75445
commit
a1aea63099
1 changed files with 3 additions and 3 deletions
|
@ -85,19 +85,19 @@ const siteLang = siteConfig.lang.replace("_", "-");
|
||||||
<title>{pageTitle}</title>
|
<title>{pageTitle}</title>
|
||||||
|
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="description" content={description || pageTitle}>
|
<meta name="description" content={title ?? siteConfig.title}>
|
||||||
<meta name="author" content={profileConfig.name}>
|
<meta name="author" content={profileConfig.name}>
|
||||||
|
|
||||||
<meta property="og:site_name" content={siteConfig.title}>
|
<meta property="og:site_name" content={siteConfig.title}>
|
||||||
<meta property="og:url" content={Astro.url}>
|
<meta property="og:url" content={Astro.url}>
|
||||||
<meta property="og:title" content={pageTitle}>
|
<meta property="og:title" content={pageTitle}>
|
||||||
<meta property="og:description" content={description || pageTitle}>
|
<meta property="og:description" content={description}>
|
||||||
<meta property="og:image" content={banner}>
|
<meta property="og:image" content={banner}>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<meta property="twitter:url" content={Astro.url}>
|
<meta property="twitter:url" content={Astro.url}>
|
||||||
<meta name="twitter:title" content={pageTitle}>
|
<meta name="twitter:title" content={pageTitle}>
|
||||||
<meta name="twitter:description" content={description || pageTitle}>
|
<meta name="twitter:description" content={description ?? pageTitle}>
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width" />
|
||||||
<meta name="generator" content={Astro.generator} />
|
<meta name="generator" content={Astro.generator} />
|
||||||
|
|
Loading…
Reference in a new issue