From 9171f381886e7bfff541fe4aac4881da41879b2d Mon Sep 17 00:00:00 2001 From: Philipp Temminghoff Date: Fri, 22 Sep 2023 17:15:44 +0200 Subject: [PATCH] fix: Use PackageLoader instead of FileSystemLoader --- mknodes/utils/jinjahelpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mknodes/utils/jinjahelpers.py b/mknodes/utils/jinjahelpers.py index 5f1994db..0a18fd4c 100644 --- a/mknodes/utils/jinjahelpers.py +++ b/mknodes/utils/jinjahelpers.py @@ -20,7 +20,7 @@ ) -resources_loader = jinja2.FileSystemLoader(searchpath="mknodes/resources") +resources_loader = jinja2.PackageLoader("mknodes", "resources") docs_loader = jinja2.FileSystemLoader(searchpath="docs/") resource_loader = jinja2.ChoiceLoader([resources_loader, docs_loader])