aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/nuldoc/nuldoc-src/generators/post.ts
diff options
context:
space:
mode:
Diffstat (limited to 'services/nuldoc/nuldoc-src/generators/post.ts')
-rw-r--r--services/nuldoc/nuldoc-src/generators/post.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/nuldoc/nuldoc-src/generators/post.ts b/services/nuldoc/nuldoc-src/generators/post.ts
index 11a3ce8..2f466b9 100644
--- a/services/nuldoc/nuldoc-src/generators/post.ts
+++ b/services/nuldoc/nuldoc-src/generators/post.ts
@@ -1,7 +1,7 @@
import { join } from "@std/path";
import PostPage from "../pages/PostPage.ts";
import { Config } from "../config.ts";
-import { Document } from "../djot/document.ts";
+import { Document } from "../markdown/document.ts";
import { Page } from "../page.ts";
import { Date, Revision } from "../revision.ts";
@@ -41,7 +41,7 @@ export async function generatePostPage(
const cwd = Deno.cwd();
const contentDir = join(cwd, config.locations.contentDir);
const destFilePath = join(
- doc.sourceFilePath.replace(contentDir, "").replace(".dj", ""),
+ doc.sourceFilePath.replace(contentDir, "").replace(".md", ""),
"index.html",
);
return {