aboutsummaryrefslogtreecommitdiff
path: root/mustache/src/Text/Mustache/Compile.hs
diff options
context:
space:
mode:
authorMirek Kratochvil <exa.exa@gmail.com>2023-05-27 20:21:15 +0200
committerMirek Kratochvil <exa.exa@gmail.com>2023-05-27 20:21:15 +0200
commit08742b6b310468ac5e6e09adb5a31d300c998411 (patch)
treef6caa335f6220769dee3737805e38021a18f3e8c /mustache/src/Text/Mustache/Compile.hs
parent73498534cfdccab95e580f8d6b121655d00e7578 (diff)
downloadreploy-08742b6b310468ac5e6e09adb5a31d300c998411.tar.gz
reploy-08742b6b310468ac5e6e09adb5a31d300c998411.tar.bz2
implement simple harmless "true check" to mustache
Diffstat (limited to 'mustache/src/Text/Mustache/Compile.hs')
-rw-r--r--mustache/src/Text/Mustache/Compile.hs1
1 files changed, 1 insertions, 0 deletions
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