From 2d083d89180df6135a922989fb07eb3c295656eb Mon Sep 17 00:00:00 2001 From: sup39 Date: Fri, 4 Nov 2022 22:05:14 +0900 Subject: [PATCH] add Footer, site name --- components/Footer.tsx | 6 +++--- components/MDXRoot.tsx | 10 +++++++--- components/NavHeader.tsx | 4 +++- package.json | 2 +- supMDX-env.d.ts | 7 +++++-- supMDX.yml | 6 ++++-- 6 files changed, 23 insertions(+), 12 deletions(-) diff --git a/components/Footer.tsx b/components/Footer.tsx index da64091..7321a86 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -1,10 +1,10 @@ import config from '#config'; export default function Footer() { - const {startYear: year0, siteAuthor} = config; const year = new Date().getFullYear(); + const {site: {startYear: year0 = year, author} = {}} = config; - return