mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-21 01:41:19 -04:00
refactor .js files to ES modules where possible
This commit is contained in:
@@ -2,7 +2,7 @@ import { NextSeo } from "next-seo";
|
||||
import Content from "../../components/Content";
|
||||
import PostsList from "../../components/PostsList";
|
||||
import { getAllPosts } from "../../lib/helpers/posts";
|
||||
import { authorName } from "../../lib/config";
|
||||
import config from "../../lib/config";
|
||||
import type { GetStaticProps, InferGetStaticPropsType } from "next";
|
||||
import type { PostsByYear } from "../../types";
|
||||
|
||||
@@ -11,7 +11,7 @@ const Notes = ({ notesByYear }: InferGetStaticPropsType<typeof getStaticProps>)
|
||||
<>
|
||||
<NextSeo
|
||||
title="Notes"
|
||||
description={`Recent posts by ${authorName}.`}
|
||||
description={`Recent posts by ${config.authorName}.`}
|
||||
openGraph={{
|
||||
title: "Notes",
|
||||
}}
|
||||
|
Reference in New Issue
Block a user