update <PageTitle /> component

This commit is contained in:
2022-01-12 12:56:24 -05:00
parent 3dfe85d5f6
commit e6ead77f5f
14 changed files with 58 additions and 66 deletions
+3 -1
View File
@@ -15,7 +15,9 @@ const Meta = ({ slug, date, title, htmlTitle = "", tags = [] }: NoteMetaType) =>
<DateIcon className={`icon ${styles.icon}`} />
</span>
<span title={format(new Date(date), "PPppp")}>
<Link href={`/notes/${slug}/`}>{format(new Date(date), "MMMM d, yyyy")}</Link>
<Link href={`/notes/${slug}/`}>
<a>{format(new Date(date), "MMMM d, yyyy")}</a>
</Link>
</span>
</div>
{tags.length > 0 && (