mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 07:33:07 +08:00
Update PostLayout.astro
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
---
|
||||
import Layout from "./Layout.astro";
|
||||
import config from "@/config";
|
||||
import Giscus from "@/components/Giscus.astro";
|
||||
|
||||
type Props = {
|
||||
title?: string;
|
||||
@@ -36,6 +35,7 @@ const structuredData = {
|
||||
|
||||
<Layout {title} {description} {ogImage} {canonicalURL}>
|
||||
<Fragment slot="head">
|
||||
<!-- Override og:type for article pages -->
|
||||
<meta property="og:type" content="article" />
|
||||
|
||||
{
|
||||
@@ -63,5 +63,4 @@ const structuredData = {
|
||||
</Fragment>
|
||||
|
||||
<slot />
|
||||
<Giscus />
|
||||
</Layout>
|
||||
|
||||
Reference in New Issue
Block a user