diff options
Diffstat (limited to 'src/components/blog/Masthead.astro')
| -rw-r--r-- | src/components/blog/Masthead.astro | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/components/blog/Masthead.astro b/src/components/blog/Masthead.astro index e7b3ea9..7a50d8a 100644 --- a/src/components/blog/Masthead.astro +++ b/src/components/blog/Masthead.astro @@ -6,13 +6,11 @@ import { t } from "@/i18n/translations"; interface Props { content: CollectionEntry<"post">; - readingTime: string; language?: string | undefined; } const { content: { data }, - readingTime, language, } = Astro.props; @@ -41,10 +39,7 @@ const dateTimeOptions: Intl.DateTimeFormatOptions = { </h1> <div class="flex flex-wrap items-center gap-x-3 gap-y-2"> <p class="font-semibold"> - <FormattedDate date={data.publishDate} dateTimeOptions={dateTimeOptions} locale={language} /> /{ - " " - } - {readingTime} + <FormattedDate date={data.publishDate} dateTimeOptions={dateTimeOptions} locale={language} /> </p> { data.updatedDate && ( |
