From 94b543c1d28743f85bee2342609ff2019f7ec7d8 Mon Sep 17 00:00:00 2001 From: Huynh Tan Date: Wed, 29 Jun 2022 14:25:40 +0700 Subject: Making sure attachment preview works with file level ID --- util/processOrg.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'util') diff --git a/util/processOrg.tsx b/util/processOrg.tsx index fa135a1..611c039 100644 --- a/util/processOrg.tsx +++ b/util/processOrg.tsx @@ -77,6 +77,7 @@ export const ProcessedOrg = (props: ProcessedOrgProps) => { .use(extractKeywords) .use(attachments, { idDir: attachDir || undefined, + useInheritance: true, }) .use(uniorgSlug) .use(uniorg2rehype, { useSections: true }) -- cgit v1.2.3