diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro index 51c3763..5268de8 100644 --- a/src/components/BaseHead.astro +++ b/src/components/BaseHead.astro @@ -7,6 +7,7 @@ const { description = "", image = null, url = null, + date = null, } = Astro.props; const imageUrl = image ? new URL(image, Astro.site).toString() : null; @@ -35,6 +36,8 @@ const imageUrl = image ? new URL(image, Astro.site).toString() : null; + {date && } + diff --git a/src/components/ShareSticky.vue b/src/components/ShareSticky.vue index c6a3923..76c69b4 100644 --- a/src/components/ShareSticky.vue +++ b/src/components/ShareSticky.vue @@ -15,27 +15,27 @@
diff --git a/src/components/section/TitleSection.astro b/src/components/section/TitleSection.astro index 55c4332..8ff693d 100644 --- a/src/components/section/TitleSection.astro +++ b/src/components/section/TitleSection.astro @@ -6,7 +6,7 @@ const { title } = Astro.props;