diff options
| author | Dawid Rycerz <dawid@rycerz.xyz> | 2026-01-13 20:06:15 +0100 |
|---|---|---|
| committer | Dawid Rycerz <dawid@rycerz.xyz> | 2026-01-13 20:06:15 +0100 |
| commit | b6e440699e9fca474869bf74ce09f2310f05c620 (patch) | |
| tree | a089f456a0e9ebb6f9f6b72370deb7eeb8a3e308 /src/components/blog/Masthead.astro | |
| parent | f8a4e00f89913b0c57ca016965f49efc26f4bff9 (diff) | |
Cleanup unused functionalities
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 && ( |
