diff --git a/src/components/PostList.astro b/src/components/PostList.astro index e384449..cfadfb1 100644 --- a/src/components/PostList.astro +++ b/src/components/PostList.astro @@ -5,11 +5,12 @@ import { sortBy } from "lodash-es"; import TagList from "./TagList.astro"; interface Props { - class: string; basePath: string; + /** Whether or not to include drafts in this list */ drafts?: "exclude" | "include" | "only"; filteredPosts?: Post[]; - timeFormat?: string; + class?: string | undefined; + timeFormat?: string | undefined; } type Post = CollectionEntry<"posts">; @@ -54,17 +55,17 @@ const sortedPosts = sortBy(allPosts, (post) => -post.data.date); return ( <> - - - - - +
+ + · + +
@@ -76,11 +77,11 @@ const sortedPosts = sortBy(allPosts, (post) => -post.data.date);