diff --git a/src/constants/constants.ts b/src/constants/constants.ts index 896150d..ced347c 100644 --- a/src/constants/constants.ts +++ b/src/constants/constants.ts @@ -15,3 +15,5 @@ export const MAIN_PANEL_OVERLAPS_BANNER_HEIGHT = 3.5; // Page width: rem export const PAGE_WIDTH = 75; + +export const UNCATEGORIZED = null;import { type BlogPostData } from "../types/config"; \ No newline at end of file diff --git a/src/utils/content-utils.ts b/src/utils/content-utils.ts index e57e054..7ed2916 100644 --- a/src/utils/content-utils.ts +++ b/src/utils/content-utils.ts @@ -2,6 +2,7 @@ import { type CollectionEntry, getCollection } from "astro:content"; import I18nKey from "@i18n/i18nKey"; import { i18n } from "@i18n/translation"; import { getCategoryUrl } from "@utils/url-utils.ts"; +import { type BlogPostData } from "../types/config"; // // Retrieve posts and sort them by publication date async function getRawSortedPosts() {