Export metadata and news

This commit is contained in:
Aditya Thakral 2021-08-11 18:56:57 -04:00
parent d15c5a0dd8
commit 484ebbad29
1 changed files with 2 additions and 2 deletions

View File

@ -8,13 +8,13 @@ import { serialize } from "next-mdx-remote/serialize";
const NEWS_PATH = path.join("content", "news");
const TERMS = ["winter", "spring", "fall"];
interface Metadata {
export interface Metadata {
author: string;
date: string;
}
export interface News {
content: MDXRemoteSerializeResult<Record<string, unknown>>;
content: MDXRemoteSerializeResult;
metadata: Metadata;
}