Export metadata and news
This commit is contained in:
parent
d15c5a0dd8
commit
484ebbad29
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue