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 NEWS_PATH = path.join("content", "news");
|
||||||
const TERMS = ["winter", "spring", "fall"];
|
const TERMS = ["winter", "spring", "fall"];
|
||||||
|
|
||||||
interface Metadata {
|
export interface Metadata {
|
||||||
author: string;
|
author: string;
|
||||||
date: string;
|
date: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface News {
|
export interface News {
|
||||||
content: MDXRemoteSerializeResult<Record<string, unknown>>;
|
content: MDXRemoteSerializeResult;
|
||||||
metadata: Metadata;
|
metadata: Metadata;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue