From 08742b6b310468ac5e6e09adb5a31d300c998411 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Sat, 27 May 2023 20:21:15 +0200 Subject: implement simple harmless "true check" to mustache --- mustache/src/Text/Mustache/Compile.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'mustache/src/Text/Mustache/Compile.hs') diff --git a/mustache/src/Text/Mustache/Compile.hs b/mustache/src/Text/Mustache/Compile.hs index 8079d6c..8e8b676 100644 --- a/mustache/src/Text/Mustache/Compile.hs +++ b/mustache/src/Text/Mustache/Compile.hs @@ -118,6 +118,7 @@ getPartials = join . fmap getPartials' getPartials' :: Node Text -> [FilePath] getPartials' (Partial _ p) = return p getPartials' (Section _ n) = getPartials n +getPartials' (ExistingSection _ n) = getPartials n getPartials' (InvertedSection _ n) = getPartials n getPartials' _ = mempty -- cgit v1.2.3