aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/blog/Post.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/blog/Post.ts b/src/lib/blog/Post.ts
index aa4c422..d5ac16b 100644
--- a/src/lib/blog/Post.ts
+++ b/src/lib/blog/Post.ts
@@ -10,6 +10,8 @@ export type PostMetadata<Parsed extends boolean = false> = {
created: Parsed extends true ? Date : string;
updated: Parsed extends true ? Date : string;
published: boolean | 'unlisted';
+ /** If false (defaults to true), author panel at the bottom of the page is hidden. This is the case for the clickbait article. */
+ authorpanel?: boolean;
};
export type Post<MetadataParsed extends boolean = false> = {
metadata: PostMetadata<MetadataParsed>;