From 70311e4c94b04c29108d16f05f9b7119597ffc35 Mon Sep 17 00:00:00 2001 From: Harald Wolff Date: Tue, 26 Mar 2019 12:52:42 +0100 Subject: [PATCH] WIP --- DirectoryResource.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/DirectoryResource.cs b/DirectoryResource.cs index 8bd4314..b6ee06e 100644 --- a/DirectoryResource.cs +++ b/DirectoryResource.cs @@ -122,6 +122,12 @@ namespace ln.http.resources { return (current as TemplateResource).Template; } + + if (Container is TemplateProvider) + { + return (Container as TemplateProvider).FindTemplate(templatePath); + } + return null; }